摘要:OnSelectedIndexChanged of the DropDownList in a GridView's PagerTemplate is not fired
資料來源:http://forums.asp.net/t/1313185.aspx/1
OnSelectedIndexChanged of the DropDownList in a GridView's PagerTemplate is not fired
Aug 30, 2008 04:26 PM|LINK
Hi, I got information from here quite often.
I just want to share my experience this time and hope it might help someone someday.
I have a DropDownList in my GridView's PagerTemplate.
I used the example code from http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.pagertemplate(VS.80).aspx
I used it in many of my pages. All works fine except one.
The OnSelectedIndexChanged event just isn't fired in that one page.
Later I set the "EnableViewState" of that GridView to false, it works finally.