Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
7
Reply
Invalid postback issue when I used <asp:dropdownlist >
Rashmi Sutar
Aug 31 2017 1:41 AM
254
Reply
Hi,
I have one visual web part deployed on SharePoint 2013 site and in that I have used <asp:DropDownList> instead of <select> list. I have bind all data using REST api and jQuery.
but when I clicked on save button it shows below error.
“Invalid postback or callback argument. Event validation is enabled using 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.”
If I have used <select> list then it is working fine but it is not giving me selected value of <select> list at server side.
Thanks
Reshma
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
Authentication for Document Access in SharePoint
Network Load Balancer - NLB