Rowupdating which wasn t handled

Coould it somehow have something to do with me publishing the altered files to my host.

i have created a webpage with these controls: - 1 textbox : used to input a string to search information from database - 2 buttons : one is SEARCH and another is CANCEL - 1 Grid View : used to present the result of searching.

The HTML code for the Grid View is as follow : Till now everything looks fine but the problem arises when you run this application.

When you click on edit button of the Grid View a Javascript error occurs : “Microsoft JScript runtime error: Sys. Page Request Manager Server Error Exception: The Grid View ‘gd Test’ fired event Row Editing which wasn’t handled.” At first look you may think that you have not handled some events fired by the Grid View. The mystery behind this error is the property “Command Name”.

Some other Grid Views reserved key words and their default associated events are as follow : “Cancel” – Raises the Row Canceling Edit event.

“Delete” – Raises the Row Deleting and Row Deleted events. “Page” – Raises the Page Index Changing and Page Index Changed events.

Then in the code behind I have handled the On Row Command event.

In the event handler function I have checked for the Command Name property and write necessary code for each of the actions.Can you indicate how it did not work (same error, different error, lbl Status.thanksits the same error on the same yellow colored error page , the error doesnt even show on my lblstatus label.The button is associated with the Command Name property as “Edit”.The Grid View is associated with the On Row Command event.When i enter data to Text Box and click any of 2 buttons, the search result is showed. I dont know why searching result is showed automatically? i mean that we just allow gridview to show it when we click search button only.