This is one of the method to set mouse pointer focus in page load on first text-box or
dropdownlist.
Page.ClientScript.RegisterStartupScript(this.GetType(), "Setfocus", "document.getElementById('" +ddlCountry.ClientID+"').focus();", true);
0 comments
Post a Comment