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

Validation in Edit Mode

1 Answer 136 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
Anto (DLL Version : 2008.3.1314.35) asked on 18 Mar 2009, 02:25 PM
Hi All

I have a radgrid

Automatic Update/Insert/Delete

I have just 2 field.

Product Name and Product Description

So while clicking the edit two textboxes appears and I have set the width for it.

ok Here I am able to type numbers

Is there any possibility to restrict it.

Thank You

-Anto

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 19 Mar 2009, 05:16 AM
Hello Anto,

The following documentation topic should help you achieve your scenario. It explains how to programmatically add a validator to the edit field of a GridBoundColumn, you can easily change that logic to attach your custom code to the TextBox control when grid is in EditMode.
Validation

-Princy.
Tags
Grid
Asked by
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Share this question
or