Telerik Forums
UI for WPF Forum
1 answer
124 views

Good afternoon,

In each page of our WPF application we have a few user controls from the Telerik library. We're running the Visual Studio profiler and noticed that for each UC from Telerik, all the themes are being parsed at runtime, as it can be seen from the screenshot attached or at this link.

The theme is being explicitly set at the beginning of the app and we haven't been able to find any help/documentation on this matter.

We would like to prevent this additional render time for each control to achieve the most fluid UI we can.

Any help would be appreciated.

Thanks in advance,

Diogo

Masha
Telerik team
 answered on 15 Apr 2016
1 answer
179 views

Hi to all,

I have this problem in design-time, sometimes it appears this error when I show a GridView.

My XAML is this:

<Window
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                mc:Ignorable="d"
                x:Class="TelerikCustomGridView.MainWindow"
                Title="MainWindow" Height="350" Width="525">
    <Grid>
        <telerik:RadGridView ItemsSource="{Binding Clienti}" GroupRenderMode="Flat" AutoExpandGroups="True">
            <telerik:RadGridView.GroupDescriptors>
                <telerik:GroupDescriptor Member="NAZIONE" SortDirection="Ascending"/>
                <telerik:GroupDescriptor Member="PROVINCIA" SortDirection="Ascending"/>
            </telerik:RadGridView.GroupDescriptors>
            <telerik:RadGridView.FilterDescriptors>
                <telerik:FilterDescriptor Member="PROVINCIA" Operator="IsNotNull"/>
            </telerik:RadGridView.FilterDescriptors>
        </telerik:RadGridView>
    </Grid>
</Window>

Yoan
Telerik team
 answered on 15 Apr 2016
3 answers
790 views

Hi!

 

Is there any fast/easy way to change the expander image of RadExpander like expander of TreeListView?

 

Thanks!

Martin
Telerik team
 answered on 15 Apr 2016
1 answer
492 views

Hi,

We are using RadGridView to display data from the DataTable. In one of the column we have selected "StartsWith" has the filter. After setting the filter if we close and re open the view, we are getting the following error and the application crashes. This is once we load the layout even before Data is loaded.

 

