Dropdown List post back not working with mobil 6

Last post 06-29-2009 4:15 PM by mylu. 2 replies.

Sort Posts:

  • Dropdown List post back not working with mobil 6

    06-29-2009, 3:24 PM
    • Member
      3 point Member
    • mylu
    • Member since 07-31-2007, 6:12 PM
    • Posts 79

    Would anyone have a thought on why this function does not work on a Mobile 6 phone?

    Thanks!

     

  • Re: Dropdown List post back not working with mobil 6

    06-29-2009, 3:43 PM
    • Contributor
      5,624 point Contributor
    • RatheeshC
    • Member since 04-25-2008, 6:05 PM
    • Posts 1,198

    Hi,

    Try to set the AutoPostBack property to true in dropdown

    Thanks

    Thanks
    Ratheesh

    Please mark it as answer if it resolves your issue.
  • Re: Dropdown List post back not working with mobil 6

    06-29-2009, 4:15 PM
    • Member
      3 point Member
    • mylu
    • Member since 07-31-2007, 6:12 PM
    • Posts 79

    It is. It works fine in IE 8 on a desktop just not with mobile.

    Here's the code.


    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="TechList.aspx.vb" Inherits="TSDPortal_Default" %> <!<<<

    DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">html xmlns="http://www.w3.org/1999/xhtml">head runat="server">link href="~/styleSheet.css" rel="stylesheet" type="text/css" />
     <title></title> </
    <head>body> <form id="form1" runat="server">
     <div id="">
     </div>
    <div id="content"> <table cellpadding="0" cellspacing="0" style="width:100%;"> <tr>  <td width="100%">  &nbsp;<asp:SqlDataSource ID="TechListSqlData" runat="server" ConnectionString="<%$ ConnectionStrings:TigerpawConnectionString %>" SelectCommand="SELECT [RepName] FROM [reps] ORDER BY [RepName]">

    </asp:SqlDataSource> <asp:DropDownList ID="TechList" runat="server" AutoPostBack="True" DataSourceID="TechListSqlData" DataTextField="RepName" DataValueField="RepName"></asp:DropDownList>

     <br />

     <table style="width:100%;" cellpadding="0" cellspacing="0">
    <tr> <td>

    <asp:Label ID="UserName" runat="server" Text="Label" CssClass="black"></asp:Label></td>  <td>  </td> <td> 

    <asp:HyperLink ID="HyperLink1" runat="server" CssClass="black" NavigateUrl="SO' mce_href='/????.????.???/TSDportal/soupdate.aspx">SO'>http://????.????.???/TSDportal/soupdate.aspx">SO Update</asp:HyperLink>

     </td>  </tr>

     


    </table>  </td> </tr> <tr>
     <td>
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" DataKeyNames="SONumber" DataSourceID="MyCallsSqlData" Width="100%">

    <RowStyle CssClass="small" /> <Columns>

    <asp:BoundField DataField="AccountName" HeaderText="Account" SortExpression="AccountName" />

    <asp:HyperLinkField DataNavigateUrlFields="SONumber" DataNavigateUrlFormatString="~/TSDPortal/SODetail.aspx?SONumber={0}" DataTextField="SONumber" HeaderText="SO #" />

    <asp:BoundField DataField="Status" HeaderText="Status" SortExpression="Status" />

    <asp:BoundField DataField="DateOpened" HeaderText="Opened" SortExpression="DateOpened" DataFormatString="{0:d}" />

    </Columns>

    <HeaderStyle CssClass="small" HorizontalAlign="Left" />

     

    </asp:GridView>
     

     
    <asp:SqlDataSource ID="MyCallsSqlData" runat="server" ConnectionString="<%$ ConnectionStrings:TigerpawConnectionString %>" SelectCommand="SELECT [AccountName], [SONumber], [Status], [DateOpened] FROM [TSD_MyCalls_View] WHERE (([RepName] = @RepName) AND ([DateClosed] IS NULL)) ORDER BY [SONumber] DESC">
     

    <SelectParameters>

    <asp:ControlParameter ControlID="TechList" Name="RepName" PropertyName="SelectedValue" Type="String" />
    </SelectParameters>
    </asp:SqlDataSource>
     

    </td>
     
    /tr>
     
    <tr>

    <td>
    &nbsp;</td>
    </tr>
    </table>
    </div>

    </

    </

    </form>body>html>

     

Page 1 of 1 (3 items)