Telerik Forums
UI for WPF Forum
5 answers
88 views
Hi,
I was wondering, is it possible to create your own chart type in RadChart?

Thanks,
Petr
Giuseppe
Telerik team
 answered on 18 May 2011
3 answers
342 views

Hi,

How would you handle the following issue?

Setup
I have a DocumentHost control which contains 2 RadPanes (RadPane1 and RadPane2). Each RadPane contains 2 textboxes (Textbox1 and Textbox2). I have subscribed to the GotFocus and LostFocus on each RadPane.

Steps
1. I float RadPane2 and subscribe to the GotFocus and LostFocus of the ToolWindow using the PaneStateChange event.
2. I leave RadPane1 in the DocumentHost.
3. I click on RadPane1 Textbox1 and the RadPane1 GotFocus is fired.
4. I click on RadPane2 Textbox1 and the RadPane2 and ToolWindow GotFocus is fired.
5. I click on RadPane1 Textbox1 and no GotFocus is fired for RadPane1.
6. I click on RadPane2 Textbox1 and no GotFocus is fired for RadPane2.
7. If I click on RadPane1 Textbox2 GotFocus is fired.

Observation
It seems as though I can have one RadPane in the DocumentHost and one floating ToolWindow which both think they have focus at the same time. Shouldn't I only be able to have one RadPane that has focus as any point in time?

Question

How can I work out which pane has focus regardless of where it is located? Unfortunately the RadDocking control does not have an event like this.

 

Yana
Telerik team
 answered on 18 May 2011
5 answers
515 views
Hey everyone,

I've been working hard for a solution for this but to no avail up to this point.  We are working in a WPF - XBAP configuration to port a legacy PowerBuilder app and are finding ourselves mostly at home using the Telerik WPF Controls.  While our issue may not be directly related to the controls in particular, it is a factor of using them for specific purposes.  We are using an overall RadMenu for navigation and obviously input accelerators (Alt+M,S, etc.) generally conflict with the browser.  However, keyboard shortcuts themselves, something like a Ctrl+Shift+M, do not conflict.  I'm looking for a configuration that allows the shortcuts to be mapped to RadMenuItem clicks application wide, so that they are focus independent and always bubble to the Menu.  So far, I've been at a loss to narrow down my search to exactly what I need and, being new to WPF, it's already been a learning curve ahead.

What approach would you recommend for achieving this?  Would doing the same setup work differently/better with a standalone WPF app or a Silverlight app such that it is truly the XBAP format that is hurting my implementation of this so far?

Thanks a ton,
Adam.g
Hristo
Telerik team
 answered on 18 May 2011
4 answers
660 views
I've been trying to style the Rad Tab Control and I've been mostly successful with one minor detail remaining. In the drop down button on the far right (where you can click through the other tabs) if you highlight over the options the background color turns orange - you can see what I'm talking about in the image below. I have tried to change the theme and all of the options seem to have a blue hover over color. It seems as though this orange background is being applied in the DropDownStyle's ItemsPresenter but I can't figure out where to make the change to use the correct color. Additionally, I'd like if the elements were stretched to take up the entire space in the drop down so that the "x" close buttons are all neatly aligned on the left. 

If you can help me with these two issues I would greatly appreciate it.
  1. Blue hover over on Drop Down Menu items (instead of the orange)
  2. Stretch the elements in the ItemsPresenter to take up the full space so that they are all neatly aligned.

On a side note, if you have the hex colors or brush easily accessible for the other blue hover overs (like on the office_blue or Windows7 themes) I would appreciate it so that I can make sure it matches with the rest of the system.

Thank you,
Ben
Drop Down Menu Image
Ben
Top achievements
Rank 1
 answered on 17 May 2011
1 answer
135 views
Hi team...
Im using Radbook with RadDocumentBindingSource.
RadDocumentBindingSource use RadDocument..
I added HyperLink in RadDocument..
But hyperLink is work at Click with Press Ctrl Key.
I Want hyperlink work just click..
RadRichTextBox Have HyperlinkNavigationMode..
but RadBook,RadDocumentBindingSource,RadDocument
don have HyperlinkNavigationMode.
How Can I use hyperlink without Ctrl Key?

And When I use System.windows.Document.hyperlink...
i could use hyperlink.MouseClick+=clickEvent;
but HyperlinkInfo don have any event..

please help me.

Thanks~
Boby
Telerik team
 answered on 17 May 2011
9 answers
284 views
I'm using entity framework and binding a GridView to a entity collection.

I've got an entity Complaint. It has a collection of Resolutions. Each resolution has a collection of Actions. So my grid binds to Complaint.Resolutions. And I've got a HierarchyChildTemplate defined which binds to the Actions collection.

My ActionGrid has CanUserDeleteRows = True and CanUserInsertRows = True. I've also set ShowInsertRow = True.

deleting rows keeps triggering an error from EF about the required relationship being null. How do I capture this? I think it has something to do with how the row gets added. Right now I'm binding to the Deleted event and then looping through each item and telling the context to delete it. But the problem is that by then it's already been removed from the collection, so when I try to save, I still get the foreign key is null error.

Trying to capture the deleting event isn't working. When is this event raised? I've tried binding to it, but my command isn't being hit when I press the Delete key for a row. The row is just removed from the collection.
Rayne
Top achievements
Rank 1
 answered on 17 May 2011
1 answer
154 views
Hi,
I am using telerik 3D pie chart. My Pie chart has 3 legent items and 3 pies for data.
I want to define the different colors than what I see in the current theme.
Where do I set the property in order to change the individual Pie Color for the PieChart.
Thanks
Yash
Evgenia
Telerik team
 answered on 17 May 2011
5 answers
83 views
Hello,

It's possible to define manually maximum et minimum of AxisX.

Example :

Data : (2.12, 3.25, 4.25, 6.21, 1.25, 10.24)

I want minimum AxisX = 2 and maximum AxisX = 11 but i have to manually change it how ?


Best redards
Evgenia
Telerik team
 answered on 17 May 2011
1 answer
139 views
Hello,

I selected points on my chart by 

this.monGraph.DefaultView.ChartArea.SelectItem(item);

The data are well selected but I don't see it visually on the chart, it
no color change point or another.

How can I do to it change color?

Best regards,
Missing User
 answered on 17 May 2011
6 answers
411 views
Is it possible to use mouse-scrolling to zoom the current view of the ScheduleView.
E.g. in day view the hours from 00:00 to 10:00 fit on one screen, scrolling the mousewheel down zooms out so that the whole day fits into one screen, while scrolling the mouse-wheel up zooms in.

And is it possible to use panning to scroll in the views?
I do not need to drag&drop appointments, so I was wondering if it would work to use the mouse to navigate/scroll in the view.

These two things combined would be very useful in timeline view. The user could zoom in and out using the mouse-wheel and navigate by panning.

Any suggestions how to do this?
Konstantina
Telerik team
 answered on 17 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?