Telerik Forums
UI for WPF Forum
1 answer
411 views

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







Missing User
 answered on 28 Jan 2014
5 answers
259 views

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);









Yoan
Telerik team
 answered on 28 Jan 2014
1 answer
141 views
Hello, is possible to place a border in a cell, and have the border with rounded edges. I don’t want to use an image because the user needs to edit the cell, so editing and resizing would be an issue.

Thanks,
Scott
Nikolay Demirev
Telerik team
 answered on 28 Jan 2014
1 answer
66 views
hi
how can fill a gridview comboboxcolum based on another gridview comboboxcolumn selecteditem, in mvvm pattern?

thanks
Maya
Telerik team
 answered on 28 Jan 2014
0 answers
93 views
Hi there,

I would like to load one JPG or PNG file in one of my fields. I'm using RadGridView 2013 Q1 NET 45

I attach you one image in order to clarify my post.

Thanks in advance,
Enric
Top achievements
Rank 1
 asked on 27 Jan 2014
4 answers
437 views
Hi ya, I'm looking for some WPF sample where I can connect two Sql tables using a couple of RadGridView controls.

Can you please be so kind to provide some link or sample related to?

Thanks in advance and regards,
Enric
Top achievements
Rank 1
 answered on 27 Jan 2014
6 answers
260 views
I'm replacing some calls to MessageBox.Show() with calls to RadWindow.Alert so that the message dialogs match the theme of my application.  However, I noticed that the Alert dialog doesn't play any sort of system sound like MessageBox.Show.  Digging through the docs and the forum, I don't see any mention of this.  I'd definitely think the pre-defined dialogs should have some built-in system sound support., right?

Input appreciated.

Jeff
Rosen Vladimirov
Telerik team
 answered on 27 Jan 2014
1 answer
155 views
Hello,

I am using Radgridview, and there is a situation.
The gridview is binded to Observablecollection of Entity framework class.
I need to make some of the columns (2-4) readonly if the grid is in edit mode.
If adding new row, the columns should be editable.
I am using telerik:RadGridViewCommands.BeginInsert to add new row.

Note: MVVM pattern is followed.

Regards,
Reyas Mohammed
Yoan
Telerik team
 answered on 27 Jan 2014
1 answer
254 views
Hi
 When I try to open each wpf window in each docking panes with mvvm pattern Between connections of  windows  break and  i couldn't see sample that  on internet .Do you have an idea or a sample  to be helped me ?
Vladi
Telerik team
 answered on 27 Jan 2014
5 answers
196 views
In windows forms this function is available to change the headers of each grouping.
How do I accomplish the same functionality in WPF???

Thanks!
Vanya Pavlova
Telerik team
 answered on 27 Jan 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?