Telerik Forums
UI for WPF Forum
4 answers
136 views
Hi,

i have a performance problem with "Special Slots" in "schedule view". In my case I have n Groups, created dynamically out of a database. To see a special slot on grouping, I have to create each special slot for each group! In my case I have 960 Slots. Now the performance is not good on changing to moth view and on loading the application.

Is it possible to load the Slot once and use it for each group?

Thanks
Best Regards
Rene
Tim
Top achievements
Rank 1
 answered on 23 Dec 2013
1 answer
109 views
Hi,

I need a "red line" that symbolise where my draged row will insert. The "Before / After" tooltip is hard to read in a grid with lots of rows/cells.

Any good C# examples for this?

/Ken
Kennet
Top achievements
Rank 2
 answered on 23 Dec 2013
1 answer
70 views
Scenario:  I have a RadGridView with "Click here to add new item" enabled.

If I click on a row and then hit 'Enter', the selection navigates to the next row as expected.

If I click on "Click here to add new item" then a new row is created and focus is given to the first cell, as expected.  If I enter some data and press 'Enter' the data is committed but then it appears that the keyboard event is passed along to the parent control.  In my case, it dismisses the dialog.



Maya
Telerik team
 answered on 23 Dec 2013
1 answer
155 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
117 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
276 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
137 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
174 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
66 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
108 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?