J
Jonas
I'v made a web user control that I use in one of my .aspx pages. This
user control is dynamically loaded a number of times depending on the
content of a ArrayList(stored in the session) containing DataSets.
Each DataSetscontains the necessary information required to fill the
user control with data. In each usercontrol there is a delete-button,
that when clicked will remove a DataSetsentry in the previously
mentioned ArryList. This will cause the aspx-page on Post Back to load
one less usercontrol.
The question: How shall I write the Click event for the
"delete-button" so that my aspx-page renders with one less user
Control on PostBack?
Because the user controls are programmatically loaded I have to load
them at every post Back, In what event should I do that?
With kind regards, Jonas
user control is dynamically loaded a number of times depending on the
content of a ArrayList(stored in the session) containing DataSets.
Each DataSetscontains the necessary information required to fill the
user control with data. In each usercontrol there is a delete-button,
that when clicked will remove a DataSetsentry in the previously
mentioned ArryList. This will cause the aspx-page on Post Back to load
one less usercontrol.
The question: How shall I write the Click event for the
"delete-button" so that my aspx-page renders with one less user
Control on PostBack?
Because the user controls are programmatically loaded I have to load
them at every post Back, In what event should I do that?
With kind regards, Jonas