Telerik Forums
UI for WPF Forum
16 answers
523 views
I am trying to intercept the Drop of a RadDiagramShape from the RadDiagramToolbox to the RadDiagram

from what i think i understand - i have to add a Drag Initialization handler to set up the payload which i can eventually grab by setting up a DropHandler

i use the following to set up the DragInitialize handler.

 

DragDropManager.AddDragInitializeHandler(TheRadDiagramToolbox, OnDragInitialize);
 My problem is that the DragInitialization Handler is not firing

However, my DropHandler is firing
DragDropManager
.AddDropHandler(this.Diagram, OnDiagramDrop);

2 questions -
1. Am i supposed to use the DragInitializedHandler on the RadDiagramToolbox
2. Is there anyway to grab the RadDigramShape payload right from the DropHandler without having to call the DragInitializeHandler

Thank You Very Much
FF

Martin Ivanov
Telerik team
 answered on 14 Dec 2016
7 answers
258 views

I'm trying to create a data template for items on a VisualizationLayer. For each item I'd like to show:

a) a shape whose points are in geographic units (i.e. the shape grows/shrinks as the map zoom changes (I've been trying to use MapShapeView types)

b) an ellipse of fixed size i.e. whose screen size remains the same as the map is zoomed in/out.

c) an image element (which again keeps the same size as the map is zoomed)

d) a textblock (which again keeps the same size as the map is zoomed)

All four elements should be bound to properties in the item's view model.

Is this possible with a VisualizationLayer? I've been able to do it with an InformationLayer.

Thanks

Pete

Dinko | Tech Support Engineer
Telerik team
 answered on 14 Dec 2016
4 answers
296 views

Does anyone know how to make the RadMenuItem PopUp open to the bottom right? 

DropDownPlacement has Bottom, Top, Right, Left and Auto.  But I cannot find a way to move the popup to the bottom right.  

Nasko
Telerik team
 answered on 14 Dec 2016
1 answer
169 views

Hello,

How can I get the value of a group of RadioButtons ?

How can I set the default value of each group ?

 

The following code for example contains 2 groups:

<StackPanel>

      <telerik:RadRadioButton Content="Item 1.1" />

     <telerik:RadRadioButton Content="Item 1.2" />

</StackPanel>

<StackPanel>

     <telerik:RadRadioButton Content="Item 2.1" />

     <telerik:RadRadioButton Content="Item 2.2" />

</StackPanel>

 

Thank you,
Z.V

Dinko | Tech Support Engineer
Telerik team
 answered on 13 Dec 2016
5 answers
292 views
Thanks,
Brew
Yana
Telerik team
 answered on 13 Dec 2016
1 answer
208 views

Hi,

I'm trying to use radmap to show a number of objects that move (between updates, approximately every 500ms). I'm showing the track the object has taken as a number of line segments (currently using PolyLineView). I've bound the layer item source to a collection containing the object (as an image) and a line segment showing for each track update. Can you advise on the best way to cause the tracks to be redrawn when a track update happens? I've been using an observable collection but the layer does not seem to update in response to the addition of a new line segment view model.

The other problem I have is that I'd like to draw each line segment as a colored line with a shadow effect - I'm not sure if this is possible?

I'd also like each line segment to show a tooltip when the user hovers over the line segment - is there some way I can increase the size of the area the mouse has to be over to show the tooltip (i.e. if the line thickness is small the user have to position the mouse very accurately.

Thanks for any suggestions received,

Pete

Petar Mladenov
Telerik team
 answered on 13 Dec 2016
1 answer
312 views
I've extended the base slider. And I've drawn lines on the integral values (i.e. 1,2,3,4). And I've changed the thumb shape to ellipse. Now as you can see in the image, the ellipse moves from the center according to the value. I'v tried changing the coordinates received from the slider thumb to point in center but all in vain.
Milena
Telerik team
 answered on 13 Dec 2016
6 answers
185 views
Hi,
I have few questions on inline editing:

1. There is a protected variable isInEditMode, which indicates that a RadTreeViewItem is in edit mode. Is there a public property or any other way to identify whether a RadTreeViewItem  is in edit mode?
2. Pressing F2 triggers inline editing, after editing node text, if i press enter then Edited event gets fired but if i use mouse click to lose focus from editing item, then it (Edited event) does not, why?
3. I am initiate the inline editing by calling BeginEdit() but want to disable it on F2 key press, Is there any way to achieve this?

Thanks
Sonal
Jason D
Top achievements
Rank 1
Veteran
 answered on 12 Dec 2016
3 answers
215 views

Hi,

I have code written by fellow developer who used RadPanelBar to visualize hierarchical datasouce. He wrote (imho too many) templates. Now I am looking how to enable / disable item - I would say functionality like this in TreeViewItem
http://docs.telerik.com/devtools/wpf/controls/radtreeview/features/treeview-item/feautres-treeviewitem-enable-disable-items
I managed to block action in code, nonetheless I am looking how to set it so that it looks nice visually (and I wish to avoid to write xaml code in order just to disable item;))

Best regards,

Dinko | Tech Support Engineer
Telerik team
 answered on 12 Dec 2016
5 answers
456 views
Hi

I have added one column as <telerik:GridViewSelectColumn/> so that the user will have the option to select/unselect all the rows at a time. Now I want to access the rows which user has marked as checked on this column.

<telerik:RadGridView     SelectionMode="Extended"         ItemsSource="{Binding FilterDataGridRows}"     SelectedItem="{Binding SelectedData,Mode=TwoWay}"

Doing something like this...but this is not working...

It is suggested on this side to use some dependency property to get the SelectedItems.....

Is there any easy way to achieve the selected rows ??
Dilyan Traykov
Telerik team
 answered on 12 Dec 2016
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?