technomark.in
Hot News

$(this) Selector And Children / Find In jQuery

Detect An Undefined Object Property In JavaScript

Rotate And Save Video Using VLC Media Player

Capitalize The First Letter Of String In JavaScript

Convert Any Files To Any Format Using VLC Media Player

Asp.Net AngularJS WCF IIS
DataBase Jquery Bikes Random
HomeContact Us Watch Our YouTube Channel ..........Blog Spot..........

Technomark.in

How To Logout From All Devices In Skype

Technomark.in

How To Embed Google Map In Your Code

Technomark.in

How To Install IIS (Internet Information Services) On Windows

Technomark.in

Enable Directory Browsing In IIS

View All


Invalid postback or callback argument. Event validation is enabled using '<pages enableEventValidation=“true”/>'


What is this Issue...?

EnableEventValidation, Invalid Postback Or Callback Argument, Event Validation Is Enabled, Invalid Postback Or Callback Argument. Event Validation Is Enabled, Asp.Net, Postback Validation, Unauthorized Postback Requests, Validate Unauthorized Postback Requests, Asp.Net MVC, Update Panel, Server Side Postback

> This error happens in the following situation.
> When you modify Asp.Net controls from client side after page is completely loaded.
> Then if you do a postback, you will get this error.
> This is because, when page load happens, Asp.Net controls will get registered.
> And the controls get validated when postback happens.
> During postback validation, if any mismath happens, you will get this error.
> This is a type of Asp.Net security that prevents any unauthorized postback requests.

Solution 1 - Disable EventValidation.

EnableEventValidation, Invalid Postback Or Callback Argument, Event Validation Is Enabled, Invalid Postback Or Callback Argument. Event Validation Is Enabled, Asp.Net, Postback Validation, Unauthorized Postback Requests, Validate Unauthorized Postback Requests, Asp.Net MVC, Update Panel, Server Side Postback

> On your Aspx page, set EnableEventValidation as false.
> We strongly recommend not to disable EventValidation.

Solution 2 - Use Update Panel

> The best option is to use update panel for updating Asp.Net controls.
> This would definitely allow you to update only a particular control.
> As shown in the figure, we can use update panel in Aspx page and code behind.

EnableEventValidation, Invalid Postback Or Callback Argument, Event Validation Is Enabled, Invalid Postback Or Callback Argument. Event Validation Is Enabled, Asp.Net, Postback Validation, Unauthorized Postback Requests, Validate Unauthorized Postback Requests, Asp.Net MVC, Update Panel, Server Side Postback
EnableEventValidation, Invalid Postback Or Callback Argument, Event Validation Is Enabled, Invalid Postback Or Callback Argument. Event Validation Is Enabled, Asp.Net, Postback Validation, Unauthorized Postback Requests, Validate Unauthorized Postback Requests, Asp.Net MVC, Update Panel, Server Side Postback

Solution 3 - Use Server Side DataBind For Controls

> If nothing works for you, then go with normal Server side postback for binding controls.
> By this way you will definitely get validated on each callback.
> This will definitely resolve your issue.

Watch Video of this Content on Video Streaming

Post Your Comment

Name *


Email *


Comment * Please provide all three fields for posting Comment




Technomark.in

Book Train Tickets on IRCTC Quickly During Tatkal Period

Technomark.in

Before You Copy Any Image From Internet

View All

Privacy StatementDisclaimerSitemap