Click here to Skip to main content
15,891,864 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: A problem when I open file help with html format Pin
PavanPareta6-Jun-09 8:09
PavanPareta6-Jun-09 8:09 
QuestionEDB from C# in Windows Mobile Pin
vijaywithu26-May-09 19:09
vijaywithu26-May-09 19:09 
AnswerRe: EDB from C# in Windows Mobile Pin
efarr9-Jul-09 10:20
efarr9-Jul-09 10:20 
GeneralRe: EDB from C# in Windows Mobile Pin
Patrick Blackman14-Jan-10 10:19
professionalPatrick Blackman14-Jan-10 10:19 
QuestionGPS using GPRS for windows mobile PDA.....need addon feature ideas Pin
Vivek Vijayan26-May-09 7:59
Vivek Vijayan26-May-09 7:59 
AnswerRe: GPS using GPRS for windows mobile PDA.....need addon feature ideas Pin
Joel Ivory Johnson28-May-09 7:41
professionalJoel Ivory Johnson28-May-09 7:41 
GeneralRe: GPS using GPRS for windows mobile PDA.....need addon feature ideas Pin
feras khiami6-Jul-09 4:18
feras khiami6-Jul-09 4:18 
QuestionSelectionList.Selection.Value for asp.net mobile Pin
jaroho26-May-09 1:13
jaroho26-May-09 1:13 
Hi there,

I am developing an ASP.NET MOBILE using ASP.NET 2.0.
My page has a selectionList control from which i can select an item.
I want to test if the item i have selected using if statement and then display the result (add) to another control (tEXTBOXT)

After clicking the command button, ON postback i get error:Object reference not set to an instance of an object.
Below is my code:
//ASPX PAGE
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %>
<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<body>
    <mobile:Form id="Form1" runat="server">
<mobile:SelectionList ID="SelectionListTest" Alignment="Center" Runat="server" SelectType="DropDown">
<Item Text="Jakech" Value="Robert" />
<Item Text="WAP" Value="Mobile" />
</mobile:SelectionList>
<mobile:TextBox ID="ShowTextBox" Runat="server" Alignment="Center"></mobile:TextBox>
<mobile:Command ID="CommandShow" Runat="server" Alignment="Center" OnClick="OnClick_CommandShow">Show</mobile:Command>
    </mobile:Form>
</body>
</html>


//code Behind
protected void OnClick_CommandShow(object sender,EventArgs e)
    {
        if (SelectionListTest.Selection.Value == "Robert")
        {
            ShowTextBox.Text = SelectionListTest.Selection.Value;

        }
        
    }

Questionerror Msg:: Not enough storage is available to complete this operation. Pin
Le@rner25-May-09 20:29
Le@rner25-May-09 20:29 
AnswerRe: error Msg:: Not enough storage is available to complete this operation. Pin
Matt Holland27-May-09 6:06
Matt Holland27-May-09 6:06 
Questionimage.fromfile problem Pin
Nirmit Kavaiya23-May-09 21:22
professionalNirmit Kavaiya23-May-09 21:22 
AnswerRe: image.fromfile problem Pin
Joel Ivory Johnson28-May-09 7:43
professionalJoel Ivory Johnson28-May-09 7:43 
QuestionVB snippet Pin
Nirmit Kavaiya23-May-09 21:15
professionalNirmit Kavaiya23-May-09 21:15 
AnswerRe: VB snippet Pin
Joel Ivory Johnson26-May-09 12:07
professionalJoel Ivory Johnson26-May-09 12:07 
Questionstructure mapping for wm_copy_data Pin
sliver8020-May-09 4:01
sliver8020-May-09 4:01 
AnswerRe: structure mapping for wm_copy_data Pin
slumberparty29-May-09 3:29
slumberparty29-May-09 3:29 
Questionwhether there is another way to debug more quicky? C# ARM device Pin
zh.again19-May-09 23:08
zh.again19-May-09 23:08 
AnswerRe: whether there is another way to debug more quicky? C# ARM device Pin
Joel Ivory Johnson20-May-09 3:31
professionalJoel Ivory Johnson20-May-09 3:31 
GeneralRe: whether there is another way to debug more quicky? C# ARM device Pin
zh.again20-May-09 14:43
zh.again20-May-09 14:43 
QuestionTransparent Image Pin
Nirmit Kavaiya19-May-09 20:30
professionalNirmit Kavaiya19-May-09 20:30 
AnswerRe: Transparent Image Pin
mysparkle22-May-09 9:00
mysparkle22-May-09 9:00 
QuestionCustom ringtone on incominhg call Pin
cm pandian19-May-09 20:03
cm pandian19-May-09 20:03 
QuestionHow to identify that a Windows Mobile 2005 device has connected to the cradle ? Pin
E_Gold19-May-09 7:33
E_Gold19-May-09 7:33 
AnswerRe: How to identify that a Windows Mobile 2005 device has connected to the cradle ? Pin
Joel Ivory Johnson20-May-09 3:29
professionalJoel Ivory Johnson20-May-09 3:29 
QuestionIs it possible to run java programs on Windows CE ? Pin
E_Gold19-May-09 3:24
E_Gold19-May-09 3:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.