Setting focus to textbox control using Asp.Net using Page.RegisterStartupScript method.

Vishalneeraj-24503
Posted by Vishalneeraj-24503 under ASP.NET category on | Points: 40 | Views : 208
Write below code:-
Page.RegisterStartupScript("Focus","<script language=""Javascript""> document.getElementById
("TextboxControlName").focus(); </Script>");

Comments or Responses

Login to post response