Hi,
I want to set to one RadGridView's vertical scrollbar normal mode.
Something like that but targeting to only one scrollbar.
FluentPalette.Palette.ScrollBarsMode = Telerik.Windows.Controls.Theming.ScrollViewerScrollBarsMode.Normal;
How can I achieve that? Is that possible?
Regards!
I am receiving following error when opening specific pdf document.
I followed article Value cannot be null. Parameter name - Pages But this article belongs to parameter 'pages' instead 'page'
System.ArgumentNullException: Value cannot be null. (Parameter 'page')
at Telerik.Windows.Documents.Utilities.Guard.ThrowExceptionIfNull[T](T param, String paramName)
at Telerik.Windows.Documents.Fixed.Text.TextPosition..ctor(TextPage page, Int32 index)
at Telerik.Windows.Documents.Fixed.Text.TextPosition..ctor(TextPage page)
at Telerik.Windows.Documents.Fixed.Text.TextPosition..ctor(TextDocument document)
at Telerik.Windows.Documents.Fixed.Model.RadFixedDocument.get_CaretPosition()
at Telerik.Windows.Documents.UI.FixedDocumentPresenterBase.AttachToDocumentEvents(RadFixedDocument document)
at Telerik.Windows.Documents.UI.FixedDocumentPresenterBase.DoOnDocumentChanged(RadFixedDocument oldDocument, RadFixedDocument newDocument)
at Telerik.Windows.Controls.FixedDocumentViewerBase.OnDocumentChanged(RadFixedDocument oldValue, RadFixedDocument newValue)
at Telerik.Windows.Controls.FixedDocumentViewerBase.<>c.<.cctor>b__14_1(DependencyObject s, DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Telerik.Windows.Controls.FixedDocumentViewerBase.set_Document(RadFixedDocument value)
at Telerik.Windows.Controls.FixedDocumentViewerBase.<>c__DisplayClass90_0.<DocumentSource_Loaded>b__0()
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)
Following Pdf document specs might help you
3
0 obj
[/CalRGB<</Gamma[2.2000000476837158 2.2000000476837158 2.2000000476837158]/Matrix[0.4124000072479248 0.2125999927520752 0.019300000742077827 0.35760000348091125 0.71520000696182251 0.11919999867677689 0.18050000071525574 0.072200000286102295 0.9505000114440918]/WhitePoint[0.9505000114440918 1. 1.0889999866485596]>>]
endobj
6
0 obj
<</ProcSet[/PDF/Text/ImageB/ImageC/ImageI]/XObject<</Img1 5 0 R>>>>
endobj
7
0 obj
<</Type/Page/Contents 4 0 R/MediaBox[0 0 595 842]/Resources 6 0 R/Parent 1 0 R>>
endobj
1 0 obj
<</Type/Pages/Count 1/Kids[7 0 R]>>
endobj
2 0 obj
<</Type/Catalog/Pages 1 0 R>>
endobj
xref
0 9
0000000000 65535 f
0000063589 00000 n
0000063641 00000 n
0000000016 00000 n
0000000350 00000 n
0000000430 00000 n
0000063406 00000 n
0000063490 00000 n
0000063687 00000 n
trailer
<</Size 8/Root 2 0 R/Info 8 0 R/ID [<cf5c0accdc040b8a5fd298a765972d13><aab7ac8c45a677c67feb6c1e858ec7c9>]>>
startxref
63899
%%EOF
Hi, I am trying to create simple HTML editor that will let user create html content limited to few options and the requirement here is to produce html with only <p> <u> <em> <strong> <font color="#XXXXXX"> without any spans, class or any other inline styles. I know how to limit it from UI so user can only use a few button to bold text, underscore, etc but I don't know how to get rig of these spans and other elements in export html.
Attached picture shows exported html when in RadRichTextBox I only added two texts, one is bold, second is italic.
I would like to have exported html like this: <p><strong>test</strong></p><p><i>test</i></p>
Any ideas?
I have a WPF view that contains both watermark text boxes and multicolumn combo boxes. I would like to set their properties in the resources of the view. I am having an issue where the settings of the watermarktextbox are affecting the appearance of the multicolumncombobox. Below is my code for the settings (This is under the resources of the view)
<Style TargetType="{x:Type telerik:RadWatermarkTextBox}">
<Setter Property="Padding" Value="3" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="telerik:StyleManager.Theme" Value="Office2019" />
<Setter Property="Height" Value="25" />
<Setter Property="Margin" Value="5 5 5 0" />
</Style>
<Style TargetType="{x:Type telerik:RadMultiColumnComboBox}">
<Setter Property="Height" Value="25" />
<Setter Property="Margin" Value="5,5,5,0"/>
<Setter Property="telerik:StyleManager.Theme" Value="Office2019" />
</Style>
Below is a screenshot of the of the view - notice the drop down icon of the combobox is off it has the downarrow on the right but then also up and down arrows to the left of the drop down arrow - i think its a scroll bar
I can fix this in a couple ways but neither are ideal:
1) I can set the height of the multi column combobox to 31 to get rid of those scroll bars. However, I would like all of my controls to be 25
2) I can remove the Height and Margin setters from the watermarktextbox but then I would have to go through and add those properties to each individual watermark textbox in my view
is there a setter property I can add to either the resources that would cancel out the values from the watermarktextbox or is there a way to cancel them out via a setting on each individual multicolumncombobox??
Thank you!
Hello.
I read this article.
https://www.telerik.com/forums/radcartesianchart-synchronize-scrolling
If I set to XAML, It's works.
But, I want to know how to set code behind Binding property. (Because, chart is making dynamic numbers)
I try to like below. But It doesn't work.
Please check and help me.
RadCartesianChart chart = new RadCartesianChart();
RadCartesianChart chart1 = new RadCartesianChart();
chart.Name = "chart";
Binding bds = new Binding();
Thanks.
The Week is started at the start of the month but not ended at end of the month.
Is it possible to do it?
Code :
<telerik:RadGanttView x:Name="ganttView" TasksSource="{Binding Tasks}" VisibleRange="{Binding VisibleRange}">Hi,
I use RadTabbedWindow and some items should be hidden in some cases. But if I set visibility Collapsed for such items empty space in tabs panel is exists anyway (See attached pic). How I can avoid it?
Is it possible not to set ItemWidth and ItemMinWidth or set auto width for them to get something like in usual tabcontrol where items width changes with its content?
Best regards,
Julia
Hi Telerik,
I have the same needs as below:
Nested ColumnGroups in UI for WPF | Telerik Forums
Do we have solution for this now?
Hi All,
We are using 2016.1.217.45 version of Telerik. We are setting the row height based on the value selected in the combo box.
While loading the content, application freezes. It seems to be issue with scroll functionality. Below are our observations:
Could you please suggest why application freezes when setting the RowHeight as 17?
<telerik:RadGridView Name="GridViewMain" Grid.Row="2" AutoGenerateColumns="False" ShowColumnHeaders="False" SelectionUnit="FullRow" SelectionMode="Extended"
CanUserDeleteRows="False" CanUserInsertRows="False" CanUserFreezeColumns="False" GridLinesVisibility="None"
ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" IsFilteringAllowed="False"
AlternationCount="2" ValidatesOnDataErrors="InEditMode" EditTriggers="None" >
<telerik:RadGridView.Style>
<Style TargetType="{x:Type telerik:RadGridView}">
<Setter Property="telerik:StyleManager.Theme" Value="{StaticResource TelerikWin7Theme}"/>
<Setter Property="GridLinesVisibility" Value="None"/>
<Style.Triggers>
<DataTrigger Binding="{Binding SelectedItem.Tag, Source={x:Reference ComboBoxZoom}, Mode=OneWay}" Value=".5">
<Setter Property="RowHeight" Value="17" />
</DataTrigger>
<DataTrigger Binding="{Binding SelectedItem.Tag, Source={x:Reference ComboBoxZoom}, Mode=OneWay}" Value=".75">
<Setter Property="RowHeight" Value="17" />
</DataTrigger>
<DataTrigger Binding="{Binding SelectedItem.Tag, Source={x:Reference ComboBoxZoom}, Mode=OneWay}" Value="1">
<Setter Property="RowHeight" Value="17" />
</DataTrigger>
<DataTrigger Binding="{Binding SelectedItem.Tag, Source={x:Reference ComboBoxZoom}, Mode=OneWay}" Value="1.25">
<Setter Property="RowHeight" Value="22" />
</DataTrigger>
</Style.Triggers>
</Style>
</telerik:RadGridView.Style>
Thanks in advance,
Manohar
I tried to reset Thumbnail as below code snippet, but it doesn't work as I expected.
this.xNavigationPane.Diagram = null;
this.xNavigationPane.RefreshThumbnail();
Could you show me how to make it like no RadDiagram is attached to RadDiagramNavigationPane? Like below screenshot,
Thanks!
Aeroth