Click here to Skip to main content
15,891,136 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
Richard Deeming4-Oct-12 8:23
mveRichard Deeming4-Oct-12 8:23 
GeneralRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
M-Badger4-Oct-12 20:43
M-Badger4-Oct-12 20:43 
GeneralRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
M-Badger4-Oct-12 20:51
M-Badger4-Oct-12 20:51 
Questionthe system.__ComObject Pin
Majed.Alhazmi25-Sep-12 1:30
Majed.Alhazmi25-Sep-12 1:30 
AnswerRe: the system.__ComObject Pin
Shameel25-Sep-12 1:55
professionalShameel25-Sep-12 1:55 
QuestionHelp with system.__ComObject Pin
Majed.Alhazmi25-Sep-12 1:29
Majed.Alhazmi25-Sep-12 1:29 
QuestionValidation of viewstate MAC failed. Pin
Sandeepkumar potu24-Sep-12 19:52
Sandeepkumar potu24-Sep-12 19:52 
AnswerRe: Validation of viewstate MAC failed. Pin
Sandeep Mewara24-Sep-12 20:13
mveSandeep 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 Pin
Kothai Krishnamoorthy23-Sep-12 19:35
Kothai Krishnamoorthy23-Sep-12 19:35 
AnswerRe: VB.NET with MSAccess Pin
Richard MacCutchan23-Sep-12 21:45
mveRichard MacCutchan23-Sep-12 21:45 
AnswerRe: VB.NET with MSAccess Pin
Mazumder.Soumen25-Sep-12 2:22
Mazumder.Soumen25-Sep-12 2:22 
Questionresizing a form in corner, bottom,right Pin
gopal karmakar21-Sep-12 6:04
gopal karmakar21-Sep-12 6:04 
QuestionRe: resizing a form in corner, bottom,right Pin
Eddy Vluggen21-Sep-12 6:20
professionalEddy Vluggen21-Sep-12 6:20 
QuestionLookup table .NET Component Pin
HentoDeluxe21-Sep-12 5:26
HentoDeluxe21-Sep-12 5:26 
AnswerRe: Lookup table .NET Component Pin
Eddy Vluggen21-Sep-12 6:19
professionalEddy Vluggen21-Sep-12 6:19 
QuestionConverting from base10 to base16 and save it in unsigned char array? Pin
Kiran Satish19-Sep-12 10:06
Kiran Satish19-Sep-12 10:06 
AnswerRe: Converting from base10 to base16 and save it in unsigned char array? Pin
Richard MacCutchan19-Sep-12 11:28
mveRichard MacCutchan19-Sep-12 11:28 
GeneralRe: Converting from base10 to base16 and save it in unsigned char array? Pin
Kiran Satish19-Sep-12 11:36
Kiran Satish19-Sep-12 11:36 
GeneralRe: Converting from base10 to base16 and save it in unsigned char array? Pin
Richard MacCutchan19-Sep-12 11:52
mveRichard MacCutchan19-Sep-12 11:52 
QuestionWhat is Common Type System (CTS) in .net framework? Pin
hiredotnet16-Sep-12 19:48
hiredotnet16-Sep-12 19:48 
AnswerRe: What is Common Type System (CTS) in .net framework? Pin
Pete O'Hanlon16-Sep-12 19:56
mvePete O'Hanlon16-Sep-12 19:56 
AnswerRe: What is Common Type System (CTS) in .net framework? Pin
Himanshu Yadav20-Sep-12 8:11
Himanshu Yadav20-Sep-12 8:11 
AnswerRe: What is Common Type System (CTS) in .net framework? Pin
Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)22-Sep-12 19:01
protectorTadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)22-Sep-12 19:01 
QuestionMain components of .NET Framework Pin
hiredotnet16-Sep-12 19:45
hiredotnet16-Sep-12 19:45 
RantRe: Main components of .NET Framework Pin
Paul Conrad16-Sep-12 19:48
professionalPaul Conrad16-Sep-12 19:48 

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

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