T
test test
Hi,
How can I set focus to a particular textbox on an aspx page in vb code? My
problem is caused by the page updating when a user clicks a command button
and I execute code (like updating a price when you click "Calculate" button,
etc.). The button they click and the "Total" field is down toward the
bottom of the web page and when the page updates, it resets to the top like
you just opened the page.
I have searched on the "Focus" method and my compile says:
'focus' is not a member of 'System.Web.UI.Webcontrols.TextBox'.
My code just reads: Textbox1.focus()
Help.
How can I set focus to a particular textbox on an aspx page in vb code? My
problem is caused by the page updating when a user clicks a command button
and I execute code (like updating a price when you click "Calculate" button,
etc.). The button they click and the "Total" field is down toward the
bottom of the web page and when the page updates, it resets to the top like
you just opened the page.
I have searched on the "Focus" method and my compile says:
'focus' is not a member of 'System.Web.UI.Webcontrols.TextBox'.
My code just reads: Textbox1.focus()
Help.