locked
How to set focus on mobile textbox control? RRS feed

  • Question

  • User-1896962098 posted

    Hello

    I am trying find a way to set focus on an asp .net v1.1 mobile textbox control. Please let me know how can I accomplish that.

    Thanks

    Harman 

    Thursday, May 4, 2006 3:43 PM

All replies

  • User-278257239 posted

    Have you tried to use the Focus( ) method?

    tbMyTextBox.Focus() should do the trick if you put it in the MyForm_Load() method.

     

    Ramius.

    Tuesday, May 9, 2006 8:47 AM
  • User-1896962098 posted
    There is no Focus() method for mobile controls. Writing Javascript  code is an option someone has suggested but it puts a limit on page not displaying on mobile devices without javascript capability. 
    Thursday, May 11, 2006 2:21 PM