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

[Solved] MaxLenght In GridViewDataColumn

1 Answer 93 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.
Vinicius Maeda
Top achievements
Rank 1
Vinicius Maeda asked on 22 Dec 2010, 09:14 PM
Good Night,

I would use the property in my MaxLenght GridViewDataColumn
For example, I would limit the amount of characters for column temperature exemplified below for only 3 characters


 <grid:GridViewDataColumn x:Name="Temperatura" DataMemberBinding="{Binding Temperatura, Mode=TwoWay}">                        
        <grid:GridViewDataColumn.Header>
                <TextBlock Text="{Binding Source={StaticResource AlocServerText},Path=Labels.VariavelTemperaturaUnidade}" />
        </grid:GridViewDataColumn.Header>
</grid:GridViewDataColumn>

Would like to set that used the property in GridViewDataColumn

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 23 Dec 2010, 07:35 AM
Hello,

 You can define CellEditTemplate where you can declare a TextBox with this setting. 

Greetings,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
Vinicius Maeda
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or