Last post Jul 07, 2009 06:35 AM by Bullonprowl
Jul 07, 2009 01:40 AM|rameshduraikannu|LINK
I am new in asp.net Mobile web forms, I don't know how to focus a particular textbox while page load any one Help me.
Jul 07, 2009 04:35 AM|s.sriram|LINK
Hope it helps.
Jul 07, 2009 04:36 AM|saurabh2k4mc095|LINK
write the code on the page load event
where TextBox1 is the id of the text box
Jul 07, 2009 05:10 AM|rameshduraikannu|LINK
Thank's for reply,
I tried this
TextBox1.focus() i got the following error.
A form tag with runat=server must exist on the Page to use SetFocus() or the Focus property.
I asked in Mobile Web form Textbox.
Jul 07, 2009 06:35 AM|Bullonprowl|LINK
Setfocus() or Focus() is not supported in Mobile Web Forms. It cannot be used in Mobile Web Forms.
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=113661 Check out the reply given here by Microsoft.