vijay

vijay

  • NA
  • 43
  • 0

i need to selected value of DropDownList1 in mobile.net

Jun 3 2010 3:23 AM
hi

i have used following code in my application.

This code is on my page.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 need to selected value of  DropDownList1 on DropDownList1_SelectedIndexChanged event.

so any one please help me.

 

Answers (2)