To implement above requirement , can add Text Box Control to
GridViewDataColumn
<telerik:RadGridView Name="rgvMessage"
Margin="0,10,0,0"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
ShowGroupPanel="False"
AutoGenerateColumns="False"
Height="Auto"
SelectionUnit="Cell"
SelectionMode="Single"
Grid.Row="2"
Grid.ColumnSpan="2">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="UserMessage"
DataMemberBinding ="{Binding UserMessage,Mode=TwoWay}"
IsReadOnly="False"
Width="*">
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<TextBox Text="{Binding UserMessage,Mode=TwoWay}"
AcceptsReturn="True"
MaxLength="{Binding MaxLength}"
SpellCheck.IsEnabled="True"/>
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
Using Spell Checker control in DataGridView in C#
ReplyDelete