H
Huzaifa
hi
I have User control with some Text Boxes
i want to set the focus on the text box depending on the page where i am
using the User control
I tried couple of things in the ASPX Page and User Control but no luck
Thanks
Huzaifa
document.forms(0).txtABC.focus();
StringBuilder sb=new StringBuilder();
sb.Append("<script>");
sb.Append("document.forms(0).txtABC.focus();");
sb.Append("</script>");
ImageButton1.ImageUrl=sImageURL;
if (!(IsStartupScriptRegistered("HighTher")))
RegisterStartupScript("HighTher", sb.ToString()) ;
I have User control with some Text Boxes
i want to set the focus on the text box depending on the page where i am
using the User control
I tried couple of things in the ASPX Page and User Control but no luck
Thanks
Huzaifa
document.forms(0).txtABC.focus();
StringBuilder sb=new StringBuilder();
sb.Append("<script>");
sb.Append("document.forms(0).txtABC.focus();");
sb.Append("</script>");
ImageButton1.ImageUrl=sImageURL;
if (!(IsStartupScriptRegistered("HighTher")))
RegisterStartupScript("HighTher", sb.ToString()) ;