Hello,
I want get the the Label in gridview's datacolumn celltemplate.
In xaml file , the design is as follows.
<telerik:RadGridView x:Name="ecbPropertiesGV" AutoGenerateColumns="False"
ActionOnLostFocus="CancelEdit" CanUserReorderColumns="False"
RowIndicatorVisibility="Collapsed" IsFilteringAllowed="False"
CanUserDeleteRows="False" CanUserInsertRows="False" CanUserSelect="False"
CanUserSortColumns="False" IsReadOnly="True" ShowGroupPanel="False" CanUserResizeColumns="False">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="Number." x:Name="numberColumn" HeaderTextAlignment="Center">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<Label x:Name="lblName" Width="170" VerticalAlignment="Center" />
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>
</telerik:RadGridView>
How to find the lblName(Label) in GridViewDataColumn.
If anyone who knows about this , please reply me.
Best Regards
I want get the the Label in gridview's datacolumn celltemplate.
In xaml file , the design is as follows.
<telerik:RadGridView x:Name="ecbPropertiesGV" AutoGenerateColumns="False"
ActionOnLostFocus="CancelEdit" CanUserReorderColumns="False"
RowIndicatorVisibility="Collapsed" IsFilteringAllowed="False"
CanUserDeleteRows="False" CanUserInsertRows="False" CanUserSelect="False"
CanUserSortColumns="False" IsReadOnly="True" ShowGroupPanel="False" CanUserResizeColumns="False">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="Number." x:Name="numberColumn" HeaderTextAlignment="Center">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<Label x:Name="lblName" Width="170" VerticalAlignment="Center" />
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>
</telerik:RadGridView>
How to find the lblName(Label) in GridViewDataColumn.
If anyone who knows about this , please reply me.
Best Regards