asp.net - Asp Update Panel - Details View Updates Underlying GridView doesn't -


i have asp.net gridview on page, when buttonfield clicked (instead of select) opens popup form (my popup not asp's) contains detail of gridview row displayed in editable detailsview. (this approach has been used because grid contains 20 wideish columns , easier edit / update in detailsview format) detailsview takes amendmends , writes them table, fine, underlying gridview never visually updated unless of course page reloaded (i tried use windows.reload function annoying winddows trying reopen etc, error, useless). trying discover best way gridview refresh it's data. have placed via me.clientscript.registerstartupscript(me.gettype() eyc, alert box communicate when 'update steps' of detailsview fires interject gridview.rebind() because detailsview held within update panel the, example, protected sub detailsview2_itemupdated(byval sender object, byval e system.web.ui.webcontrols.detailsviewupdatedeventargs) handles detailsview2.itemupdated functions, , roqwupdatind , one, not appear fire. (they must of course else table not updating. problem how 'communicate update events within panel contained detailsviews can cause rebind occur on main gridview. ideas appreciated. thank you

detail view have event called

protected void dvebook_itemupdated(object sender, detailsviewupdatedeventargs e)         {             response.redirect(request.rawurl,false);         } 

where dvebook detail view.

it call same page.

i hope work you.

thanks


Comments