How to perform validation in Grid's Insert/Edit Mode.

2 posts, 0 answers
  1. JD.
    JD. avatar
    37 posts
    Member since:
    Aug 2012

    Posted 08 Sep 2011 Link to this post

    Hi
    In Grid control during Insert mode, I want to perform some client side validation.

    There is a dropdown containing DisplayItem and ValueItem.  There is a textbox where some text will be entered
    Validation I need is that 1st two characters of the text entered in textbox should match with dropdown's valueitem.

    Any guidance on this. I am confused on how does javacript access dropdown and textbox control that is inside Insert mode and Edit mode of Grid.  Any sample would save my research time and guide me further.

    Regards
    JD.
  2. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 08 Sep 2011 Link to this post

    Hello,

    please check below link in this demo i Create one sample demo which was helpful to you.
    http://www.telerik.com/community/forums/aspnet-ajax/grid/set-controls-attribute-like-enable-disable-on-insert-edit-mode-using-jquery.aspx

    Thanks,
    Jayesh Goyani
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top