I was trying to figure out why the titles of my RadPanes were not being translated. I finally figured out that the LoadLayout() also loads the header of the panes and that overrides my XAML's {x:Static properties:Resources.xxx}.
I could say "After the LoadLayout(), change the title of each pane according to the resource strings" but it would be nice if it could be done directly in the XAML. I don't believe there's a way to prevent the "Header" tag from being included in the SaveLayout/LoadLayout functions, right? To tell you the truth, I don't even see why the header is included at all!
Hi!
The DocxFormatProvider resets any Color informations of any Styles to the default light blue when I export with it.
I export like this:
DocumentFormatProviderBase format = null; format = new DocxFormatProvider(); format.Export(radRichTextBox.Document, File.Open(filename, FileMode.Create));
I used versions 2015.3.1104.45, 2015.3.1104.40 and 2015.3.930.40
Did i miss some setting or, if not, is there any workaround?
It works fine with the htmlformatprovider, but i need the header and footer, which is cut off by it.

Hello.
I am experiencing a problem with RadDatePicker
In my application, the user chooses Start date and End date and according to that, the grid is updated.
I would like to avoid using Refresh button, i.e. letting the user pick both dates and then click refresh to get the data.
On the other hand, I don't want to update the data each time one of the Pickers is changed, before the second one is also picked.
I would like to do it this way: when user picks one of the dates, the second DatePicker expands for him so he can immediately choose a second date, and no need to click a refresh button. What happens is that DatePicker.IsDropDownOpen property seems not working from code behind.
In DatePicker1 SelectionChanged event handler, I am doing DatePicker2.IsDropDownOpen=true, but this doesn't work. The DatePicker2 stays closed.
Maybe there is another control, like doubleDatePicker which makes it possible to choose a range of dates? Like in CheckIn-Checkout pages on the internet, the datepicker control consists of 2 calendars.
Thanks in advance for your help.
Alexander
Hello,
I have a telerik radGridView that itemsSource binding to my list observableCollection<Class1>
i have a button that on her click event i i add a new item to my list, i want focus the new item first cell,
so i want do it with the event AddingNewDataItem but it not camming to this event.
heer is my xaml code:
<Grid>
<telerik:RadGridView x:Name="PricingGrid" ItemsSource="{Binding}"
CanUserInsertRows="True" ShowInsertRow="True"
AddingNewDataItem="PricingGrid_AddingNewDataItem"
RowEditEnded="PricingGrid_RowEditEnded" >
</telerik:RadGridView>
<Button Content="Button" HorizontalAlignment="Left" Height="61" Margin="269,237,0,0" VerticalAlignment="Top" Width="176" Click="Button_Click"/>
</Grid>
heer is my C# code:
public partial class MainWindow : Window
{
public CollectionViewSource Source { get; set; }
public ObservableCollection<MyClass> list = new ObservableCollection<MyClass>();
public MainWindow()
{
InitializeComponent();
this.Source = new CollectionViewSource();
//var list = new ObservableCollection<MyClass>();
for (int i = 0; i < 10; i++)
{
var item = new MyClass { MyProp2 = i, MyProperty = i * 10 };
list.Add(item);
}
Source.Source = list;
this.DataContext = Source.View;
}
private void PricingGrid_RowEditEnded(object sender, Telerik.Windows.Controls.GridViewRowEditEndedEventArgs e)
{
if (e.EditOperationType == Telerik.Windows.Controls.GridView.GridViewEditOperationType.Insert)
{
this.DataContext = Source.View.OfType<MyClass>().OrderBy(c => c.MyProperty);
Source.Source = this.DataContext;
PricingGrid.SelectedItem = e.NewData;
PricingGrid.ScrollIntoView(e.NewData);
}
}
private void Button_Click(object sender, RoutedEventArgs e)
{
list.Add(new MyClass { MyProp2 = 4, MyProperty = 40 });
}
private void PricingGrid_AddingNewDataItem(object sender, Telerik.Windows.Controls.GridView.GridViewAddingNewEventArgs e)
{
}
}
public class MyClass
{
public int MyProperty { get; set; }
public int MyProp2 { get; set; }
}
thank for help!
miri.
Hello,
I'm using the RadImageEditor control in a WPF application using the Office2013 theme.
With ScaleFactor at 0, there is a margin around the image and it is not aligned with the orther controls.
With another scale factor, the scroll bars are out by one pixel: the top of the image is one pixel lower than the vertical scroll bar and the left of the image is one pixel at the right of the horizontal scroll bar.
DocumentPosition pos = new DocumentPosition(this.radRichTextBox.Document.CaretPosition); pos.MoveToCurrentWordStart();this.radRichTextBox.Document.Selection.SetSelectionStart(pos); pos.MoveToCurrentWordEnd();this.radRichTextBox.Document.Selection.AddSelectionEnd(pos);
