locked
Set focus for textbox in mobile windows browser RRS feed

  • Question

  • User508149093 posted

    I'm developing a mobile application in ASP.NET and C#.

    The focus control does not work for windows mobile browser 5.0.

    QUESTION

    Does anyone have code for C# that can set the focus on a textbox for windows mobile 5.0 internet explorer? 

    Wednesday, April 21, 2010 1:14 PM

Answers

  • User-311685349 posted

    I'm guessing here

     

    document.getElementById('<%=TextBox.ClientID%>').focus(); 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, April 21, 2010 8:07 PM

All replies

  • User-311685349 posted

    I'm guessing here

     

    document.getElementById('<%=TextBox.ClientID%>').focus(); 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, April 21, 2010 8:07 PM
  • User508149093 posted

    That is an awesome guess!

    Thanks so much. 

    Wednesday, April 21, 2010 10:27 PM