I'm trying to bind my own ICommand to a RadRibbonButton's Command. My code is based on the example at http://demos.telerik.com/silverlight/#RichTextBox/Binding. The relevant bit of the XAML hierarchy is:
<telerik:RadRichTextBoxRibbonUI DataContext="{Binding Path=Commands, ElementName=richTextBox}">
<telerik:RadRichTextBoxRibbonUI.QuickAccessToolBar>
<telerik:QuickAccessToolBar>
<telerik:RadRibbonButton telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=SaveCommand}" <== This is the button I want to bind my MVVM ICommand to.
Obviously, I removed the RichTextCommand attached property, and tried to bind the Command property to the ICommand on my viewmodel, which is set as the DataContext for the Window. As you can see, the example XAML (above) modifies DataContext at the RadRichTextBoxRibbonUI level, so to get back to "my" DataContext, I set a "Name" to an element higher up the visual tree, and used "ElementName" in my Binding, with the intent of using "Path=DataContext.MySaveCommand"; but I got a binding error saying that it couldn't even find the named element. I also tried {x:Reference} but got circular reference issues with that.
Please can someone demonstrate how to bind that command using MVVM?
My project references the "2016.3.1024.45" version of the assemblies. I tried attaching it; but it wouldn't let me.
Hi,
Is there a way to show tool tip when I hovering on the "hour" or "day" in my time line? see attached file.
When I hovering 11 AM I want to show tool tip : 11:00 AM Aug 6 2012
(according the boundaries of the start/end TimeLine parameters)
When I hovering 13 PM I want to show tool tip : 13:00 PM Aug 6 2012

Hi,
I have a custom library which has provision to handle '+', '-' and many other operators along with custom functions. My requirement is that, I want spreadsheet to call my library to evaluate the cell formula. The operands of the operators ('+' etc. ) are custom and cannot be calculated by default engine.

Freeze Pane is not working as expected when we try to change freeze position programmatically.
When i try to change freeze position on a Button click the change in the UI for freeze is not happening.
Is anything i am doing wrong.?
Thanks

Hi
I have a RadCartesianChart (see XAML below) in a DataGridTemplateColumn but cannot find a way to reduce the amount of vertical space it is taking up. It seems to have a minimum height? Please advise.
<DataGridTemplateColumn Header="MyColumn"
IsReadOnly="True"
Width="300">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<telerik:RadCartesianChart Name="MyChart"
VerticalAlignment="Stretch"
Margin="10"
MaxHeight="20">
<telerik:RadCartesianChart.Behaviors>
<telerik:ChartTooltipBehavior />
</telerik:RadCartesianChart.Behaviors>
<telerik:LineSeries ItemsSource="{Binding HistoricValues}"
ValueBinding="RawValue"
CategoryBinding="Year">
<telerik:LineSeries.PointTemplate>
<DataTemplate>
<Ellipse Fill="Blue"
Width="8"
Height="8"/>
</DataTemplate>
</telerik:LineSeries.PointTemplate>
</telerik:LineSeries>
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:CategoricalAxis />
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis Minimum="{Binding HistoricValueMinimum}"
Maximum="{Binding HistoricValueMaximum}"
MajorStep="{Binding HistoricValueStep}"
Visibility="Collapsed"/>
</telerik:RadCartesianChart.VerticalAxis>
</telerik:RadCartesianChart>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
Thanks

Hello everyone.
I have noticed a strange RadGridView's behavior when I'm copying value from decimal cell (with DataFormat string) or exporting grid content to Excel.
If I use IQueryable as GridView ItemsSource, there is copied value the same as on-screen value. For example, I have a value 1000000 in data source and {0:N2} as DataFormatString, and a result value displayed in cell will be "1 000 000,00". When I copy this cell via Ctrl+C or export the datagrid to Excel, the result will be also "1 000 000,00", string with spaces between digits, not number. Math functions in Excel cannot be applied for that value.
However, If use IEnumberable instead IQueryable, the exported and pasted values will be absolutely the same as it in DataSource and will have their native type (decimal).
How can I copy the cell value in it native type using IQueryable as data source?
The check-spelling-as-you-type logic of RichTextBox treats multiple words separated by a non-space character (e.g., a comma or slash) as a single word. For example, me/myself gets underlined as shown on the attached picture (or here). Also note how a punctuation mark (e.g., a period) is included and underlined as a part of the word, e.g. for miiispelled. on the same picture.
I've investigated this a bit and it comes down to the fact that both "me/myself" and "miiispelled." are treated with a single SpanLayoutBox, which I believe is an atomic unit for underlining. Please correct me if I'm wrong.
Is this a bug or a "feature"? Is there any workarounds to make RichTextBox to interpret (and spell-check) such sequences of text as separate SpanLayoutBox objects?
Thank you.
