G
Guest
I was wondering if there was already a common practice / pattern before I
run off and try building a better wheel. How do developers handle Loading
the Viewstate when the user has set a value prior to the ViewStateBeing
loaded.
For example upon a prior Postback a control is disabled or set to another
state.
This state was stored in the viewstate.
Now this time the user has chosen to do some logic in the OnInit of the Page
and he sees that his conditions are matched so he sets the Control who was
prior disabled to enabled. Do most developers maintian a table so that this
property is not overwritten when the ViewState is loaded or do most
developers just let it overwrite ?
run off and try building a better wheel. How do developers handle Loading
the Viewstate when the user has set a value prior to the ViewStateBeing
loaded.
For example upon a prior Postback a control is disabled or set to another
state.
This state was stored in the viewstate.
Now this time the user has chosen to do some logic in the OnInit of the Page
and he sees that his conditions are matched so he sets the Control who was
prior disabled to enabled. Do most developers maintian a table so that this
property is not overwritten when the ViewState is loaded or do most
developers just let it overwrite ?