RadGrid and ValidationGroup

4 posts, 0 answers
  1. vn
    vn avatar
    6 posts
    Member since:
    May 2008

    Posted 09 May 2008 Link to this post

    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
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 10 May 2008 Link to this post

    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
  3. vn
    vn avatar
    6 posts
    Member since:
    May 2008

    Posted 12 May 2008 Link to this post

    Thank you.  Just what I was looking for.
  4. Mohd
    Mohd avatar
    3 posts
    Member since:
    Oct 2015

    Posted 06 Nov 2015 in reply to vn Link to this post

     </MasterTableView>
                             <ValidationSettings CommandsToValidate="PerformInsert,Update" ValidationGroup="A"  />
                        </telerik:RadGrid>
Back to Top