c# - focus on user control -
c# - focus on user control -
i want focus on user command giving me errors
function getfocus() { document.getelementbyid('<%myusercontrol.clientid%>').focus() } <a href.... onclick="getfocus()>click</a> how can this?
thank you
replace this:
document.getelementbyid('<%myusercontrol.clientid%>').focus() with this:
document.getelementbyid('<%= myusercontrol.clientid%>').focus() c# asp.net
Comments
Post a Comment