How to register data for validation using RegisterForEventValidation in asp.net
<p>I would like to know the method of using RegisterForEventValidation in asp.net</p>

<p>My problem is this. </p>

<p>If I enable eventvalidation, then changing the controls using javascript and then posting the information back to the server later on throws up an error.</p>

<p>But If I disable event validation, the data present/selected in the controls is not available in the event handlers in code behind.</p>

<p>So, how should one resolve such issues?</p>

<p>Also, are there are any good articles that explain the issue and a resolution in detail? Tried googling. Came across many articles. But nothing that matched my expectations.</p>

<p>Thanks!</p>
