D
dave
I have built a custom control with a hidden html input box. I use this
hidden field to hold a value that i wanted posted back to the server after
the click event of a page button.
Within this event, i am able to access the hidden field value through a
property in my custom control. That seems to work ok.
The problem however, is that the value of this hidden field is not available
during the CreateChildControls of the custom control. As a result after the
postback i am not able to store or use the posted value in the control while
it renders after the postback. I have been pulling my hair out on this. It
seems that it is a timing issue the control renders prior to the value being
available.
Where/how can i get the value of this hidden field prior to the control
running CreateChildControls?
any ideas?
while loading the control after the postback i need this value inside the
custom control. It seems that the control is render and executes
CreateChildControls prior to the posted value (in the hidden field) is
availble to the control.
hidden field to hold a value that i wanted posted back to the server after
the click event of a page button.
Within this event, i am able to access the hidden field value through a
property in my custom control. That seems to work ok.
The problem however, is that the value of this hidden field is not available
during the CreateChildControls of the custom control. As a result after the
postback i am not able to store or use the posted value in the control while
it renders after the postback. I have been pulling my hair out on this. It
seems that it is a timing issue the control renders prior to the value being
available.
Where/how can i get the value of this hidden field prior to the control
running CreateChildControls?
any ideas?
while loading the control after the postback i need this value inside the
custom control. It seems that the control is render and executes
CreateChildControls prior to the posted value (in the hidden field) is
availble to the control.