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

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

1 Answer 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
JD.
Top achievements
Rank 1
JD. asked on 08 Sep 2011, 03:33 PM
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.

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 08 Sep 2011, 05:33 PM
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
Tags
Grid
Asked by
JD.
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or