Hi,
Is there any way of changing the background color on a RadDropDownButton when IsOpen = true, without needing to update the template?
I need to set the color of the tableCell when the value is larger then 30,
In a xlsx file ,I set the rule , but when it readed in spreadsheet, the value changed to 40,the color doesn't changed, It doesn't seem to support it.
How can I solve this?
Hi all,
How can i show text just above the line series in a RadCartesianChart?
<telerik:LineSeries />
I've attached a picture of what i'm trying to achieve.
Thanks.
Hi, i want to have also "MenuItem" in ToolBar besides normal Buttons. I achieved to do it, but the MenuItem is never opened. Is it necessary to do something more. Or is there any other short way to implement this behavior?
Here it is my xaml
<telerik:RadToolBar x:Name="toolBar" FocusManager.IsFocusScope="False" HorizontalAlignment="Stretch" Margin="-1 -2 -1 0" BorderBrush="{StaticResource W Grey}" AutoHideOverflowButton="True">
<telerik:RadButton Margin="2" Command="{Binding LoginCommand}" Content="Login" />
<telerik:RadButton Margin="2" Command="{Binding LogoutCommand}" Content="Logout" />
<telerik:RadMenuItem Margin="2">
<telerik:RadMenuItem Margin="2" Header="Online Change Compile" Command="{Binding OnlineChangeCompileCommand}">
<Image Source="../Resources/Images/Toolbar/Icons.16x16.OnlineChangeCompile.png" Stretch="None" />
</telerik:RadMenuItem>
<telerik:RadMenuItem Margin="2" Header="Full Compile" Command="{Binding FullCompileCommand}">
<Image Source="../Resources/Images/ToolBar/Icons.16x16.FullCompile.png" Stretch="None" />
</telerik:RadMenuItem>
<telerik:RadMenuItem Margin="2" Header="Full Deploy" Command="{Binding FullDeployCommand}" />
<telerik:RadMenuItem Margin="2" Header="Online Change Deploy" Command="{Binding OnlineChangeDeployCommand}" />
<telerik:RadMenuItem.Header>
<StackPanel Orientation="Horizontal">
<Image Margin="0" Source="../Resources/Images/Icons.16x16.OpenContextMenu.png" Stretch="None" Height="16" Width="16" Visibility="{Binding OpenContextMenuVisibility}"/>
<TextBlock Text="Action" />
</StackPanel>
</telerik:RadMenuItem.Header>
</telerik:RadMenuItem>
</telerik:RadToolBar>
Thanks, Ivo
Hello,
I have radTimeline with some items
I wanted to style the timeline and remove the top line as you can see in attached file(1) - I made a red border around this line
I tried to remove it by Blend, but the style that the blend created had an error
so I commented these lines
<!--<telerik:TimelineScrollBar.Selection>
<telerik:SelectionRange`1 End="1" Start="0"/>
</telerik:TimelineScrollBar.Selection>-->
but the problem is that now there aren't items on the timeline as you can see in the second attached file (2)
Thanks
I have RadTimeline in RadTimeBar
The timeline has some items
I want that click between the timeline's items will change the TimeBar's slider location (value)
according the position that I clicked
(I don't mind that each click (also on timeline's items) will do the same (move the slider to clicked position)
and I will change that double click makes the selection item on the timeline)
<telerik:RadTimeBar x:Name="radTimeBar"
PeriodStart="{Binding StartDate}"
PeriodEnd="{Binding EndDate}" MouseDoubleClick="radTimeBar_MouseDoubleClick"
VisiblePeriodStart="{Binding VisibleStartDate}"
VisiblePeriodEnd="{Binding VisibleEndDate}"
SelectionStart="{Binding CurrentTime, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
SelectionChanged="radTimeBar_SelectionChanged"
ScrollMode="ScrollAndZoom">
<telerik:RadTimeline x:Name="radTimeline"
PeriodStart="{Binding StartDate}"
PeriodEnd="{Binding EndDate}"
VisiblePeriodStart="{Binding StartDate}"
VisiblePeriodEnd="{Binding EndDate}"
SelectionChanged="RadTimeline_SelectionChanged"
IsSelectionEnabled="True"
StartPath="StartDate" DurationPath="Duration" ItemsSource="{Binding Events}"
ScrollMode="None">
</telerik:RadTimeline>
<telerik:RadTimeBar.Intervals>
<telerik:MinuteInterval />
</telerik:RadTimeBar.Intervals>
</telerik:RadTimeBar>
Thanks
Hello,
Is there a way to set precision and scale for a column bound to a decimal (or double) property?
I see WinForms has a GridViewDecimalColumn.
Also, is it possible to do it using attached property similar to MaxLength as described here.
Thank you,
Jan
We are using Telerik WPF controls Version 2015.3.1104.45
In our application, RadRichTexbox is used to create templates.
For a particular template, when we try to replace a table in RadRichTextBox from table in word by following these steps, radrichtextbox crashes our whole application
Steps:
* copy table from word document
* select table in RadRichTexbox by highlighting it
* Paste either by CTRL+V or by using right click context menu
* Application will crash
Detailed Exception StackTrace:
Object reference not set to an instance of an object.
Type: System.NullReferenceException:
Source:Telerik.Windows.Documents
Data: System.Object:
Stack Trace: at Telerik.Windows.Documents.Layout.DocumentLayoutBox.UpdateChildIndexesDownToParagraph(LayoutBox layoutBox, HashSet`1 documentLists) in D:\Work\MISC tasks\DMS template window crash\Telerik.Windows.Documents\Documents\Layout\DocumentLayoutBox.cs:line 169
at Telerik.Windows.Documents.Layout.DocumentLayoutBox.UpdateChildIndexesDownToParagraph(LayoutBox layoutBox, HashSet`1 documentLists) in D:\Work\MISC tasks\DMS template window crash\Telerik.Windows.Documents\Documents\Layout\DocumentLayoutBox.cs:line 182
at Telerik.Windows.Documents.Layout.DocumentLayoutBox.UpdateChildIndexesDownToParagraph(LayoutBox layoutBox, HashSet`1 documentLists) in D:\Work\MISC tasks\DMS template window crash\Telerik.Windows.Documents\Documents\Layout\DocumentLayoutBox.cs:line 182
at Telerik.Windows.Documents.Layout.DocumentLayoutBox.UpdateParagraphInListSorting() in D:\Work\MISC tasks\DMS template window crash\Telerik.Windows.Documents\Documents\Layout\DocumentLayoutBox.cs:line 157
at Telerik.Windows.Documents.Layout.DocumentLayoutBox.MeasureOverrideInternal(SizeF availableSize) in D:\Work\MISC tasks\DMS template window crash\Telerik.Windows.Documents\Documents\Layout\DocumentLayoutBox.cs:line 129
at Telerik.Windows.Documents.Layout.DocumentLayoutBox.MeasureOverride(SizeF availableSize) in D:\Work\MISC tasks\DMS template window crash\Telerik.Windows.Documents\Documents\Layout\DocumentLayoutBox.cs:line 117
at Telerik.Windows.Documents.Layout.LayoutElement.MeasureCore(SizeF availableSize) in D:\Work\MISC tasks\DMS template window crash\Telerik.Windows.Documents\Documents\Layout\LayoutElement.cs:line 711
at Telerik.Windows.Documents.Layout.LayoutElement.Measure(SizeF availableSize) in D:\Work\MISC tasks\DMS template window crash\Telerik.Windows.Documents\Documents\Layout\LayoutElement.cs:line 640
at Telerik.Windows.Documents.Model.RadDocument.Measure(SizeF measureSize) in D:\Work\MISC tasks\DMS template window crash\Telerik.Windows.Documents\Documents\Model\RadDocument.cs:line 1447
at Telerik.Windows.Documents.UI.DocumentPrintLayoutPresenter.MeasureOverride(Size availableSize) in D:\Work\MISC tasks\DMS template window crash\Telerik.Windows.Documents\Documents\UI\DocumentPrintLayoutPresenter.cs:line 476
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
I have tried to resolve this by cancelling PasteCommand and writing my own logic in CommandExecuting Event
void radRichTextBox_CommandExecuting(object sender, CommandExecutingEventArgs e)
{
if (e.Command is PasteCommand)
{
e.Cancel = true;
try
{
this.txtMsgBody.Editor.Paste(); // this will throw exception in above mentioned test case
}
catch(Exception)
{
//Even this blank catch is not preventing application from crashing
}
}
}
void radRichTextBox_CommandError(object sender, CommandErrorEventArgs e)
{
e.Handled = true; //e.Handled = true is not stopping exception propogation
//TODO: add logging
}
I have also debugged this crash by generating symbols using DotPeek and found that many internal different exceptions are also occurring due to which regardless of the catch in the radRichTextBox_CommandExecuting the application crashed.
Screen shots of which are attached
Please provide a workaround or solution for this issue. Moreover, it would be helpful if you can suggest that upgrading the version will fix this. Thanks.
Note: Our application is in production so upgrade will only be the last resort for us.