Telerik Forums
UI for WPF Forum
1 answer
77 views
I was wondering if it would be somehow possible to create the step line series with lines like in the attached image,  It seems that the step lines are actually a vector graphic that is generated on the fly so I am thinking probably not but just wanted to make sure.  The idea is the lines would be slightly larger than the actual bar width.

Or is there another way to achieve this?

Thoughts?

William  
Martin Ivanov
Telerik team
 answered on 20 Mar 2015
1 answer
421 views
Hi,

in the latest version you removed the ShowInsertRow

>>Removed obsoleted property ShowInsertRow of RadGridView. Property NewRowPosition should be used instead.

So we should use NewRowPosition instead.

ATM we have ShowInsertRow="{Binding UserMayInsertRows}" which works fine.
And yes I could write a converter True==Insertrowpositon.Top -- False==I...None to help me out of it.

But - how (without a lot of effort) to position the InsertRow as I need it?
A multivalue Converter or...?

So what I search for is an easy way to have Grids - some with the InsertRow on Top - some with it at the bottom...
...and bind the visibility of the InsertRow to a boolean.

Manfred
Stefan
Telerik team
 answered on 20 Mar 2015
1 answer
122 views
Hello!

We have a scripting solution, which generates content for diagrams. The generated diagram content is published to a view model, which is bound to a RadDiagram component that is opened inside a docked RadPane by the script. The purpose of the script is to generate a possibly large number of diagrams, and then export each diagram to a file. What happens upon script execution is that each generated diagram is correctly opened in a docked RadPane, but the ExportToFile -method only works for the diagram that is created as the last one, ie the one that exists on the last opened RadPane, ie the only one that is actually visible. All other diagrams are generated as empty files.

In the script, the export command is invoked immediately after the RadDiagram has been shown, and specifically (hopefully) before the next RadDiagram (that covers the previous one) is being generated, so the diagram to be exported should be visible when the export command is invoked.

I found other threads having to do with the diagram control not being part of the visual tree, and this may be a related issue.

Help appreciated,

Kim Johnsson
Petar Mladenov
Telerik team
 answered on 20 Mar 2015
9 answers
898 views
Hey there,

I'm replacing your old Chart component with the new ChartView components. One of them is a pie chart and when I started replacing it a question appeared: How can I format the Label (I know of LabelFormat, but what are my options?). I have also found this site here (http://www.telerik.com/help/wpf/radchartview-series-pieseries.html) but the mentioned LabelTemplate is no longer there. I just want to give the Chart a ItemsSource where each object contains a count and a label, so that I can bind the Chart to it. I do not want to specify each datapoint in code, as you did in all your examples. I'm looking for a way to do this via databinding. Could you please provide an example of this? Perhaps you could extend the WPF Demos or the documentation too.

Best Regards,
Peter
Martin Ivanov
Telerik team
 answered on 20 Mar 2015
5 answers
115 views
I am using UI for WPF 2014.1.0224.40.

I tried to install the extension on my VS 2013 Premium to enable coded ui support. But when I click Record button on Test Builder, it keeps popping up "The following package for Coded UI is in an inconsistent state: ..."
Geri
Telerik team
 answered on 20 Mar 2015
2 answers
186 views
Hello,

I am using a PropertyGrid control but I need it to be very small, I set its FontSize property to 9 and I tried to change the Height property of the PropertyGridField by using a style:

<Style TargetType="telerik:PropertyGridField">
    Setter Property="Height" Value="18" />
</Style>

When I do that, the controls within the PropertyGridField don't adjust and they look kind of odd. I am attaching an image showing the result.

Is there a way to accomplish what I am trying to do?

Thanks in advance,

Alberto
Amige
Top achievements
Rank 1
Veteran
 answered on 19 Mar 2015
3 answers
484 views
I am looking for new ways to improve the load performance of the RadGridView control.
I already had a look at the tips from your site, and have followed many of them while others do not apply as we have some special requirements which I could not achieve using your default styles.

I found that reducing the number of FrameworkElements in the Grid greatly improves the loading performance. Using Snoop, I found that we had nearly 20000(!) FrameworkElements on a full-page GridView (with row-virtualization enabled, as we found that column-virtualization severely reduced the horizontal scrolling performance). After doing some optimizations, I was able to reduce the number of elements to now 5200, reducing the loading time from more than 5 seconds to 1.5 seconds (on a fast development PC - it could still be much slower on a user PC).

One big impact factor is the GridViewCell template. If you have a look at the template (in our case the VisualStudio2013 version), it has 174 lines of code and ~12 FrameworkElements! By creating my own template (specifically for WPF, using triggers), I was able to reduce it to 32 lines of code and 2 FrameworkElements (1 border for cell separation + 1 ContentPresenter), maintaining the same look as before (maybe not every single behavior is reproduced, but the ones that we use). This single optimization leads to a reduction of loading time by ~1.4 seconds!

Now I would like to further reduce the number of elements. One Idea was to merge the GridViewCell with the border and the ContentPresenter - having 1 element instead of 3. The next step would be to implement some kind of "cell renderer" to draw simple cell templates (like the TextBlock) in the OnRender event, saving one (or more) further elements per cell. To achieve this, I have to derive from GridViewCell(Base).

However, there is one problem: While the CreateItem method in the RadGridView is protected (so I could create a derived GridViewRow), the CreateItem method in the GridViewRow is internal, effectively stopping me from creating my own implementation of GridViewCell. I am wondering why it was decided to do it this way? I see that you are accessing the method from outside the row, so protected would not be an option. But what about "protected internal"? Changing it to this should not break an usage - but allows to greatly improve usability of the class.

Alex
Ivan Ivanov
Telerik team
 answered on 19 Mar 2015
5 answers
193 views
Hi,

I work creating at runtime a big report (250/300 pages). Any page contains 2/3 charts.
All works good with good performances.

Now, if I save the report as PDF the application freezes for a lot of minutes waiting the end of process (and it consumes >3Gb memory).

Is possible to show a Progress Bar with saving info and progress (and reduce the memory consuption)?

Thanks,
marc.
Petya
Telerik team
 answered on 19 Mar 2015
3 answers
212 views
Hi,
How can i open the filtering control popup for a given column code behind?

For example,
private void ShowFilteringControl(GridViewDataColumn column)
{
    myFilteringControl = new ????;
    myFilteringControl.Show();
}

or, something like that?

Thanks.
Dimitrina
Telerik team
 answered on 19 Mar 2015
5 answers
229 views
Hi guys,
My requirements are to load an image as a provider but with JPW mapping details. 
For example:

0.0000478933
0
0
-0.0000313467
44.6320800
48.8499400


I thought about using LocationRect but it is unclear where the parameters in the FILE should be place in the method call. 
Can you please post an example of JPW with image as provider? 

Thanks,
Max.
 
Martin Ivanov
Telerik team
 answered on 19 Mar 2015
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
DataPager
PersistenceFramework
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
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?