Telerik Forums
UI for WPF Forum
1 answer
218 views

Hello,
    I've implemented an undo capability into the grid. If a user changes the value of a field but they want to reverse the change they will click on the undo button and the change is undone. This undo functionality remembers only the last change. I've implemented this using List's and by clearing out the grid and re-building the grid using the data in the lists. It works but it's slow. Imagine re-building a 2000 row X 800 column grid. I tried saving the previous state of the data in the grid in another datatable and then getting rid of the current datatable and making this datatable the current one but I ran into many problems.

Is there a better way of doing this?

Thanks,

Stefan
Telerik team
 answered on 01 Feb 2016
5 answers
211 views

Hi,
We are trying to automate the controls present inside the RadbusyIndicator and not able to access the controls both using CUIT and UI Automation in our application.Similar behavior is observed with CRM Sample application in telerik website (http://www.telerik.com/wpf/sample-applications).Could you please check and provide necessary help in this regard??

 

Regards,
Nagasree.

Georgi
Telerik team
 answered on 01 Feb 2016
2 answers
255 views

Hi,

 I am trying to use RadComboBox with check box items - using this MultiselectionComboBox http://www.telerik.com/forums/multi-select-combobox-column-b1333dcb19e7#A84Ijx2y90Cke9PV3xKCOA

Then I added a button to this view and after checking some check boxes I click on this button - nothing happens and I need to click on it second time in order to trigger the desired action.

Looks like one click is "wasted" on closing the combobox. Is there any way to prevent this so that after checking any check box in combobox clicking on the button will actually trigger button click event?

Thanks

Victor

 

Victor
Top achievements
Rank 1
 answered on 01 Feb 2016
11 answers
365 views

Hi,

I am using radcartesianbarchart to show multiple bar series. For example if i have category1, category2, and total these are the series collection.

If i click on legent of category1, need to show the category1 series. same for category2. If i click on total it should show all series. How we can achieve this.

Using hover property we can show fadeout of other series. But i need to draw when click on the legend only. Also please advise how to do animation for the chart series.

Thanks,

Arun

Arun
Top achievements
Rank 1
 answered on 01 Feb 2016
1 answer
182 views

Hi,

I'm trying to bind items dynamically to a RadMenu but I only ever see an empty RadMenu despite the fact that binding a standard Menu to the same DataContext property works perfectly fine.

In my screenshots you can see I've tried two approaches but the RadMenu directly under the TitleBar of the Window simply remains blank. I'm adopting the standard approach with ObservableCollections for this and since the standard Menu works, I can't see why the RadMenu doesn't.

I'd be very grateful for any assistance.

 

M.Young

Yana
Telerik team
 answered on 01 Feb 2016
3 answers
1.2K+ views
I've adapted the ContextMenu sample from the sample application where you can set the Visibility for each Column of a RadGridView for my application.
Now it would be nice if the ContextMenu stays open and the user can set the Visiblity of all columns without having to right-click on the header for each single column he wants to show or hide and if the ContextMenu closes when you click outside of it.

Is there a way to do that with RadContextMenu?

Thx

Polya
Telerik team
 answered on 01 Feb 2016
1 answer
806 views
I need to unsubscribe these events

 1. EventManager.RegisterClassHandler(typeof(RadTreeViewItem), Mouse.MouseDownEvent, new MouseButtonEventHandler(OnTreeViewItemMouseDown), false);
2. RegisterClassHandler(typeof(RadTreeView), RadDragAndDropManager.DragInfoEvent, new EventHandler<DragDropEventArgs>(OnTreeViewDragInfo), false);
3. RegisterClassHandler(typeof(RadTreeView), RadDragAndDropManager.DropQueryEvent, new EventHandler<DragDropQueryEventArgs>(OnTreeViewDropQuery), true);
Martin Ivanov
Telerik team
 answered on 01 Feb 2016
1 answer
179 views
I've looked around and can't really figure out how to do this. Anyone have any ideas? I just want to change the gear looking image to something like a label. Is this possible?
Masha
Telerik team
 answered on 01 Feb 2016
2 answers
181 views

I have applied an editable radtabitem header as the following

 I can see the editable TextBox set the the initial value for the header I can change it , but the Header Property it self still the same , so please what is wrong here?

 

<Style TargetType="{x:Type socialtracker:EditableTabHeaderControl}">
               <Setter Property="Template">
                   <Setter.Value>
                       <ControlTemplate TargetType="{x:Type socialtracker:EditableTabHeaderControl}">
                           <Grid>
                               <Grid.Triggers>
                                   <EventTrigger RoutedEvent="Grid.DragEnter">
                                       <BeginStoryboard x:Name="GridBeginStoryboard">
                                           <Storyboard>
                                               <DoubleAnimation Storyboard.TargetName="ButtonTransform" Storyboard.TargetProperty="ScaleX" Duration="0:0:0.5" From="1" To="1.1"/>
                                               <DoubleAnimation Storyboard.TargetName="ButtonTransform" Storyboard.TargetProperty="ScaleY" Duration="0:0:0.5" From="1" To="1.1"/>
                                           </Storyboard>
                                       </BeginStoryboard>
                                   </EventTrigger>
                                   <EventTrigger RoutedEvent="Grid.DragLeave">
                                       <StopStoryboard BeginStoryboardName="GridBeginStoryboard"/>
                                   </EventTrigger>
                                   <EventTrigger RoutedEvent="Grid.Drop">
                                       <StopStoryboard BeginStoryboardName="GridBeginStoryboard"/>
                                   </EventTrigger>
                               </Grid.Triggers>
                               <TextBox x:Name="PART_EditArea"
                           Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content, Mode=TwoWay}"
                           Visibility="Collapsed" />
                               <ContentPresenter x:Name="ContentPresenter"
                           Content="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content, Mode=TwoWay}" />
                           </Grid>
                           <ControlTemplate.Triggers>
                               <Trigger Property="IsInEditMode" Value="True">
                                   <Trigger.Setters>
                                       <Setter TargetName="PART_EditArea" Property="Visibility" Value="Visible" />
                                       <Setter TargetName="ContentPresenter" Property="Visibility" Value="Collapsed" />
                                   </Trigger.Setters>
                               </Trigger>
                           </ControlTemplate.Triggers>
                       </ControlTemplate>
                   </Setter.Value>
               </Setter>
           </Style>

