Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 02, 2012 05:35 PM by _Doug
Aug 01, 2012 10:10 PM|LINK
I have two DropDownLists. The first works ok, but the 2nd fails to fire on iPhone Safari.
Works ok on IE8, FireFox, and Chrome.
Here is the HTML and event handlers.
<!---------------- TOP CATEGORY DROPDOWNLIST ----------------> Select top category: <asp:DropDownList ID="TOP_CATEGORY"
runat="server" AutoPostBack="True" ToolTip="The top category of your prayer request. Anonymous prayer friends only see this and not your prayer details."
<br /> <asp:Label ID="SUB_CATEGORY_1_LABEL" runat="server" style="margin-left: 0px" Text="<br>
Select next category, if needed:" ToolTip="Select an optional 1st sub-category." Width="215px"></asp:Label>
<!--------------- SUB-CATEGORY DROPDOWNLIST 2 --------------------> <asp:DropDownList ID="SUB_CATEGORY_1" runat="server" AutoPostBack="True"
ToolTip="Optional next sub-category." Visible="False" Width="165px"> </asp:DropDownList>
Protected Sub TOP_CATEGORY_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TOP_CATEGORY.SelectedIndexChanged
Protected Sub SUB_CATEGORY_1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles SUB_CATEGORY_1.SelectedIndexChanged
Aug 02, 2012 02:48 AM|LINK
Doug, I have nothing to contribute on your question, but your thread sparked a question here.
I am working on a Webmatrix application, that is currently in early stages. At some point in the future I envision I might need mobile apps.
At least that was my thinking, until I read your thread.
Do I need mobile apps if I can present my information through a mobile browser? What is the benefit of mobile apps then?
Aug 02, 2012 05:32 PM|LINK
The main purpose of mobile apps is to make a lot of money for mobile app developers.
The main benefit of mobile app over mobile browser is easy-of-use for the user.
A web is a generalized user interface for any computer, where the mobile app is optimized exactly for the user experience at a particular mobile, such as the superlative iPhone.
Aug 02, 2012 05:35 PM|LINK
The problem was caused by mydropdownlist.focus(), which made the dropdownlist event not fire on iPhone, but work on all other browsers.
I removed this .focus() and everything is now hunkydory.
('hunkydory' is a silly term from the American rural past)