I currently have a webpart with a table which loads documents in itself. Every row has a checkbox control in the first cell. (Default: unchecked)
I am using a second webpart which has a button. If the button is clicked the webpart should load all document rows which are checked. I want the button webpart to show this results.
The first problem i encountered was that once everything was loaded and the
void button_Click(object sender, EventArgs e)
event was fired the second webpart lost the first webpart as a provider. I solved this issue by saving the provider in
But this saves the old provider with the old table in which no row is selected. How do i make sure that the changes in the first webpart will be saved when a event from the second webpart is fired? And will be available in the second webpart for use.