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

MaxLength

5 Answers 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Orit
Top achievements
Rank 1
Orit asked on 18 Oct 2009, 06:58 AM
Hello
How can I set a MaxLength property to a column in the grid
Thanks

5 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 19 Oct 2009, 01:09 PM
Hello Orit,

With our latest release (Q3 Beta 2) we added two new properties on GridViewColumn - MinWidth and MaxWidth. You can use them to specify the minimum and maximum column width.

Kind regards,
Hristo
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
Orit
Top achievements
Rank 1
answered on 24 Nov 2009, 07:08 AM
I meen the length of the text that the user can insert to the column
not the width
0
Vlad
Telerik team
answered on 24 Nov 2009, 07:23 AM
Hi Orit,

We don't have such property. You can define TextBox in CellEditTemplate and set desired max length.

All the best,
Vlad
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
Orit
Top achievements
Rank 1
answered on 24 Nov 2009, 07:25 AM
Can You please make a code sample?
0
Vlad
Telerik team
answered on 24 Nov 2009, 07:30 AM
Hello Orit,

You can check this demo to know more how to define CellEditTemplate.

Regards,
Vlad
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
Orit
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Orit
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or