Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entire Page refreshes even though gridview is in an update panel

I have a gridview that is within an updatepanel for a modal popup I have on a page.
The issue is that the entire page refreshes every time I click an imagebutton that is within my gridview. This causes my entire page to load and since I have grayed out the rest of the page so that the user cannot click on it this is very annoying.

Does any one know what I am missing.

Edit: I entered a better solution at the bottom

like image 720
Josh Mein Avatar asked Feb 04 '26 22:02

Josh Mein


2 Answers

Make sure you have the following set on the UpdatePanel: ChildrenAsTriggers=false and UpdateMode=Conditional

like image 96
Compulsion Avatar answered Feb 06 '26 10:02

Compulsion


do you have ChildrenAsTriggers="false" on the UpdatePanel?

Are there any javascript errors on the page?

like image 26
Ben Scheirman Avatar answered Feb 06 '26 12:02

Ben Scheirman