I have a simple RadWindow modal dialog that contains nothing but a RadWizard. On the CompletionWizardPage, I have the finish button text set to a localized string.
The caller adds an event handler to the Completed event and then calls ShowDialog().
If I double-click "Finish" really fast on the dialog, my Completed handler does indeed get called twice. That is not good eats. (Granted, any sane user would not double-click a button, but my tester's sanity is in question.)
I'm using UI for WPF 2017.3.1018.45 on 64 bit Win 10 and VS 2015.
Seems that a debounce is in order for that button.
-reilly.
Hi everyone,
I am currently creating a control syncing a RadScheduleView with RadTimeBar and RadCalendar.
The controls are pretty great, and everthing works so far, but I have one problem on the UI itself :
The RadCalendar is using a DayTemplateSelector to mark days corresponding to appointements in the RadScheduleView, and when these appointements are being edited, I use
calendar.OnApplyTemplate()
The data itself is ok, but each time some sort of Zoom/Popup effect is used on the RadCalendar : See the attached capture to see what I mean.
I just want to disable this animation, but wasn't able to find it on the defaut template.
Could you help me?
(I know I could use something like
DataTemplateSelector dts = calendar.DayTemplateSelector;
calendar.DayTemplateSelector = null;
calendar.DayTemplateSelector = dts;
instead, wich resolve that issue, but also freeze the control for half a second each time, annoying)
Thanks a lot!
I have a datagrid with pagination and filters in the columns. When I apply a filter I show a progress bar, I show it in the OnFiltering event and hide it in OnFiltered. After the OnFiltered event the datagrid takes about 2 seconds to update the rows. Is there any way to hide the progress bar after that the datagrid finish updating? I have not found any event that serves me. I have tried with the gridview.Items.CurrentChanged event but it triggers before the datagrid has been updated.
Is there any way to detect that the datagrid has finished filtering the items?
Regards,
Gerard.
I've been searching around but what I've found so far has been inconclusive and unsatisfactory. I would like an interface similar to the print preview that exists for the spreadsheet but there doesn't seem to be anything.
I've modified the GridViewRowTemplate in order to change the colors of a row when it's selected. But by doing so, I'm unable to use a RowStyleSelector. Anyone have any tips as to how I can keep the functionality of a RowStyleSelector in play while modifying the background color of a selected row? (The background color of a selected row in the Office 2016 template is far too light.)
Hello,
I'm using RadGridView with RowIndicatorVisibility="Visible"
How can I set the row that is marked with the indicator ?
Thank you,
Zvika
Hello,
I have a custom control that hosts a RichTextBox/RtfDataProvider in WPF 4.5.
I'm using Telerik version 2015.3.1104.45.
Following is the XAML which works fine in the visual studio designer.
<
telerik:RtfDataProvider
x:Name
=
"RtfProvider"
Grid.Row
=
"1"
Rtf
=
"{Binding RtfFileContent, ElementName=RtfEditorUC, Mode=TwoWay}"
RichTextBox
=
"{Binding ElementName=radRTB}"
/> <
telerik:RadRichTextBox
x:Name
=
"radRTB"
Grid.Row
=
"1"
DocumentInheritsDefaultStyleSettings
=
"True"
IsSpellCheckingEnabled
=
"False"
LayoutMode
=
"Paged"
VerticalAlignment
=
"Top"
IsReadOnly
=
"{Binding IsRtfReadOnly, ElementName=RtfEditorUC, Mode=TwoWay}"
/>
However, at runtime, I have the following crash :
System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.Windows.Markup.XamlParseException: L'invocation du constructeur sur le type 'Telerik.Windows.Documents.FormatProviders.Rtf.RtfDataProvider' qui correspond aux contraintes de liaison spécifiées a levé une exception. ---> System.ArgumentNullException: La valeur ne peut pas être null.
Nom du paramètre : formatProvider
à Telerik.Windows.Documents.FormatProviders.DataProviderBase..ctor(ITextBasedDocumentFormatProvider formatProvider, DependencyProperty stringProperty)
à Telerik.Windows.Documents.FormatProviders.Rtf.RtfDataProvider..ctor()
à System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.InvokeDelegate(Action`1 action, Object argument)
à System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CallCtorDelegate(XamlTypeInvoker type)
à System.Xaml.Schema.XamlTypeInvoker.CreateInstance(Object[] arguments)
à MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor(XamlType xamlType, Object[] args)
à MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(XamlType xamlType, Object[] args)
The same code was working fine in WPF 3.5 with Telerik 2012.2.912.35.
Any help appreciated.