Hi,
I have a WARP panel which wraps an ig toolbar, which has a few buttons and a custom control, which is a asp.net web user control, which is a webcombo. So these are all wrapped by the WARP right?
In the web user control, I have a hidden input (it is marked with runat=server), I set the value of this hidden input on the client side when a value is selected by the webcombo. When a button control on the toolbar causes a postback (now a partial, as it is wrapped in the WARP) the value of the input is null when I look at it in page loading?
Any ideas on this would be a great help.
Many thanks.
Zack
I have a similar situation that does work. I think it is important that you set the html controls id and not just it's name.
My hidden input is in a panel so when I set it in Javascript I use: document.getElementById('pnlParameter_HiddenField').value='hello'
My field definition is as follows: <input type="hidden" id="HiddenField" runat="server" />
Also please make sure that Enable view state is set to true for user control and as well as for the hidden input variable. Because if EnableView State is false, when the page postbacks ( even for partial postbacks) , it loses the state of all the controls.