Hello,
I have several input text on a form . All of them I can use inside a
javascript thru the $find function. Unfortunately, controls that
I have inside a usercontrol are not accessible .
How can I access this user control inserted on my form ?
Here is what I have.
<%@ Register src="../item.ascx" tagname="item" tagprefix="user" %>
<user:item id="useritem" runat=server />
<telerik:radtextbox id="phone" runat="server" />
<script type="text/javascript">
var phone = $find("%= phone.ClientID"); //..... this one works
var user = $find("%= user.ClientID"); // ... does not work user is inside the useritem control.
</script>
I am using version 2009.2.831 (the last update)
Thanks
Joao,
I have several input text on a form . All of them I can use inside a
javascript thru the $find function. Unfortunately, controls that
I have inside a usercontrol are not accessible .
How can I access this user control inserted on my form ?
Here is what I have.
<%@ Register src="../item.ascx" tagname="item" tagprefix="user" %>
<user:item id="useritem" runat=server />
<telerik:radtextbox id="phone" runat="server" />
<script type="text/javascript">
var phone = $find("%= phone.ClientID"); //..... this one works
var user = $find("%= user.ClientID"); // ... does not work user is inside the useritem control.
</script>
I am using version 2009.2.831 (the last update)
Thanks
Joao,