vijay

vijay

  • NA
  • 43
  • 0

DropDownList1_SelectedIndexChanged in mobile.net

Jun 3 2010 9:02 AM
hi

i have used following code in my mobile web application.

This code is on my mobilepage.aspx

<mobile:Panel id="Panel1" runat="server">
    <mobile:DeviceSpecific id="DeviceSpecific1" runat="server">
            <Choice Filter="supportsJavaScript">
                  <ContentTemplate>
                        <asp:DropDownList id="DropDownList1" runat="server"
                            OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"
                          AutoPostBack="True">
                              <asp:ListItem Value="1">1</asp:ListItem>
                              <asp:ListItem Value="2">2</asp:ListItem>
                              <asp:ListItem Value="3">3</asp:ListItem>
                              <asp:ListItem Value="4">4</asp:ListItem>
                              <asp:ListItem Value="5">5</asp:ListItem>
                        </asp:DropDownList>
                  </ContentTemplate>
            </Choice>
   </mobile:DeviceSpecific>
</mobile:Panel>


This code is on my web.config

<configuration>
     <system.web>
        <deviceFilters>
                  <filter name="supportsJavaScript"  compare="javascript"   argument="true"/>
            </deviceFilters>
    </system.web>
</configuration>


i want ot
DropDownList1.Selectedvalue on DropDownList1_SelectedIndexChanged event. how can i do?


please help me.



Answers (2)