Hello,I want to bind some property from my ViewModel to a RadWindow.HeaderTemplate. My approach seems not to work. Can you help me with this?
<telerik:RadWindow.HeaderTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <Image Width="18" Source="Resources/ICO/CANsymEdit.ico" Stretch="Uniform" /> <!--<ContentPresenter Content="{Binding}" Margin="5,0" />--> <TextBlock Text="{Binding DataContext.ActiveDocument, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" VerticalAlignment="Center" Margin="5,0" /> </StackPanel> </DataTemplate></telerik:RadWindow.HeaderTemplate>
regards,
Tobias
I'm currently using the RadMaskedNumericInput as follows:
<telerik:RadMaskedNumericInput Value="{Binding Value}" Mask="#6.3" SelectionOnFocus="SelectAll" UpdateValueEvent="LostFocus" TextMode="PlainText" IsClearButtonVisible="False" AutoFillZeros="True" HorizontalAlignment="Stretch" Culture="zh-CN" Placeholder=" " AutoFillNumberGroupSeparators="False" />As long I'm using german or english keyboard settings, this works as exptected. So if I would type in e.g. "1.23" (either with dot or comma as the decimal seperator), I get the exact same value.
But now one of our chinese customers has informed us, that he isn't able to input the values as exptected. So for testing purposes, I switched the keyboard layout virtually to Chinese (simplified, China) - Microsoft PinYin. This is then things start to get strange: With that, if I click in the control as before and then typing "1.23", I get the odd number "100.010,200" (again same result either for dot or comma).
Does anyone know why this happens and how to avoid this behavior?
Thanks in advance.

Hello!
Is it possible to change the titelbar background color (window titlebar) to the Office 2016 theme accent color?

<telerik:RadGridView ItemsSource ="{Binding ResultList}"
rad:GridViewSelectionUtilities.SelectedItems = "{Binding ResultItems}"
Margin="10,5"
GroupRenderMode ="Flat"
HorizontalAlignment="Left"
AutoGenerateColumns="False"
ShowColumnHeaders="True"
RowDetailsVisibilityMode="Visible"
ShowGroupFooters="False"
ShowGroupPanel="False"
RowIndicatorVisibility="Collapsed"
EnableColumnVirtualization="True"
EnableRowVirtualization="True"
VirtualizingPanel.IsVirtualizing="True"
ScrollViewer.HorizontalScrollBarVisibility ="Auto"
ScrollViewer.VerticalScrollBarVisibility ="Visible"
FrozenColumnsSplitterVisibility="Collapsed"
IsFilteringAllowed="False"
IsReadOnly="True"
AutoExpandGroups="False"
ShowSearchPanel="True"
SearchPanelCloseButtonVisibility="Collapsed"
SelectionMode="Extended"
SelectionUnit="FullRow"
>
<telerik:RadGridView.GroupHeaderTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<CheckBox rad:GridViewGroupCheckUtilities.IsEnabled="True" IsThreeState="True" />
</StackPanel>
</DataTemplate>
</telerik:RadGridView.GroupHeaderTemplate>
<telerik:RadGridView.GroupDescriptors>
<telerik:GroupDescriptor Member="CategoryName"
SortDirection="Ascending">
<telerik:GroupDescriptor.AggregateFunctions>
<telerik:CountFunction />
</telerik:GroupDescriptor.AggregateFunctions>
</telerik:GroupDescriptor>
</telerik:RadGridView.GroupDescriptors>
.....
</telerik:RadGridView>
Hi. Guys.
I used the selectedItems, GroupHeaderTemplete using SDK Sample Browser provided by you.
I use Group Selection in the SDK sample list, but I want to change it to GroupDescriptors display Name, but it doesn't change.
Please check the image. Thx.
Struggling to mimic the Grid View Exporting to Xlsx and Pdf example in the DEMO to understand how to build this function in a project. For the most part I have created the a working code but two things happens.
1) I get zero bit excel file.
2) In the code get System.ArgumentException "Please provide GridViewDataControl for exporting!". Sure enough in "var grid = param as RadGridView;" Param looks good bu the "grid" is null. Not sure how to over come.
When I run the demo program for the first time and open the xlsx file I'm getting something about the formatting is not correct...
private void Export(object param) { var grid = param as RadGridView; var dialog = new SaveFileDialog() { DefaultExt = this.SelectedExportFormat, Filter = String.Format("(*.{0})|*.{1}", this.SelectedExportFormat, this.SelectedExportFormat) }; if (dialog.ShowDialog() == true) { using (var stream = dialog.OpenFile()) { switch (this.SelectedExportFormat) { case "xlsx": grid.ExportToXlsx(stream); break; case "pdf": //grid.ExportToPdf(stream); break; } } } }::private void ExportDefaultStyles(object param) //private void ExportDefaultStyles(RadGridView param) { var grid = param as RadGridView; var exportOptions = new GridViewDocumentExportOptions() { ExportDefaultStyles = true, ShowColumnFooters = grid.ShowColumnFooters, ShowColumnHeaders = grid.ShowColumnHeaders, ShowGroupFooters = grid.ShowGroupFooters }; var dialog = new SaveFileDialog() { DefaultExt = this.SelectedExportFormat, Filter = String.Format("(*.{0})|*.{1}", this.SelectedExportFormat, this.SelectedExportFormat) }; if (dialog.ShowDialog() == true) { using (var stream = dialog.OpenFile()) { switch (this.SelectedExportFormat) { case "xlsx": grid.ExportToXlsx(stream, exportOptions); break; case "pdf": grid.ExportToPdf(stream, exportOptions); break; } } } }In both methods I'm not correctly figuring out how to set the "grid" correctly so it can be passed down. It works this way in your demo.
Is there any way to download the demo to work on it locally?

Hi. I am looking at using your SyntaxEditor control and had a few questions before I dive into this. I have read all forum items and all documentation. I am pretty sure your control supports these questions, but I want to double check.
I have a custom language where I would need dynamic Inteliprompt lists to be displayed. For instance, if I have a variable and I press a period. I would like different lists to be displayed based on datatype (which I would parse out ahead of time). Is this dynamic functionality available?
Next, at times I need the control to be read-only. Is this available?
Next, while the control is read-only, can I dynamically highlight a single row and change this highlighted row as needed via your API?
Lastly, are the language element tooltips dynamic? Is there an event that fires or something I may intercept to set the tooltip for a language element (i.e. a variable) before it is displayed? (I assume your tooltips use your tooltip control.)
Thank you for your time.
Hello,
Help me to perform sorting on telerik gantt view columns
I'm looking for a quick way to enabled/disable tooltips application wide (globally). I realize I can do the following on EVERY single control:
RadToolTipService.SetIsEnabled(Me.bnSettings, False)
repeat for each control in my application, however, I was hoping there was an easy way to enable/disable all tooltips in my application?
Cheers, Rob.

