Hi
I'm using a RadRicjTextBox in a WPF with DataBinding and ValidatesOnDataErrors, and I'm trying to add validation to ensure that the user has acutally typed something into the comment
Here is the XAML snippet...
<telerik:HtmlDataProvider Grid.Column="1" Grid.Row="3" x:Name="HtmlProvider2" RichTextBox="{Binding ElementName=CommentsRichTextBox}" Html="{Binding Response, Mode=TwoWay,ValidatesOnDataErrors=True}" /><telerik:RadRichTextBox Height="92" Grid.Column="1" Grid.Row="3" Margin="2" x:Name="CommentsRichTextBox" />
But I'm not sure how to validate the contents in my IDataErrorInfo code, I can't just check to see if the Response field is empty, because as soon as you type anything, and then delete it, the field contains all the HTML wrappings.
Am I missing something or is there a way to do this, I had thought I should try and convert the HTML to Text somehow and then check, but I don't want that to happen with every key press (I'm also not sure how to go about it
Thanks in advance
Paul
hi
Is it possible to programmatically set a ColumnGroupDescriptor to allow column filtering. As you can see from my code I am setting IsVisible = false so that I don't show redundant info in each row. I would like the Group column header to show the filter icon and allow for the column to be filtered.
Thanks
Rich
ColumnGroupDescriptor colGrpDesc = new ColumnGroupDescriptor();
colGrpDesc.Column = grid.Columns[groups.UniqueName];
colGrpDesc.Column.IsVisible = false;
colGrpDesc.SortDirection = sortDirection;
grid.GroupDescriptors.Add(colGrpDesc);
