G
Guest
My primary GridView is firing an OnDataBound after Selecting a row (which
triggers SelectedIndexChanged).
This only happens in the following scenario:
- User enters a textbox search value and hits "GO"
- Gridview is filled with results (4 grids in all, only the "primary" is
filled at this point)
- User Selects a row from the gridview.
- User clicks an "Add" button which calls a javascript window.showmodaldialog
- User peforms on update (on a table not related to data in this gridview).
The "update" window is closed.
- Javascript issues a redirect to refresh the screen - essentially "starting
over", only with only the orginal "selected" row displayed in the primary
grid. (Ideally, I only want to re-populate the grid related to the data
change, but I don't know how to do that).
- User Selects the one and only row now displayed in the primary grid.
SelectedIndexedChange is correctly fired, but after that, so is a
OnDataBound. Is this a bug? Why would it fire after the select, and why only
under these conditions? Ideas?
triggers SelectedIndexChanged).
This only happens in the following scenario:
- User enters a textbox search value and hits "GO"
- Gridview is filled with results (4 grids in all, only the "primary" is
filled at this point)
- User Selects a row from the gridview.
- User clicks an "Add" button which calls a javascript window.showmodaldialog
- User peforms on update (on a table not related to data in this gridview).
The "update" window is closed.
- Javascript issues a redirect to refresh the screen - essentially "starting
over", only with only the orginal "selected" row displayed in the primary
grid. (Ideally, I only want to re-populate the grid related to the data
change, but I don't know how to do that).
- User Selects the one and only row now displayed in the primary grid.
SelectedIndexedChange is correctly fired, but after that, so is a
OnDataBound. Is this a bug? Why would it fire after the select, and why only
under these conditions? Ideas?