Click here to Skip to main content
       

.NET Framework

 
GeneralRe: Crytal reports Pinmemberyaswanth0011-Oct-12 7:04 
GeneralRe: Crytal reports PinprotectorPete O'Hanlon1-Oct-12 9:42 
QuestionAndroid applications PinmemberMember 940514026-Sep-12 6:24 
AnswerRe: Android applications PinmvpRichard MacCutchan26-Sep-12 6:32 
AnswerRe: Android applications PinmvpAbhinav S1-Oct-12 1:49 
QuestionJagged Array as Return Type from Function - Syntax Driving me Bonkers PinmemberMike-MadBadger25-Sep-12 6:50 
AnswerRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers [modified] PinmemberRichard Deeming4-Oct-12 8:23 
GeneralRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers PinmemberMike-MadBadger4-Oct-12 20:43 
GeneralRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers PinmemberMike-MadBadger4-Oct-12 20:51 
Questionthe system.__ComObject Pinmembermajedksa25-Sep-12 1:30 
AnswerRe: the system.__ComObject PinmemberShameel25-Sep-12 1:55 
QuestionHelp with system.__ComObject Pinmembermajedksa25-Sep-12 1:29 
QuestionValidation of viewstate MAC failed. PinmemberSandeepkumar potu24-Sep-12 19:52 
AnswerRe: Validation of viewstate MAC failed. PinmvpSandeep Mewara24-Sep-12 20:13 
This exception generally appears because Controls using DataKeyNames require Viewstate to be encrypted. And the viewstate hidden field might not have been rendered to the browser with long-running pages, and if you make a postback before it does, the page doesn't know that Viewstate is encrypted and causes the aforementioned Exception.
The problem happens specifically when you postback before the EventValidation field has been rendered.
 
Workarounds:
1. Set enableEventValidation to false and viewStateEncryptionMode to Never OR
2. Mark the form as disabled and then enable it in script once the load is complete OR
3. Override the Render Event of the page to place the hidden fields for Encrypted Viewstate and Event validation on the top of the form
 
Have a look at this blog for full details: MSDN Blog: Validation of viewstate MAC failed error[^]
Sandeep Mewara
Microsoft ASP.NET MVP
 
[My latest Article]: Server side Delimiters in ASP.NET[^]

QuestionVB.NET with MSAccess [modified] Pinmemberkkct23-Sep-12 19:35 
AnswerRe: VB.NET with MSAccess PinmvpRichard MacCutchan23-Sep-12 21:45 
AnswerRe: VB.NET with MSAccess PinmemberMazumder.Soumen25-Sep-12 2:22 
Questionresizing a form in corner, bottom,right Pinmembergopal karmakar21-Sep-12 6:04 
QuestionRe: resizing a form in corner, bottom,right PinmemberEddy Vluggen21-Sep-12 6:20 
QuestionLookup table .NET Component PinmemberHentoDeluxe21-Sep-12 5:26 
AnswerRe: Lookup table .NET Component PinmemberEddy Vluggen21-Sep-12 6:19 
QuestionConverting from base10 to base16 and save it in unsigned char array? PinmemberKiran Satish19-Sep-12 10:06 
AnswerRe: Converting from base10 to base16 and save it in unsigned char array? PinmvpRichard MacCutchan19-Sep-12 11:28 
GeneralRe: Converting from base10 to base16 and save it in unsigned char array? PinmemberKiran Satish19-Sep-12 11:36 
GeneralRe: Converting from base10 to base16 and save it in unsigned char array? PinmvpRichard MacCutchan19-Sep-12 11:52 
QuestionWhat is Common Type System (CTS) in .net framework? Pinmemberhiredotnet16-Sep-12 19:48 
AnswerRe: What is Common Type System (CTS) in .net framework? PinprotectorPete O'Hanlon16-Sep-12 19:56 
AnswerRe: What is Common Type System (CTS) in .net framework? PinmemberHimanshu Yadav20-Sep-12 8:11 
AnswerRe: What is Common Type System (CTS) in .net framework? PinmemberTadit Dash22-Sep-12 19:01 
QuestionMain components of .NET Framework Pinmemberhiredotnet16-Sep-12 19:45 
RantRe: Main components of .NET Framework PinmemberPaul Conrad16-Sep-12 19:48 
Questioni m new in asp.net. and i want 2 call a gridview by dropdownlist. PinmemberRashid Choudhary13-Sep-12 22:27 
AnswerRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. PinmvpRichard MacCutchan13-Sep-12 23:31 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. PinmemberRashid Choudhary13-Sep-12 23:36 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. PinprotectorPete O'Hanlon13-Sep-12 23:40 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. PinmvpRichard MacCutchan14-Sep-12 0:05 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. PinprotectorPete O'Hanlon14-Sep-12 0:28 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. PinmvpRichard MacCutchan14-Sep-12 0:44 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. PinmemberTadit Dash22-Sep-12 19:06 
AnswerRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. PinmemberMeysam Tolouee14-Sep-12 9:01 
Questionbiztalk server Pinmembersrinuthippyreddy12-Sep-12 21:12 
AnswerRe: biztalk server PinmvpRichard MacCutchan12-Sep-12 22:13 
QuestionMultiple Column ComboBox in VB.Net Pinmembersivanesh.p12-Sep-12 2:49 
AnswerRe: Multiple Column ComboBox in VB.Net PinmemberBernhard Hiller12-Sep-12 3:51 
AnswerRe: Multiple Column ComboBox in VB.Net PinmvpDave Kreskowiak12-Sep-12 3:53 
AnswerRe: Multiple Column ComboBox in VB.Net Pinmemberhiredotnet16-Sep-12 19:41 
QuestionHow to disable No of copies in Print Dialog in C#.net Windows Application Pinmembersr1599-Sep-12 23:13 
AnswerRe: How to disable No of copies in Print Dialog in C#.net Windows Application PinmemberEddy Vluggen10-Sep-12 2:45 
AnswerRe: How to disable No of copies in Print Dialog in C#.net Windows Application PinprotectorPete O'Hanlon10-Sep-12 23:27 
QuestionRegarding datamining Pinmembervinu Rajendran9-Sep-12 20:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 22 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid