Hello,
I'm using a RadDropDownButton as Editor inside a RadGridView cell. I have to display the DropDownContent when the cell enters in edit mode.
I've tryied to set the RadDropDownButton IsOpen property to "True" on the RadDropDownButton GotFocus event, but the RadDropDownButton immediatly closes its DropDownContent.
Any suggestion?
Thanks in advance.
I have situation as below:
https://prnt.sc/m4wbkw
I have amount of cash in one column, and columns with teams. Each team can have some % in project.
Now I want to have in footer sum of the total amount which is multiply by % of each project.
Can someone help me? I've searched and there was nothing about multiplication.
Thanks.

Hello!
Still working on the app with RadMap control. Now have possibility to place points and provide zones on the map (flag and a square on the screenshot 1)
While zooming map in and out, the zone size remain same, but the flag icon changes its size realtive to the map (screenshot 2). As I see, the cause is that the zoom changes, but the flag sixe remains the same.
The question is: is it possible to change the flag picture (or any other picture) absolute size while zooming, so it would cover the same part of map on any zoom level (as square zone does on the screenshots).
Thank you!

Hello,
I was able to override the style of the RadWindow prompt according to this thread: https://www.telerik.com/forums/radwindow-prompt-textbox-as-password
and I added one more textbox but I could not read result (or did not know how) so I can use them in my app.
Is this approach possible because PromptResult is a string
Thanks alot
Hello,
In our project we must create a DataTemplate for a grid cell programmatically. Everything works perfect, but a click to a button within the template does not work.
Here is a snippet of the code:
var cellEditTemplate = new DataTemplate();
var dockPanel = new FrameworkElementFactory( typeof( DockPanel ) );
dockPanel.SetValue( DockPanel.LastChildFillProperty, true );
var textBlock = new FrameworkElementFactory( typeof( TextBlock ) );
textBlock.SetValue( FrameworkElement.StyleProperty, textBlockStyle );
textBlock.SetBinding( TextBlock.TextProperty, binding );
textBlock.SetValue( DockPanel.DockProperty, Dock.Left );
var button = new FrameworkElementFactory( typeof( RadButton ) );
button.SetValue( FrameworkElement.StyleProperty, buttonStyle );
button.SetValue( ContentControl.ContentProperty, "Press me" );
button.SetValue( FrameworkElement.MinWidthProperty, 0.0 );
button.SetValue( DockPanel.DockProperty, Dock.Right );
button.AddHandler( Button.ClickEvent,
new RoutedEventHandler( ( sender, args ) =>
{
int i = 0;
i++;
} ) );
button.SetValue( Button.CommandProperty );
dockPanel.AppendChild( button );
dockPanel.AppendChild( textBlock );
cellEditTemplate.VisualTree = dockPanel;
cellEditTemplate.Seal();
The event handler is not called.
Best regards,
Michael

Is there a way to find out if the RadListBox.SelectionChanged event was triggered by user input (mouse click, touch, tabbing, keyboard input...) vs programmatically (by setting datacontext, binding, or setting RadListBox.SelectedItem in code behind)?



Hi,
Can anyone help me with this problem. Please look here:
http://prntscr.com/m4t10v
The code of my GridView:
<telerik:RadGridView x:Name="GV_ProjectTerms" AutoGenerateColumns="False" Margin="10" RowIndicatorVisibility="Collapsed" ShowSearchPanel="False" CanUserFreezeColumns="False" CanUserReorderColumns="False" DragElementAction="None" IsFilteringAllowed="False" ShowGroupPanel="False">

I'm using 2017.3.1018.45 on 64-bit Windows 10 and Visual Studio 2017.
My application has a single chart view. I can change the data that is displaying. The DataContext changes out from under the view. When the DataContextChanged message arrives, I:
1. save the current pan/zoom settings for the chart.
2. clear all series.
3. generate all series for the new data context
4. restore the pan/zoom settings that were saved from the last time this data was displayed.
Except that it doesn't work at all. I have tried saving and restoring: Zoom, PanOffset, Horizontal/Vertical-ZoomRange-Start/End.
At first, I tried just saving/restoring Zoom and PanOffset. I could successfully set the Zoom, but the PanOffset was always (0,0) after the set.
I have tried invoking my restore operation on the dispatcher during Idle, so it should be done after everything has been complete.
Any ideas?
-John.