Hi all,
I have designed user controls. One search control where I can search
for items in the database and show them in a grid. This control also
has a button which simply exposes it's click event.
When clicking on the button in this control i want to add the selected
rows in the grid to another grid, which is on my second control. I do
this by handling the Click event of the button in my page and add the
values to arraylist in the session cache. The second control takes
this arraylist and fills its grid with the values from it.
My problem now is, that i cannot determine the sequence of the
postbacks. The event handler for the postback event of my second
control is invoked before the postback event handler of my first
control, so that the selection is not made visible to the client.
How can I control the sequence?
Kind regards,
Michael Groeger