set focus to the RadTextBox

2 posts, 0 answers
  1. Sigma
    Sigma avatar
    87 posts
    Member since:
    Apr 2012

    Posted 11 Feb 2013 Link to this post

    hi,

    How to set focus to the RadTextBox when the page is loaded?

    Sigma.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 12 Feb 2013 Link to this post

    Hi Sigma,

    Try the following C# code to set focus to the RadTextbox when the page is loaded.

    C#:
    protected void Page_Load(object sender, EventArgs e)
    {
        RadTextBox1.Focus();
    }

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top