Telerik Forums
UI for WPF Forum
3 answers
545 views
I am using a GridView with a CellEditTemplate to display a DatePicker with the date selection mode set to "Month".  However this then meant that the CellValidation's event argument e.NewValue didn't contain the value selected by the user; rather it contained a minimum date value (#12:00:00am#).

After sifting through numerous articles searching for a resolution to this problem - the majority in this forum which referred to creating custom validation procedures and deriving new column types and another explaining the Validation Lifecycle that gave absolutely no information on cell validating using editing templates (and none that gave any examples) - I finally came across this article http://www.telerik.com/forums/custom-template-in-grid that explained you simply had to use "e.EditingElement" to gain access to the editor used in the cell.

I am raising this thread in the hope that other users will be able to quickly locate the solution to this problem and not waste hours of their time.
Boris
Telerik team
 answered on 12 Dec 2014
1 answer
156 views
Is it possible to have the tabstrip in a separate container from the content? I'd like the tabs to be in a grid located in one area of my application. I would then like the content to show up in a separate grid in a different location.

Thanks for the help!

Pavel R. Pavlov
Telerik team
 answered on 12 Dec 2014
4 answers
333 views
Hi,

We need to display a dynamic tree with multiple levels as showed in attached image. Levels needs to be left aligned and will be separate from main. Both the trees will be generated dynamically, and should display with the tree layout.

I am able to generate both the graphs with no issues, but not able to place both in same graph as it supports only one. I tried to place both the graphs in two separate graphs in a grid with two columns and tried to synchronize the zoom, but that is getting distorted and overlapped.

Any way to place both the graphs in same diagram, but one with fixed value for x (as shown in the diagram) ?

Any advice/support is much appreciated.

Thanks,
Shalvin.
Petar Mladenov
Telerik team
 answered on 12 Dec 2014
3 answers
236 views
Hi all

I want to print a diagram with preview. I used the example at http://www.telerik.com/help/wpf/raddiagram-features-printing.html and my code looks like this:
var printPreviewWindow = new RadWindow();
var printPreview = new RadDiagramPrintPreview { Diagram = this.diagram };
printPreviewWindow.Content = printPreview;
printPreviewWindow.ResizeMode = ResizeMode.NoResize;
printPreviewWindow.Width = 800;
printPreviewWindow.Height = 600;
printPreviewWindow.ShowDialog();
With the RadDiagramPrintPreview the user can change printer and sheet size / orientation. But I need to scale the diagram down to "fit to page" How can I do this with the RadDiagramPrintPreview?
Regards

Dan Ove

Pavel R. Pavlov
Telerik team
 answered on 12 Dec 2014
7 answers
366 views
I have a RadGridView, with a CellValidating event handler.

It receives a GridVIewCellValidatingEventArgs argument, named e.

e has a field, newValue.

When I'm editing a cell, whether on an existing row or on a new one, the CellValidating event fires, and my event handler catches it.

When I'm editing a cell in an existing row, I can access the object being edited via e.newValue.

When I'm editing a cell in a new row, e.newValue is null.

Is this supposed to happen?  If so, what should I use instead of e.newValue?

Maya
Telerik team
 answered on 12 Dec 2014
1 answer
239 views
Hi experts,

I might have a isolated issue here. Not sure if I'm missing anything :) I have a RadGRidView and im using NumericUpdown control for data entry. The NumericUpdown control NumberGroupSeparator is not working. It doesnt show the 'comma'. If the take the same control out of the the grid, it works fine. I have attached my code here. I know by default the group separator should work, but as it was not working I also tried adding that extra numberFormatInfo xml code, but with no luck. The data member that  I'm binding is a double(should be an int)
Please let me If I'm missing anything.

Thanks in advance.
Boris
Telerik team
 answered on 11 Dec 2014
6 answers
130 views
Hi,

I have a problem with filtering here: When I set a filter descriptor, newly added rows are always inserted at the end, as long as filtering is active.
I read somewhere that filtered data is unsorted as long as there is no explicit sorting set. Is this true?

When yes: What is the best way to sort by ItemsSource order? Our customers would expect to see the rows in the same order as when no filter is set.

I would like to avoid an index in my viewmodel, because most grid operations would trigger an O(n) index update loop to update the indices.
Is there a better way?
Dimitrina
Telerik team
 answered on 11 Dec 2014
2 answers
156 views
Hello,

I have a theme set that doesn't apply to some RadTimePickers. The specified theme is applied to DateTimePickers, even though there was no theme override (no styles set or anything like that, neither on the time and datetime pickers nor the grid). 
Attached you can find a .png with the controls on which the mentioned theme doesn't apply, as well as their xaml code.
Sorin
Top achievements
Rank 1
 answered on 11 Dec 2014
2 answers
265 views
I simply want to remove the "Select all" checkbox which is above the list of distinct values when I open the filter dropdown. This should be done for one single column, not all columns. How can I achieve that?

Regards
Neils
Heiko
Top achievements
Rank 1
Iron
Veteran
 answered on 11 Dec 2014
1 answer
159 views
I have an application which allows switching grid filtering from popup to filter row. This works fine and is great. However if a user selects a distinct filter option from the distinct list in the filter popup and then switches to filter row then the distinct option is still selected. At this point though it is not accessible as there is no way to get to that distinct list in the filter row.

A user would need to filter that distinct selection and then switch filter modes. A better solution would be for the grid to make this switch because at that point the distinct doesn't make sense anymore. The grid could also switch it to a "Equals X".
Dimitrina
Telerik team
 answered on 11 Dec 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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?