System.NotImplementedException: The method or operation is not implemented.
   at Telerik.Windows.Data.Expressions.FilterOperatorExpressionBuilderBase.GenerateStartsWith(Expression left, Expression right)
   at Telerik.Windows.Data.Expressions.OperatorValueFilterDescriptorExpressionBuilderBase.CreateBodyExpression()
   at Telerik.Windows.Data.Expressions.FilterDescriptorCollectionExpressionBuilder.CreateBodyExpression()
   at Telerik.Windows.Data.Expressions.FilterDescriptorCollectionExpressionBuilder.CreateBodyExpression()
   at Telerik.Windows.Data.Expressions.FilterDescriptorCollectionExpressionBuilder.CreateBodyExpression()
   at Telerik.Windows.Data.ICompositeFilterDescriptorExtensions.GetFilterFunction(ICompositeFilterDescriptor filterDescriptors, Type itemType)
   at Telerik.Windows.Data.QueryableCollectionView.InitializeInternalList(IQueryable view)
   at Telerik.Windows.Data.QueryableCollectionView.CreateInternalList()
   at Telerik.Windows.Data.QueryableCollectionView.get_InternalList()
   at Telerik.Windows.Data.QueryableCollectionView.GetEnumerator()
   at System.Linq.Enumerable.<OfTypeIterator>d__aa`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

 

After digging through the column properties, I found out that FilterMemberType was null. Once I set the property to string type. Its not throwing error anymore.

Please let me know is it the right way to do it or if you have any better solution.

 

Thanks and regards,

Alex

 

 

 

Yoan
Telerik team
 answered on 15 Apr 2016
4 answers
466 views
Hi.

I searched for it before but without success. Can anyone tell me how I can change the height of the RadGridViewRows?
Thank you for any help.

Greetz
Yoan
Telerik team
 answered on 15 Apr 2016
8 answers
230 views

Hello Telerik,

 

So far I could get my Grid cells styles to be dynamically changed based on my own roles, using this tutorial

http://docs.telerik.com/devtools/wpf/controls/radgridview/style-selectors/cell-style-selector.html

 

but there are two things left to be done regarding this issue.

still following the given approach, I want to:

 

- set an image to a checkbox, whether it is true or false.

- and also set that style in a separate file, so that it may be reused. inside a resourcedictionary file.

 

My point is, I will have several grids through my application using the same set of styles in their cells. based on each own role.

 

Please help me to achieve that!

 

Vitor
Top achievements
Rank 1
 answered on 14 Apr 2016
1 answer
218 views

Hi All,

I am using the RadGridView and added custom filter's successfully, the default sort functionality works when user hits on the header column and filter works when cuser clicks on filter icon. how can i make filter popup to be opened when i click on header column instead of the filter icon and how can i make the default filter to work as sorting.

Stefan
Telerik team
 answered on 14 Apr 2016
3 answers
180 views

During loading data collection occurs rendering them on a graph. Use DateTimeContinuousAxis. Until no gaps occur rendering the data correctly. Figure 1. But as soon as there are gaps in the data rendering deteriorate. Figure 2.
When using DateTimeCategoricalAxis painting is fine, but there are delays when working in real time :(

How to solve this problem?

 

 

<telerik:RadCartesianChart x:Name="chart" Grid.Column="0"    >
                    <telerik:RadCartesianChart.Behaviors>
                    <telerik:ChartCrosshairBehavior/>
                    <telerik:ChartPanAndZoomBehavior DragToZoomThreshold="0" MouseWheelMode="Zoom" DragMode="Pan" ZoomMode="Both" PanMode="Both"/>
                </telerik:RadCartesianChart.Behaviors>
                <telerik:RadCartesianChart.HorizontalAxis>
                    <telerik:DateTimeCategoricalAxis  x:Name="MainHA" LabelFormat="HH:mm" LabelFitMode="Rotate" SmartLabelsMode="SmartStep" PlotMode="OnTicks">
                        
                    </telerik:DateTimeCategoricalAxis>
                </telerik:RadCartesianChart.HorizontalAxis>
                <telerik:RadCartesianChart.VerticalAxis>
                    <telerik:LinearAxis />
                </telerik:RadCartesianChart.VerticalAxis>

                <telerik:RadCartesianChart.Series>
                    <telerik:CandlestickSeries ItemsSource="{Binding Candls}" CategoryBinding="Date" CloseBinding="Close" HighBinding="High" LowBinding="Low" OpenBinding="Open" />
                </telerik:RadCartesianChart.Series>
            </telerik:RadCartesianChart>

Dinko | Tech Support Engineer
Telerik team
 answered on 14 Apr 2016
3 answers
101 views

Hi,

I have noticed what appears to be a bug.

How to repeat:

1. Copy any email address from the body of an Outlook Email (Outlook 2013).

2. Paste the email address into the radrichtextbox.

3. Save the content via code below;

 Dim fp As New RtfFormatProvider
 Dim Result As String = fp.Export(rtb.Document) <<< exception occurs

Exception Details:

"The given key was not present in the dictionary."

Stack Trace:

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportSpanProperties(SpanProperties spanProps, ExportContext context, RtfWriter writer)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportSpanProperties(Span span)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportSpan(Span span)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportInline(Inline inline)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportFieldFragment(DocumentFragment fragment)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportCodeBasedFieldRangeStart(FieldRangeStart fieldStart)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportFieldRangeStart(FieldRangeStart rangeStart)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportInline(Inline inline)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportParagraph(Paragraph paragraph)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportBlock(Block block)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportSection(Section section)
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.ExportDocument()
   at Telerik.Windows.Documents.FormatProviders.Rtf.Export.RtfDocumentExporter.Export()
   at Telerik.Windows.Documents.FormatProviders.Rtf.RtfFormatProvider.Export(RadDocument document, Stream output)
   at Telerik.Windows.Documents.FormatProviders.Rtf.RtfFormatProvider.Export(RadDocument document)

 

If any more information is required please let me know and I will provide what I can.

 

Kind Regards,

 

Shaun

Shaun
Top achievements
Rank 1
 answered on 14 Apr 2016
7 answers
410 views

I'm playing around with data virtualization to try to fix major performance issues I have with a smooth-scrolling scrollviewer. This scrollviewer is touch gesture-enabled, so flick/swipe gestures are interpreted as moving to the next page of items. Unfortunately, I haven't been having the best of luck.

Does anybody know how I could incorporate UI and data virtualization to show a page of items with the next page peeking in from the sides? A swipe would smoothly scroll the horizontal offset to the next page. Think of how mobile apps do list paging. 

Attached is a 2-stage mockup of how I expect this behavior to work. Doing this without virtualization has been accomplished but it's an entirely different story when you want UI and data virtualization. Any help would be appreciated. 

Ivan Ivanov
Telerik team
 answered on 14 Apr 2016
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?