P
Petr SIMUNEK
I have 3 buttons on the page. (Created dynamicaly inside For- next loop and
hooked up to click event.)
When different button is clicked i would like to save a different value to
viewstate.
In the same run I want to read this value from viewstate and load page back
with different picture..
the problems are:
- events from button fires after pageLoad is finished, so I can use it to
decide
- the same goes with viewstate, its changed after page is finished so
unusable
this works but causes two postback delay :O)
I know this is by design in asp.net page lifecycle, so my question is how is
such thing supposed to be done ?
Thanx and sorry for repeating ....
This must have been here 100s times. I just didnt find simple ansver to
this..(and i did look)
Pettt
hooked up to click event.)
When different button is clicked i would like to save a different value to
viewstate.
In the same run I want to read this value from viewstate and load page back
with different picture..
the problems are:
- events from button fires after pageLoad is finished, so I can use it to
decide
- the same goes with viewstate, its changed after page is finished so
unusable
this works but causes two postback delay :O)
I know this is by design in asp.net page lifecycle, so my question is how is
such thing supposed to be done ?
Thanx and sorry for repeating ....
This must have been here 100s times. I just didnt find simple ansver to
this..(and i did look)
Pettt