simply i take one user control and register it in one page
now in this page i write a JavaScript function like this
and
now how to call it in user control,user control like this;
i tried this it not working;
i done only written above
now in this page i write a JavaScript function like this
Code:
function sethere()
{ document.getElementById('<%=(test1.FindControl("TextBox1")).ClientID %>') = document.getElementById('<%=(test3.FindControl("TextBox1")).ClientID %>').value;
}
now how to call it in user control,user control like this;
Code:
<ctrltest:test ID="test1" runat="server"/>
Code:
<ctrltest:test ID="test1" runat="server" Onkeyup="sethere();"/>
Comment