Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. RegisterForEventValidation

RegisterForEventValidation

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netdatabasesysadmin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Fahad_ADO
    wrote on last edited by
    #1

    Hi , Im using a repeater controll in asp.net 2.0 , in that controll thee is a link button the the ItemTemplate of the repeter , although the we form is working fine on ym loca pc but while i delpoy it on the server it gives me this error : 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. Please could any one direct me ? im populating my repeater like this : If(!IsPostBack) { my repeater control gets populated from database(); } Also i am using RepeaterItemDataBoudn and repeaters ItemCommand events , to trapp the event when the link button inside the repeater is cliked .But this click is not getting trap with the repeaters event while I had deploye the web form on the stagingin server , and is working fine on my local machine . Help required immediatly ive enabled EventValidation to treu as well ....

    Fad .

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups