StrataFrame Forum

Row validation - AspxGridView and SF BO

http://forum.strataframe.net/Topic19928.aspx

By Chan - 10/7/2008

Hi,

May I know how do you implement row validation using DevEx AspxGridView and SF BO?

While user click on "Update" button at AspxGridView, Row_Validating fired. However, at this point data bot yet send back to SF BO.



Please advice. Thank you
By Dustin Taylor - 10/10/2008

I don't have the devex controls loaded on this machine, so I can't test it on that particular grid, but you should be handling the validation at the BO level rather than in an event within the grid.

I've attatched a version of the Business Binding Source sample that has been updated to work with VS 2008. Run the sample, delete the first or last name of any row, then try to save. You'll see that the BO will handle the validation and show the error provider in the appropriate position.