PDA

View Full Version : سوال: EnableEventValidation="true"



Nahid Borna
پنج شنبه 16 دی 1389, 13:06 عصر
سلام،من یک GridView دارم که خاصیت AutoPaging=true کردم و وقتی می خوام رویداد placementGridView_RowUpdating رو fire کنم error زیر رو می گیرم


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.
وقتی هم EnableEventValidation="false می کنم اصلا رویدادم fire نمی شه.لطفاً راهنمائی کنید.ممنونم