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

[Solved] Can RegularExpressions be applied on Textbox type column?

3 Answers 104 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alfa
Top achievements
Rank 1
Alfa asked on 16 Dec 2009, 12:00 PM
Hi,
Can RegularExpressions be applied on Textbox type column?
Rgds
Alfa

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 16 Dec 2009, 04:05 PM
Hi ,

Can you please give us some more details on what are you trying to achieve with regular expressions  and I believe we can find a descent solution .

Greetings,
Pavel Pavlov
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Alfa
Top achievements
Rank 1
answered on 17 Dec 2009, 03:51 AM
Hi,

What I am looking is to create different type of columns say if I want AlfaNumeric column I will apply [A-Z][0-9], non-zero column [1-9], OnlyAlfa [a-z][A-Z] and so on.

Rgds
Alfa
0
Pavel Pavlov
Telerik team
answered on 17 Dec 2009, 10:49 AM
Hi Alfa,

RadGridView does not supprot such usage of regular expressiions internally. However it provides the  

GridViewMaskedTextBoxColumn. This is a column type  that provides a MaskedTextBox as an editor.
It has the Mask and MaskType properties which allow implementing scenarios as yours.

More info on how to set these properties may be found here.


Best wishes,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Alfa
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Alfa
Top achievements
Rank 1
Share this question
or