[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

(Ricardo)

5/13/2002 12:31:00 PM

Hi all,

i'm working in a Mobile Web Application and i have found a problem
when i want to capture an event (SelectedIndexChanged) of an
SelectionList control, this event it's only launch when i do click in
other control, as a command button.

aspx File:

<mobile:SelectionList ID="LstObjects" runat="server>
<Item Value..........>.....</Item>
<Item Value..........>.....</Item>
<Item Value..........>.....</Item>
</mobile:SelectionList>

C# code:

private void LstObjects_SelectedIndexChanged(object sender,
System.EventArgs e)
{
//my code here
}
Where is the problem??.

Thanks.

Ica
1 Answer

Ian A

5/16/2002 9:20:00 AM

0

That is how a selectionlist works - as the help on it explains. See if a
'List' control would do as an alternative.

Ian
"Ricardo" <ricardoq@avanade.com> wrote in message
news:568708fc.0205130123.198fde9b@posting.google.com...
> Hi all,
>
> i'm working in a Mobile Web Application and i have found a problem
> when i want to capture an event (SelectedIndexChanged) of an
> SelectionList control, this event it's only launch when i do click in
> other control, as a command button.
>
> aspx File:
>
> <mobile:SelectionList ID="LstObjects" runat="server>
> <Item Value..........>.....</Item>
> <Item Value..........>.....</Item>
> <Item Value..........>.....</Item>
> </mobile:SelectionList>
>
> C# code:
>
> private void LstObjects_SelectedIndexChanged(object sender,
> System.EventArgs e)
> {
> //my code here
> }
> Where is the problem??.
>
> Thanks.
>
> Ica