Telerik Forums
UI for WPF Forum
1 answer
159 views
I am trying to put a RadSparkline into a TimeBar, where the TimeBar is animated to advance over a window of time from 4 hours ago to now. Basically, it should show a moving spark line that corresponds with the last 4 hours. Call center stuff.

I've got the TimeBar moving just fine by binding it's Period values to a VM value that updates once per second. It looks lovely.

The problem I'm having is that when the window is initially opened, there is no data for the last 4 hours. The best I can do is plug in data from now going forwards. I'd like to do this, and have it appear as if the Sparkline is moving in from the right side of the screen, as time advances.

But the Sparkline's contents of course only include the data that has been put into the Sparkline, and it seems to have no provision to alter it's constraints without data. For instance, I want the Sparkline to size itself as if to show values between 4 hours ago and now. Even though I only have values for the last few minutes.

Is there any decent way to accomplish this?

[EDIT]

I've thought of a decent way to do it. Write my own ContentControl which is aware of the TimeBar's PeriodStart and PeriodEnd, as well as the Sparkline data, and does it's own layout. Then put the sparkline in that. And put that in the TimeBar. But that takes work. Any other way?
Tsvetie
Telerik team
 answered on 07 Nov 2012
1 answer
141 views
In our WPF application the RadDockPanel measure and arrange cycle is taking lot of cpu time. Please let me know the possible reasons.
Vladi
Telerik team
 answered on 07 Nov 2012
1 answer
149 views
Hai,
 
             I want  custom value (like 33,128, 134,138,148,158) on Y-axis of wpf chart, instead of 20,30,40,50,60,70......170.
Iam attaching my chart here.


Thanks
Petar Kirov
Telerik team
 answered on 07 Nov 2012
1 answer
153 views

Hi,

I've a CustomField class.

public class CustomField : MergeField

I need to return a multiline string from GetResultFragment() function.

 

string result = string.Empty;
result = "First Line";
result += Convert.ToChar(11);
result = "Second Line";
DocumentFragment.CreateFromInline(new Span(result));

But output is not as I've expected. Can GetResultFragment() return Paragraph or is there an other solution?

Regards.


Petya
Telerik team
 answered on 07 Nov 2012
1 answer
322 views
During our app initialization, we invoke RadRichTextBox.SatisfyImports().  This works fine during normal runtime, but when I instrument the code via running a memory profiler (SciTech's .Net Memory Profiler), this throws a System.ExecutionEngineException.  It doesn't contain an inner exception nor any call stack data.  

Not really understanding what is happening with SatisfyImports, nor what a System.ExecutionEngineException really means, I'm kind of at a loss.  It doesn't seem like there is anything I can do with my code to prevent this and I don't want to just suppress the exception when i profile because I need the app to behave as close to normal as possible.  Any suggestions? 
Boby
Telerik team
 answered on 07 Nov 2012
6 answers
177 views
Hello,
I followed the Switching Theme at Runtime and some other help pages and blog page to create a small application that let me change the style of the application (including the main window) at runtime.
The application works great, switching the theme of all the controls, even MS controls.
The only problem I see is with the MS label control that does not switch theme automatically. As there is no Telerik control to replace this one, automatic theme switching would be nice for this control.
Patrick
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 07 Nov 2012
4 answers
87 views

Hi,
We want "click here to add new item (red highlighted one in picture)" to be at the bottom. it is telerik  wpf gridview (radgridview) we tried with different options and properties but we could not do it please help us.

Regards,
Vijay.

Dimitrina
Telerik team
 answered on 07 Nov 2012
1 answer
68 views
http://forums.infragistics.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/439/6180.Charge_2D00_Discharge.jpg
Nikolay
Telerik team
 answered on 07 Nov 2012
3 answers
176 views
Hi

I've just started using Expression Blend for UI design, instead of using the UI editor in VS2010. However, the Radcontrols in my project are not rendered in the Blend designer window. They appear as blank boxes. Regular WPF control render correctly however.

I've tried creating fresh projects from scratch and the same thing happens - no rendering of the Radcontrols, but standard WPF controls show up ok.

Is this expected?

Tom Davies
Esteban
Top achievements
Rank 1
 answered on 07 Nov 2012
2 answers
200 views
Hi, I'm using Telerik RadControls for WPF v.2012.3.1017.45 and use RadGridView in the following configuration:
<telerik:RadGridView Grid.Row="1" Grid.Column="0" x:Name="listView"
                     EnableRowVirtualization="True"
                     MouseDoubleClick="ListViewMouseDoubleClick"
                     SelectionChanged="ListViewSelectionChanged"                       
                     AutoGenerateColumns="False"
                     AlternateRowBackground="#3d3D3d3d"
                     Background="#99333333"
                     SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
                     ItemsSource="{Binding VirtualizedItems}"
                     IsSynchronizedWithCurrentItem="True"
                     DataLoadMode="Asynchronous"
                     RowDetailsVisibilityMode="Collapsed"
                     ShowGroupPanel="False"
                     IsReadOnly="True"
                     CanUserSortColumns="True"
                     IsFilteringAllowed="False"
                     CanUserDeleteRows="False"
                     CanUserInsertRows="False"
                     Width="870" />

(columns are ommited, they are just databound to simple properties of one object).
Even simple mouse over causes serious peromance issues (up to 30% CPU usage from gridview application only) and bad user experience. When I moving over any other part of application - CPU usage is around zero. Any idea how to fix this? 
Evgeny
Top achievements
Rank 1
 answered on 06 Nov 2012
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?