Invalid postback or callback argument(sapnep.com)

submitted by sapnepsapnep(104) 9 months, 18 days ago

Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

1 comment |category: |Views: 8

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by vijaystvijayst(1311) 9 months, 18 days ago 0

Usually, event validations fail when developers write buggy code. The most common mistake occurs for dynamic controls. The other scenario is a custom control that emits javascript incorrectly: A __doPostback without the control id.

Similar to event validation is request validation with which i get confused. Request validation fails when there is HTML within the postback data.

Reply

information Login or create an account to comment on this story