M
Mike
Hi,
I am building a web form with dynamic controls. Some need to be visible and some not. When clicking on a button, all controls become visible. I have used code behind to do that, but when I set the value of a control (ie. label) and then click the button to show all controls, these value are lost. Should I use ViewState and save the state of each single control? Or is that a better method? Any resouce or sample would be highly appreciated.
Thanks
Mike
I am building a web form with dynamic controls. Some need to be visible and some not. When clicking on a button, all controls become visible. I have used code behind to do that, but when I set the value of a control (ie. label) and then click the button to show all controls, these value are lost. Should I use ViewState and save the state of each single control? Or is that a better method? Any resouce or sample would be highly appreciated.
Thanks
Mike