Aspxgridview rowvalidating event

When editing a row in a Grid View or Details View, those Bound Fields that are not read-only are converted into textboxes, from which the end user can modify the existing data.

Similarly, when inserting a new record into a Details View control, those Bound Fields whose Insert Visible property is set to true (the default) are rendered as empty textboxes, into which the user can provide the new record's field values.

Using wizards and designers to generate declarative statements isn’t fundamentally good or bad. The fastest way to get data into an ASPx Grid View is to drop an ASPx Grid View onto a Web page and click on Choose Data Source| The first pre-requisite for editing in the ASPx Grid View is that you need declarative (or imperative) code that supports the edits.

The next step is to turn on the edit metaphors in the ASPx Grid View.

The validation safeguard caused some really strange effects.

I have tested the Row Validated event once again and it is thrown as expected when Rad Grid View loses focus.If I understand you right, you have found a work-around for you case.However, I would still like to investigate the issue further.To do that, I need a sample project, which demonstrates the issue.Could you strip only a part of your code and send it as a small example to allow us looking into this issue?Scott Mitchell March 2007 Summary: This is the Visual C# tutorial.


Leave a Reply