I got stuck in the following problem.
I am using cascadingdropdown ajax control and binding data into dropdownlist from database.
I have done to display the data from database.
Now I want to display the data, which is related to the item which I selected from dropdownlist, to 'Label'.
ex) I have a following table in database.If I select '2' from the dropdownlist, I want to display 'Taro' to the label. If '1' from the dropdownlist, 'Ken' to the label.
I changed 'AutoPostback' property of dropdownlist to TRUE,then when I run the page and select the item from dropdownlist, error occured.
Error messege is as belows.
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using in configuration or 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.
If there is another way to display the item into a label without postback, or someone knows how to sort out this problem, please help me.
View Complete Post