E
Edward
I have an aspx page with 2 web usercontrols (ascx). The
first user control (example a.ascx) has two buttons.
Clicking the first button sets a Session variable "myVar"
to "but1", the second sets the same variable to "but2".
The other ascx-module uses the session variable "myVar" to
determine what to display. When I click button 1 (or 2),
the other ascx-module doesn't change his contents. When I
click the button for the second time or click another
button, the contents of the ascx-module is changed
according to the contents for the first button clicked. I
know that the following event occurs: module1.page_load,
module2.page_load, module1.button_click. What must I do to
let module2 show the right text? Can I force a reload of
the page or what?
thanks in advance.
first user control (example a.ascx) has two buttons.
Clicking the first button sets a Session variable "myVar"
to "but1", the second sets the same variable to "but2".
The other ascx-module uses the session variable "myVar" to
determine what to display. When I click button 1 (or 2),
the other ascx-module doesn't change his contents. When I
click the button for the second time or click another
button, the contents of the ascx-module is changed
according to the contents for the first button clicked. I
know that the following event occurs: module1.page_load,
module2.page_load, module1.button_click. What must I do to
let module2 show the right text? Can I force a reload of
the page or what?
thanks in advance.