Greetings! I have been in SQL world for the last few years, When I last worked with on a Windows project, I used WInForms with Grids, DataSources, DataAdapters, etc. Working with a grid was easy - there was a design-time "wizard" interface to select columns from the data source, set the size, styles, and other attributes and upon exiting the design interface it emitted the code on the form.
Now, I am in VS2012, with a WPF project. I have RadControls for WPF v2013.3.1204.45. The data is SQL CE 4.0 and I have created an EF model for it. On my first window, I added a RadGridView and cannot figure out how to connect it to my data at design time. I can go into the code-behind and set ItemsSource to a LINQ query - so at runt-time I get a grid (with all columns, not well styled).
1. Is there such a design-time interface in RadControls for WPF (specifically the GridView)? I can't believe everyone is really doing all of this by hand (either in designer or code-behind) - there are so many attributes that can be set (who wants to memorize all the row style properties)?
2. How do I bind the data source so I can see the schema (and maybe sample data?!) at design time? I tried a RadEntityFrameworkDataSource but just couldn't figure out the syntax (yes, I looked at the demos - they assume a lot of knowledge). I know have a lot to learn with EF, but I thought I would have an easy time with the controls...
Best,
Scott
I have a RadCartesianChart and want to register for ContextMenuOpening. When I do it in XAML my event handler gets called. If I do in code (e.g. MainWindow_Loaded: Chart.ContextMenuOpening += Chart_ContextMenuOpening) it is not called.
I got a small repro too.
Markus

I'm hosting an EDrawSoft OfficeOCX in a WindowsFormsHost. (MVVM, C#, .Net 4.0) The control fills a tab in a tab control in a Telerik RadDocPanel.
Everything is working very well, until someone tries to open a damaged Office document which throws an error and seems to corrupt the OfficeOCX control.
I've found that re-initializeing the OfficeOCX control gets it working again, except that the WindowsFormsHost no longer fills the tab. Simply resizing the application fixes it up again.
I've tried calling Refresh on the OfficeOCX control which didn't work, but it's probably not the control that needs to be refreshed.
The control is being manipulated in a PropertyChangedCallback for a dependency property. MSDN suggests calling WindowsFormsHost.InvalidateVisual() but that didn't work either.
My next attempt will be to try to call a method on the Telerik RadDockPanel to force the repaint...however I can't figure out how.