A
Alexander van Doormalen
I have a MultiView control with 2 Views in it. In the first View I have
a form which contains sereral input controls and a custom UserControl.
In this custom UserControl I have a button which causes a postback.
When the click event gets handled I am grabbing the MultiView instance
from a parent control (using a recusive method).
When i change the active View on this MultiView control nothing
happens. The second time you click the button a a error message pops up
saying the viewstate is invalid. I think this happens because the
MultiView is done loading and setting a new active view doesn't cause a
'reload'. How can I force a reload of this MultiView control so the new
active View will be visible instead of the current View?
I tried the databind method on the MultiView but that doesn't change
the output. Also using an event based approach doesn't work. Any
thoughts?
Thnx in advance
a form which contains sereral input controls and a custom UserControl.
In this custom UserControl I have a button which causes a postback.
When the click event gets handled I am grabbing the MultiView instance
from a parent control (using a recusive method).
When i change the active View on this MultiView control nothing
happens. The second time you click the button a a error message pops up
saying the viewstate is invalid. I think this happens because the
MultiView is done loading and setting a new active view doesn't cause a
'reload'. How can I force a reload of this MultiView control so the new
active View will be visible instead of the current View?
I tried the databind method on the MultiView but that doesn't change
the output. Also using an event based approach doesn't work. Any
thoughts?
Thnx in advance