The gridview "gvworklist" triggers the unprocessed event "rowdeleting ".

Source: Internet
Author: User
Tags stack trace
The gridview "gvworklist" triggers the unprocessed event "rowdeleting ".

Note:An unhandled exception occurred during the execution of the current Web request. Check the stack trace information for details about the error and the source of the error in the code.

Exception details:System. Web. httpexception: The gridview "gvworklist" triggers the unprocessed event "rowdeleting ".

Source error:

An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.


Stack trace:

[Httpexception (0x80004005): The gridview "gvworklist" triggers the unprocessed event "rowdeleting".] System. web. UI. webcontrols. gridview. onrowdeleting (gridviewdeleteeventargs e) + 365 system. web. UI. webcontrols. gridview. handledelete (gridviewrow row, int32 rowindex) + 980 system. web. UI. webcontrols. gridview. handleevent (eventargs E, Boolean causesvalidation, string validationgroup) + 1533 system. web. UI. webcontrols. gridview. onbubbleevent (Object source, eventargs e) + 186 system. web. UI. control. raisebubbleevent (Object source, eventargs ARGs) + 70 system. web. UI. webcontrols. gridviewrow. onbubbleevent (Object source, eventargs e) + 136 system. web. UI. control. raisebubbleevent (Object source, eventargs ARGs) + 70 system. web. UI. webcontrols. linkbutton. oncommand (commandeventargs e) + 155 system. web. UI. webcontrols. linkbutton. raisepostbackevent (string eventargument) + 221 system. web. UI. webcontrols. linkbutton. system. web. UI. ipostbackeventhandler. raisepostbackevent (string eventargument) + 38 system. web. UI. page. raisepostbackevent (ipostbackeventhandler sourcecontrol, string eventargument) + 37 system. web. UI. page. raisepostbackevent (namevaluecollection postdata) + 289 system. web. UI. page. processrequestmain (Boolean includestagesbeforeasyncpoint, Boolean includestagesafterasyncpoint) + 4221

ASPX page:

<Asp: linkbutton id = "libtn_delete" runat = "server" text = "delete"Commandname = "delete"Commandargument = '<% # eval ("ID") %>'> </ASP: linkbutton>

 

Change delete In commandname = "delete" to another name, as long as it is not a Delete. You can also modify the corresponding background CS code.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.