rss2
asked on
VerifyRenderingInServerForm override with a UserControl derived page
Hi Experts,
I have inherited a web site to fix, so I can't change too much of it. I have to add an ability to export the gridview to excel. I have to override VerifyRenderingInServerFor m in order to make this work (or do you have a better solution to this: http://aspalliance.com/771) but I'm getting the error:
'WebControl_EditAccountLog ic.VerifyR enderingIn ServerForm (System.We b.UI.Contr ol)': no suitable method found to override
The page derives System.Web.UI.UserControl, and I suspect this should be System.Web.UI.Page in order to override VerifyRenderingInServerFor m.. Is that correct?
If that's the case, then how do I make this export to excel functionality work on this page? (Code attached)
Thank you! As ever super duper urgent. :)
rss2
exporttoexcel.txt
I have inherited a web site to fix, so I can't change too much of it. I have to add an ability to export the gridview to excel. I have to override VerifyRenderingInServerFor
'WebControl_EditAccountLog
The page derives System.Web.UI.UserControl,
If that's the case, then how do I make this export to excel functionality work on this page? (Code attached)
Thank you! As ever super duper urgent. :)
rss2
exporttoexcel.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I too have the same issue with form tag. I have a custom webpart ( Visual Webaprt, its an .ascx file) that has a grid and a tree view. Now on click of an image button I need to export the contents of a grid to excel.
I am not able to override the method VerifyRenderingInServerFor
Can you please help me in this. I have been trying to do that from hours.
Greetings,
Sameena