Telerik Forums
UI for WPF Forum
1 answer
180 views
Hi, I'm using editable GridView cells. I see that when I multi select several GridView rows from the top to bottom direction, the CurrentItem foucs moves to the bottommost cell and when I directly start to type something, the bottommost cell is edited. What I want to do is when I select cells from the top to bottom direction and start editing, the topmost cell gets the CurrentItem focus and starts to be edited. I tried to solve this by setting the CurrentItem property, but it was readonly. Is there any way I can acheive this? (I have to multi select cells first for some reasons, not only just editing cells!)
Dimitrina
Telerik team
 answered on 23 Dec 2013
7 answers
126 views
We have a single Property grid with around 83 properties. When the item on the property grid changes, it takes almost 400 ms to just set the new item to the property grid. 

I tried a test application and saw that with the number of proeprties increasing, the performance of the property grid gradually deteriorates.
Attached is a screenshot of the performance profile taken. Please help analyze and suggest how this can be improved. 

Please note: IsVirtualizing and EnableEditorCaching are enabled.
Maya
Telerik team
 answered on 23 Dec 2013
1 answer
327 views

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.


I have a resize event in the usercontrol that does nothing but allows me to set a break in it. When I resize the app, which fixes the docking problem, this event gets fired and the call stack shows it being called (through some external code) from:

Telerik.Windows.Controls.dll!Telerik.Windows.Controls.RadDockPanel.ArrangeOverride(System.Windows.Size finalSize)

Is there a way I can force this to happen from code?

Thanks
Konstantina
Telerik team
 answered on 23 Dec 2013
1 answer
165 views
I was wondering if it is possible to do something the following with the GanttView:

We have task A, B, C & D. They are all linked to each other in chronological order (A->B->C->D). When I move task B, is it possible to let Task C & D move as well so the time between them remains the same? So when i have moved B 3 days in the future, C & D are also moved for 3 days.

Kind Regards
Thomas
Ventzi
Telerik team
 answered on 21 Dec 2013
1 answer
205 views
Hi, I'm using a RadRibbonWindow as my main applictiaon window, and several RadWindows for some dialogs.
When I run the application and open a modal or modeless RadWindow from the main window and move focus to other applications or the desktop and then come back to my application, the focus goes to the main window and not the modal or modeless dialog. The floating dialog always hides behind the main window. How can I fix this?
Thanks!
Konstantina
Telerik team
 answered on 21 Dec 2013
1 answer
89 views
Hi,

with the control, I'm trying to have 4 blocks of 6 hours to reprensent a complete day shift: night, am, pm and evening. For the current week, I need the have the pass slot to be in a different style. If you look at the display, you can see that I have a display problem with my slots.

I also have a sample project but I don't know where I can post it...

Look at the picture you can see that there is some missing horiz line in the control...

Thank's
Alain
Konstantina
Telerik team
 answered on 21 Dec 2013
3 answers
129 views
I'm trying to create a user control with RadChart and an expandable RadGridView underneath capable of attaching to any data source.  That is, I can attach the entire control to any DataTable source, without knowing anything about the source (columns, datatypes, etc.) until runtime. 

The chart provides metrics, while the grid underneath exposes the underlying data to the user, allowing them to sort and filter what is displayed on the chart.  To that end, I'm binding both the grid and the chart to a QueryableCollectionView, which has been working well enough.

My problem is that all of my data is categorical and that combinations of columns could potentially produce a category.  That is, I may have two fields providing categories, such as "Year" and "FirstName", and then one field providing Y Values, such as "Distance".  In this example I would want my X categories to be "2010 - James", "2011 - James", "2010 - Mark", etc. or some combination of those fields.  In theory, I could make a calculated column in my data source with this formatting, for the label, but the problem is more complex...

Ideally, I also want to give the user control over these groupings.  I understand how to give my series various aggregation functions for the values, and RadChart seems to handle the values just fine.  But if a user selects a grouping on "Year" in the above example, I would want the chart to instead display "2010", "2011" with series values calculated according to the grouping function.  If I had a calculated column underneath my data, I would need to update this expression according to what fields the user had selected to group on.

So: Is that calculated column the only approach to this or is there something a little less complicated for handling multi-category data?

A couple notes:
  • The chart itself does not seem to natively support multi-category axes, since if I create two ItemMappings both with DataPointMember.XCategory, RadChart will only use the last one.  If this is an option, that would be great.
  • Could I use RadGridView's grouping panel to do the grouping?  I may have something set up incorrectly but even if I provide grouping functions for the GridView, when I group the GridView, the Chart displays a single series of data points with 0 as the YValue.
Peshito
Telerik team
 answered on 21 Dec 2013
1 answer
326 views
Hi how to get corner radius ie, rounded corner combobox in WPF, and also i dont need ro show the scrollbar while it showing items in the combobox?
thanks
Masha
Telerik team
 answered on 21 Dec 2013
2 answers
564 views
I want to save the image in the Image Editor to byte[]. How to achieve this? Is there any example available?

Thanks in Advance,

SamJayander.
samjayander
Top achievements
Rank 1
 answered on 21 Dec 2013
5 answers
231 views
Hi,

I'm using CartesianMarkedZoneAnnotation on RadCartesianChart with a date/time x-axis. When zooming and/or panning the annotation starts moving to a wrong position. The control is inside a tab. Switching between tabs refreshes the control and the annotation returns to the correct position. Bug? Am I missing something?

Markus
Petar Marchev
Telerik team
 answered on 20 Dec 2013
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?