F
Frank
I have been googling this for quite sometime and have been finding guidance
and samples that just don't work with my particular scenario.
I simply need for my JavaScript to be able to get a reference to an HTML
hidden field, where:
1. the hidden field exists in a user control that is dynamically added to a
PlaceHolder (in the code behind)
2. the PlaceHolder that hosts the user control exists within an AJAX
UpdatePanel.
I have received different bits of advice on this - but none apparently
account for *both* of the above facts.
I'd really appreciate guidance on how to declare the hidden field in the
user control (i.e., does it need runat=server?), and then how to obtain it's
current value in client-side JavaScript - given that the user control is
ultimately rendered within an UpdatePanel.
What's complicating things - at least for me - is that (1) the user control
is renaming the hidden field; and (2) the contents of an update panel are
apparently built by javascript.
Thanks
and samples that just don't work with my particular scenario.
I simply need for my JavaScript to be able to get a reference to an HTML
hidden field, where:
1. the hidden field exists in a user control that is dynamically added to a
PlaceHolder (in the code behind)
2. the PlaceHolder that hosts the user control exists within an AJAX
UpdatePanel.
I have received different bits of advice on this - but none apparently
account for *both* of the above facts.
I'd really appreciate guidance on how to declare the hidden field in the
user control (i.e., does it need runat=server?), and then how to obtain it's
current value in client-side JavaScript - given that the user control is
ultimately rendered within an UpdatePanel.
What's complicating things - at least for me - is that (1) the user control
is renaming the hidden field; and (2) the contents of an update panel are
apparently built by javascript.
Thanks