Binding binding = new Binding
                   {
                       Path = new PropertyPath("."),
                       Mode = BindingMode.TwoWay,
                   };
 
                   var editableTabHeaderControl = new FrameworkElementFactory(typeof(EditableTabHeaderControl));
                   editableTabHeaderControl.SetBinding(EditableTabHeaderControl.ContentProperty, binding);
                   DataTemplate newDataTemplate = new DataTemplate() { VisualTree = editableTabHeaderControl, };                   
                    
                   RadTabItem item = new RadTabItem
                   {
                       Tag = new ObservableCollection<Tweet>(),
                       Name = "SelectedPrint" + _intSelectedPrintTabsCount.ToString(),
                       Header = " New Tab " + _intSelectedPrintTabsCount.ToString(),
                       HeaderTemplate =  newDataTemplate 
                                             
                   };
                    
                   tbSearchAndFOllow.Items.Insert(tbSearchAndFOllow.Items.Count - 1, (item));

Omar
Top achievements
Rank 1
 answered on 31 Jan 2016
1 answer
246 views

Hello,

I have added a footer to my gridview using the SumFunction. The content of all regular cells is aligned right (numeric values) but I cannot change the alignment of the result in the footer. Everything placed in the footer is rendered with minimal width and ignoring the width of the column, therefor all alignment settings are ignored.

 Any advices how to align the content in the footer?

 Thanks in advance.

Stefan Nenchev
Telerik team
 answered on 29 Jan 2016
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
PersistenceFramework
DataPager
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?