Search code examples
asp.netgridviewasp.net-ajaxupdatepanel

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


Solution

  • Several months later this problem was fixed. The project I was working in was a previous v1.1 which was converted with 2.0. However, in the web.config this line remained:

    <xhtmlConformance mode="Legacy"/>
    

    When it was commented out all of the bugs that we seemed to have with the ajax control toolkit disappeared