تالار گفتمان مانشت

نسخه‌ی کامل: ارور در asp.net
شما در حال مشاهده‌ی نسخه‌ی متنی این صفحه می‌باشید. مشاهده‌ی نسخه‌ی کامل با قالب بندی مناسب.
با سلام

دوستان من در gridview دکمه ی ثبت ویرایش دارم ، وقتی روش کلیک میکنم ، ارور زیر رو به من میده

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.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
خواهشا کمکم کنید
سلام
کافیه که properties صفحه رو این ویژگی اش رو false کنید در بخش سورس طراحی صفحه تون اولین خط
برای مثال یکی از صفحات پروزه من هم این مشکل رو داشت که با گذاشتن
EnableEventValidation="false"
در تگ مشکل بسادگی حل میشه
<%@ Page Title="" Language="C#" MasterPageFile="~/mas/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="Basket.aspx.cs" Inherits="karbar_Basket" EnableEventValidation="false" %>
(22 مرداد 1394 12:31 ب.ظ)ACM نوشته شده توسط: [ -> ]با سلام

دوستان من در gridview دکمه ی ثبت ویرایش دارم ، وقتی روش کلیک میکنم ، ارور زیر رو به من میده

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.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
خواهشا کمکم کنید

لینک سایت قرار دادم کل asp.net و C# توضیح می دهد سایت به زبان فارسی است
مهمان عزیز شما قادر به مشاهده پیوندهای انجمن مانشت نمی‌باشید. جهت مشاهده پیوندها ثبت نام کنید.
لینک مرجع