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

RadGrid and ValidationGroup

3 Answers 121 Views
Grid
This is a migrated thread and some comments may be shown as answers.
vn
Top achievements
Rank 1
vn asked on 09 May 2008, 09:56 PM
Hi,

Is there a way to assign a ValidationGroup to the Update/Insert commands (<rad:GridEditCommanColumn>) in RadGrid?   I have a grid with custom EditItemTemplate and I only want the validators in the edit template to active if the user press the Update/Insert command.  The form has other buttons  outside the grid but I don't want them to active the validators in the Grid.

Thank you,

Vincent

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 10 May 2008, 10:50 AM
Hi Vincent,

Please check this example:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/DataEditing/Validation/DefaultCS.aspx

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
vn
Top achievements
Rank 1
answered on 12 May 2008, 05:01 PM
Thank you.  Just what I was looking for.
0
Mohd
Top achievements
Rank 1
answered on 06 Nov 2015, 10:12 AM
 </MasterTableView>
                         <ValidationSettings CommandsToValidate="PerformInsert,Update" ValidationGroup="A"  />
                    </telerik:RadGrid>
Tags
Grid
Asked by
vn
Top achievements
Rank 1
Answers by
Vlad
Telerik team
vn
Top achievements
Rank 1
Mohd
Top achievements
Rank 1
Share this question
or