A few days ago, I wanted to add an Export to Excel button in a page in my web application, that I used Ajax on it, But unfortunately it did not work properly and generated an error(the same as my post header). After searching in the net I found out I have to add a line in page. That's it, it Worked excellent :). If you encountered this error, you must add:
EnableEventValidation="false"
and also:
<Triggers>
<asp:PostBackTrigger ControlID="ControlName" />
</Triggers>
Good luck :)
Subscribe to:
Posts (Atom)
Update the author and email address of every commit on a repository
source: stackoverflow.com
-
Visual studio is a pretty awesome IDE, but sometimes you just wish it would go faster. Here's a list. All of these can be accessed on...
-
Have you ever launched SQL Server Management Studio (SSMS) and had to wait over 60 seconds before you could even log in? I have - all too ...
-
source: stackoverflow.com