Hi there,
I have a drop down in a web user control. Its auto postback is set to false. This user control goes inside a multi view in my main page.
User clicks on a link to activate the multiview. Now, the first time around, when user clicks on the link, this web user control loads just fine. The second time around, however, I get the attached error.
After a bit of investigation, I commented out the part where data is being added to my drop down and everything went smoothly (except I wouldn't have a populated drop down). However, when I uncomment this area again, I keep on getting the following error:
Thanx for your help. Let me know if I you need more info to give me a hand. Bare in mind this is not my original code and so I might be overlooking something simple.. so any help is appreciated.
cheers!
I have a drop down in a web user control. Its auto postback is set to false. This user control goes inside a multi view in my main page.
User clicks on a link to activate the multiview. Now, the first time around, when user clicks on the link, this web user control loads just fine. The second time around, however, I get the attached error.
After a bit of investigation, I commented out the part where data is being added to my drop down and everything went smoothly (except I wouldn't have a populated drop down). However, when I uncomment this area again, I keep on getting the following error:
Code:
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.
Thanx for your help. Let me know if I you need more info to give me a hand. Bare in mind this is not my original code and so I might be overlooking something simple.. so any help is appreciated.
cheers!