User-707554951 posted
Hi vikas251074,
According to official document, EnableEventValidation could allow us to get or set a value indicating whether the page validates postback and callback events.
If EnableEventValidation’s value is set to false, it indicate that page don’t validate postback and callback events,
However, RegisterForEventValidation is used to Registers an event reference for validation with a unique control ID and event arguments representing the client control generating the event.
When you set EnableEventValidation to true, 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.
When you set EnableEventValidation to false, it indicate that no event validation( neither built-in validation or some validation you register by using RegisterForEventValidation) will be triggered when page do postback and callback.
In a word, from my understanding, the function of the two is different, So, it is impossible to use 'RegisterForEventValidation' in place of 'EnableEventValidation="false"'
Best Regards
Cathy