This is a migrated thread and some comments may be shown as answers.

Validation inside a databound grid

2 Answers 76 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Syed Ahmad
Top achievements
Rank 1
Syed Ahmad asked on 21 Aug 2009, 10:28 AM
Hi!
   I have a RadGridView for windows on my form which is data bound. Now according to requirements, i have set Autogeneratecolumns to false and programmatic-ally added some GridViewTextBox columns. The user can also add a new Row by clicking Add new Row Button. But before adding a new Row i need to check whether, user has left some of the columns empty or filled them with invalid values. IN that case i need to prompt the user about mistakes and cancel the add new Row. I have tried so much but i could not validate the grid. I desire to set error on each column instead of Rows.I have found some solutions but was unable to use any of them. Any help will be greatly appreciated.

Thanks

2 Answers, 1 is accepted

Sort by
0
Gilberth
Top achievements
Rank 1
answered on 26 Aug 2009, 09:57 PM
Hello, you try to explain better and tell me if these programming in c# or vb, if you do it in visual basic I could try to help.
0
Vassil Petev
Telerik team
answered on 27 Aug 2009, 08:19 AM
Hi Syed,

You can review the validation example, available with the installation.


Sincerely yours,
Vassil
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Syed Ahmad
Top achievements
Rank 1
Answers by
Gilberth
Top achievements
Rank 1
Vassil Petev
Telerik team
Share this question
or