Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
240
Refer to a component in a user control from a button in a WebDialogWindow
posted

Another question about WDW.
I have WebUserControl (called JsList1) and a button in the WDW (called wdwHost)
Working fine.

Now, I need using that button to refer to a component that resides on JsList1.
And this component is hidden text field.
Its name ends with hCheckedItems.
I mean, that I need to find a component in JsList control by name and not by ID.

I tried to access to my control using this code, but it was vain:
var JsList1 = document.getElementById('<%=JsList1.ClientID%>');

I do succeed to access WDW itself:
var wdwHost = document.getElementById('<%=wdwHost.ClientID%>');

My idea was to get JsList id and then to find hCheckedItems using JsList id.

Please, help.

Parents
No Data
Reply Children
No Data