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

Need to Masked Text

4 Answers 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
HamiD Mayeli
Top achievements
Rank 1
HamiD Mayeli asked on 10 Oct 2009, 04:40 PM
Hi

I need to masked a column like {(123)-123-1234}, I use this mask {(###)-###-####} or {(000)-000-0000} but this are wrong.

4 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 15 Oct 2009, 07:10 AM
Hi HamiD,

You should set the MaskType property to standard to enable this mask type. Here is a sample:

GridViewMaskBoxColumn col = new GridViewMaskBoxColumn("Value");
col.MaskType = MaskType.Standard;
col.Mask = "{(###)-###-####}";
this.radGridView1.Columns.Add(col);

Regards,
Jack
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
HamiD Mayeli
Top achievements
Rank 1
answered on 15 Oct 2009, 07:59 AM
Hi Jack.

Tanx a lot.
But my GridViewMaskBoxColumn dos Not have MaskType Property.

 

GridViewMaskBoxColumn Col = (GridViewMaskBoxColumn)MyGrid.Columns["MyMaskCol"];  
 
// Col.MaskType //  MaskType not exist 

I have Mask Property but not have Mask type.
I Use WinForms Q3 2008.


Regards.
0
Jack
Telerik team
answered on 15 Oct 2009, 08:51 AM
Hello HamiD,

This property is added in a later version of RadGridView. So, I recommend that you try our latest release - Q2 2009 SP1.    


Greetings,
Jack
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
HamiD Mayeli
Top achievements
Rank 1
answered on 15 Oct 2009, 10:08 AM
Hello & Tanx Jack.


It`s mean i can`t use this version so what knid of Mask can use in this Version.


Regards.
Tags
GridView
Asked by
HamiD Mayeli
Top achievements
Rank 1
Answers by
Jack
Telerik team
HamiD Mayeli
Top achievements
Rank 1
Share this question
or