I made a user control and in this user control I have some clientside script (Page.RegisterClientScriptBlock in the page_load of the user control).
In this script I want to know the content of an ASP-label.
for example:
<asp:label id=lblText runat="server"></asp:label>.
How can I get the content of label lblText in clientside script (javascript)?
I do not know the name of the form on which the user control is.
Thanks.
In this script I want to know the content of an ASP-label.
for example:
<asp:label id=lblText runat="server"></asp:label>.
How can I get the content of label lblText in clientside script (javascript)?
I do not know the name of the form on which the user control is.
Thanks.