Telerik Forums
UI for WPF Forum
1 answer
210 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
157 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
254 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
172 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
110 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
381 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
305 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
446 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
13 answers
3.0K+ views
How do you make the columns fill the grid area proportionaly ?

I want columns to also stretch proprotionaly when you resixze the grid...

Thanks,
Janitha
Top achievements
Rank 1
 answered on 21 Mar 2018
5 answers
201 views

Hello,

I'm trying to have a custom DataFormDataField. Therefore I followed the tutorial on

https://docs.telerik.com/devtools/wpf/controls/raddataform/getting-started/defining-custom-datafields

since my own approach didn't work, I just started over and tried exactly the code from the documentation. It is still not working. 

I tried autogeneratedfields and with datatemplate. In Both cases the custom datafield didn't show. The Visiual Tree is showing the Object as a Child of the RadDataForm but not as a DataFormdataField.

After a while I realized that GetControl() is not called. Can you confirm the Problem for Assembly Telerik.Windows.Controls.Data, Version 2017.3.913.45?

 

Thanks in advance.

sincerely,

Michael

 

rick
Top achievements
Rank 1
 answered on 21 Mar 2018
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?