First of all sorry if this question is already answered or it is very dummy.
I was using several RadTabControls in my application, but I've reached a point that I need to use a view model istead of a RadTabItem and create them in codebehind on certain conditions for one of the RadTabCotrols.
There is other function that does run through every RadTabControl retrieving all the RadTabItems by looking at the Item property. But it happens that one of my RadTabControls has a custom viewModel, so the cast to RadTabItem fails.
I suppose that it is very logical to get the ViewModel from Items property when you have defined to have a viewmodel and want to run over all items, but I wonder if there is a generic way (accessor, list) of getting just the RadTabItem control that wraps the custom viewmodel and use the same method of running through all RadTabItems for all RadTabControls.
Thanks in advance.
David.

Hello,
Is it possible to show just the recurrence dialog, without creating any scheduleview objects as well as bypassing the appointment dialog?
There is this: RadScheduleViewCommands.EditRecurrenceRule.Execute(null, scheduleview);
But i guess it requires the scheduleview object anyway?
I'd rather have something similar, but be able to pass an Appointment or RecurrenceRule objects directly.
Hi,
Hello,
I am trying to implement a RadDataForm using a DatFormComboBoxField. Following this section of documentation: http://docs.telerik.com/devtools/wpf/controls/raddataform/how-to/raddatafor-edit-lookup-values-with-radcombobox
I have been unable to produce results.
I stumbled across the ability to use an enum within a class to allow all of the enum's values to be combo box items. Sadly, as our combobox options will be changing based on our database, this won't be an effective solution. Are there any similar methods to add options to a combo box (dictionary, json object, etc)?
This has been a struggle for a few days now, any help is greatly appreciated...
<UserControl x:Class="GridUserControl" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" > <UserControl.Resources> <Style x:Key="GridViewHeaderRowStyle1" TargetType="{x:Type telerik:GridViewHeaderCell}"> <Setter Property="Background" Value="#FFD4E4A5" /> <Setter Property="Foreground" Value="DarkGreen" /> <Setter Property="BorderBrush" Value="#FFD4E4A5" /> <Setter Property="BorderThickness" Value="0" /> </Style> <Style x:Key="GridViewHeaderRowStyle2" TargetType="{x:Type telerik:GridViewHeaderRow}"> <Setter Property="Background" Value="#FFD4E4A5" /> <Setter Property="Foreground" Value="DarkGreen" /> <Setter Property="BorderBrush" Value="#FFD4E4A5" /> <Setter Property="BorderThickness" Value="0" /> </Style> </UserControl.Resources> <Grid x:Name="LayoutRoot" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> <telerik:RadGridView HorizontalAlignment="Stretch" VerticalAlignment="Stretch" GroupPanelBackground="#FFD4E4A5" ColumnBackground="#FFD4E4A5" HeaderRowStyle="{DynamicResource GridViewHeaderRowStyle2}" > <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Date sent" HeaderCellStyle="{DynamicResource GridViewHeaderRowStyle1}" /> <telerik:GridViewDataColumn Header="Customer" HeaderCellStyle="{DynamicResource GridViewHeaderRowStyle1}" /> <telerik:GridViewDataColumn Header="Invoice Number" HeaderCellStyle="{DynamicResource GridViewHeaderRowStyle1}" /> <telerik:GridViewDataColumn Header="Description" HeaderCellStyle="{DynamicResource GridViewHeaderRowStyle1}" /> <telerik:GridViewDataColumn Header="Amount" HeaderCellStyle="{DynamicResource GridViewHeaderRowStyle1}" /> <telerik:GridViewDataColumn Header="Status" HeaderCellStyle="{DynamicResource GridViewHeaderRowStyle1}" /> <telerik:GridViewDataColumn Header="Action" HeaderCellStyle="{DynamicResource GridViewHeaderRowStyle1}" /> </telerik:RadGridView.Columns> </telerik:RadGridView> </Grid></UserControl>I want to change the position of two rows
the itemsource is binding to Columns, item is currentItem,
the code :
int index = Columns.IndexOf(item) - 1;
Columns.Remove(item);
Columns.Insert(index, item);
now i must reset the source and the UI refresh
Columns = Columns.ToList().OrderBy(t => t.column_order) as ObservableCollection<Column>
Is any way tochange the position by not refresh ui?
Is there a way to customize how selection works in the RadRichTextBox. We have an application where we would like to restrict certain AnnotationRanges from being selected. I am aware of the IsCopyable property on annotation ranges, but I am specifically looking for the ability to restrict selection as opposed to restricting copying.
In addition to this, we make use of tables and when selecting the contents of a cell we would like to be able to restrict the selection to the cell contents and not allow the cell itself, the table row, or the table to be selected.
Is there any functionality that allows us to override this behaviour or see what selection is about to be made and change it before it is made?
Thanks.
Hi there,
i'm using the IWorkbookFormatProvider to open an XLSX, modify some values and save it under another name. Works fine.
Is it also possible to open an XLTX (Excel Template) File with the IWorkbookFormatProvider? That would be the much nicer solution than opening a XLSX and save it under another name. If i just change the source of for the FormatProvider to an .xltx an error is thrown.
Thanx for your help.
Mike
