Problem with focus

Last post 12-31-2007 10:20 PM by MarkCummins. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-28-2007 11:35 AM

    Problem with focus

    Last couple of days i have been trying to put focus to my control when the page loads in my ASP.NET application but failed.I' ve tried all the methods like TextBox.focus() Page_Load, Pre_Render events Page.SetFocus but nothing seems to work.What causes this problem?

    Filed under:
  •  Advertisement

    Featured Advertisement

     
  • 12-31-2007 9:32 PM In reply to

    Re: Problem with focus

     Take a look @ http://msdn2.microsoft.com/en-us/library/ms178231.aspx

    Try the defaultFocus property of the form element.

     

    HTH

    Deepak. 

  • 12-31-2007 10:20 PM In reply to

    Re: Problem with focus

    I have checked the link and re-build my application.Thanks for your co-operation Deepak.

    Filed under:
Page 1 of 1 (3 items)