Telerik Forums
UI for WPF Forum
1 answer
97 views

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.

 

Yoan
Telerik team
 answered on 23 Mar 2018
3 answers
137 views
Is it still not possible to localize RadColorPicker?
Vladimir Stoyanov
Telerik team
 answered on 23 Mar 2018
1 answer
181 views
I would like get just the preview area of the print preview for sreadsheet, without the settings (so that I can provide my own settings UI). Is this possible?
Tanya
Telerik team
 answered on 22 Mar 2018
3 answers
135 views

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()
to refresh properly.

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!

Martin Ivanov
Telerik team
 answered on 22 Mar 2018
10 answers
241 views

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.

Stefan
Telerik team
 answered on 22 Mar 2018
1 answer
154 views

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.

Tanya
Telerik team
 answered on 22 Mar 2018
2 answers
104 views

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.)

David
Top achievements
Rank 1
 answered on 21 Mar 2018
3 answers
352 views

Hello,

I'm using RadGridView with RowIndicatorVisibility="Visible"

How can I set the row that is marked with the indicator ?

Thank you,

Zvika 

 

Vladimir Stoyanov
Telerik team
 answered on 21 Mar 2018
3 answers
278 views
Hello, 

Is there a way to make a row readonly? just like making a cell readonly? I dont want to disable the row, but make it readonly.

Thanks
Kiran
Stefan
Telerik team
 answered on 21 Mar 2018
6 answers
403 views

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.

Tanya
Telerik team
 answered on 21 Mar 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?