Telerik Forums
UI for WPF Forum
2 answers
94 views
Hi,
I am using the charts to draw 2 different data series each one linked to a different axis. The values in the Dataseries are relatively large (30 millions and more). The first axis is linked to the first Dataseries and the maximum is properly set. The secondary Y axis is created, added to the chart area but when setting the maximum, the application goes into an infinite loop (OutOfMemory).
This problem seems to happen when setting the maximum to a value larger than 10 millions.

Thank You
Julien

Here is the code creating the fault:
public MainWindow()
{
    InitializeComponent();
 
    //Creating the second Y axis
    AxisY secondaryAxis = new AxisY();
    secondaryAxis.AxisName = SECONDARY_AXIS_NAME;
    secondaryAxis.AutoRange = false;
    secondaryAxis.DefaultLabelFormat = "N";
    secondaryAxis.Step = 10000000;
    secondaryAxis.MinValue = 0;
    secondaryAxis.MaxValue = 100000000;
    chart.DefaultView.ChartArea.AdditionalYAxes.Add(secondaryAxis);
}
Julien
Top achievements
Rank 1
 answered on 11 May 2011
2 answers
273 views
Hi again,

How would I detect whether the RichTextBox selection contains an InlineUIContainer?

The DocumentSelection classes don't seem to support this out of the box with something like the FlowDocument TextSelection.Contains(TextPointer) call and the InlineUIContainer doesn't have it's own position information (like InlineUIContainer.ContentStart and ContentEnd properties for FlowDocument classes).

It seems slightly strange that you can use a DocumentPosition to insert something in a document but the element itself doesn't retain some of that information for later comparison against the SelectionRange objects to determine what is in the selection.

Could you point me in the right direction to solve/workaround this?

Thanks!
Paul
Top achievements
Rank 1
 answered on 11 May 2011
3 answers
122 views
Hi,

how do I replace the appointment creation/edit/etc. dialogs with truly custom implementations, i.e. not only template changes?

It seems that I can add a handler for the ShowDialog event. But setting the EventArg property Handled to true doesn't suppress the default dialog handling. Can I simply do my custom UI handling and then Cancel the event, e.g.

void SchedulerView_ShowDialog(object sender, ShowDialogEventArgs e)
{
    // Here goes the custom modal UI
    // ...
 
    e.Cancel = true;
}

Thanks,
Alexander
Yana
Telerik team
 answered on 11 May 2011
5 answers
1.0K+ views
Hi,

I have a chart with a scroll mode of "scroll and zoom" on one axis (the X axis). I also have MouseDown and MouseUp event handlers for the entire chart control.
  • The MouseDown and MouseUp events trigger as expected when I click down and release on any area of the chart excluding the scroll bar (and scroll bar thumb) of the scroll and zoom axis.
  • If I click on any area of the scroll bar (or scroll bar thumb), the MouseDown event does not trigger.
  • If I click on any area of the graph excluding the scroll bar thumb and release on the scroll bar (or scroll bar thumb), the MouseUp event triggers.
  • If I click on any area of the scroll bar thumb and release on any area of the graph, the MouseUp event does not trigger.

I would like to be able to capture a MouseDown event on the scroll bar (or scroll bar thumb) and a MouseUp event if a MouseDown event is triggered on the scroll bar thumb. I do not want to disrupt the functionality of the scroll bar (ie. I don't want to do anything like put an transparent control over the scroll bar), I just want to capture any MouseDown and MouseUp event on the chart, irrespective on the scroll bar or scroll bar thumb.

Kind regards,
Dave.

David
Top achievements
Rank 2
 answered on 11 May 2011
5 answers
111 views
Hi,
I'm using the standard sorting and filtering mechanism on an editable radgridview control. Unfortunately after ending the editing of a cell, the sorting / filtering mechanism strikes and the modified row is filtered out or is moved. The mechanism works correctly, but its result ist not what I need.

 What I need is the possibility to sort / filter only when using the possibilities of the grid header. Sorting /filtering after cell editing is unwanted. How can I achieve that?

Regards Reimund

Reimund
Top achievements
Rank 1
 answered on 11 May 2011
9 answers
81 views

Hello Sir or Ma'am,

I'm not sure if this is a result of your code or a bug in Expression Blend 3 & 4, but I posted a bug on Microsoft's site concerning your RadGridView control.  Basically, I am trying to "Edit Template -> Edit a copy" on this control and my Blend.exe process spins indefinetely.  The template never gets added to the application and Blend becomes non responsive.  It has not work several times alread even though I rebooted my machine.  Other controls like "RadButton" work just fine.  Just the RadGridView is causing this issue. 

See: https://connect.microsoft.com/Expression/feedback/details/616889/expression-blend-thread-spins-on-edit-a-copy#details

Any help you can offer would be appreciated. 

- Rashad Rivera
  Omegus Prime, LLC

Rashad Rivera
Top achievements
Rank 1
 answered on 11 May 2011
2 answers
97 views
Hi,
Starting with the 'Add a button column' example here:  http://www.telerik.com/help/wpf/gridview-add-button-column.html , I modified it so the button is on the 'Name' column, and I can trigger events for the different clubs.  But I noticed that the filter control and sorting are now gone, and would like to bring them back. 

I looked under the RadGridView Filtering topics, starting here http://www.telerik.com/help/wpf/gridview-basic-filtering2.html, and searched the Forums, but haven't recognized anything that can help me have a column with buttons, plus sorting, plus filtering.

Is this possible?  If so, can you please provide some direction?  (Sample projects much appreciated).

I'm working with:
WPF:  3.0.6920.4902
        (as per http://msdn.microsoft.com/en-us/library/aa349641.aspx)
OS:  Windows 7 Enterprise 64-bit
Browser:  IE9 v9.0.8112.16421
Telerik:  RadControls for WPF v2011.1.419.40
Preferred: C#

Thank you,
- Martin
Martin
Top achievements
Rank 1
 answered on 10 May 2011
2 answers
95 views
is there any way to get the parent of the selected item in the TreeListView? I am using hierarchical collections and would like to be able to find either the parents or the children of the selected item.

Thanks

Rick
Dimitrina
Telerik team
 answered on 10 May 2011
2 answers
75 views
Hello, we have a product using TileView that was originally built using version 2010.3 1314.  I am trying to upgrade to the newest version and it seems there are changes that break the way we are using the TileView.  I have tried all 2011 versions and none of them work correctly for me.

We have 2 TileViewItems, and in the older versions (2010.3.1314 and down) the TileStateChanged event was fired twice, once for each TileViewItem upon loading of the TileView.  In newer versions the TileStateChanged event is only fired once while loading, for the TileViewItem in minimized state. 

I can correct this in code by triggering the TileStateChanged event manually, but there are other problems which break what we are doing with the control.  For example the Maximized tile view loads with a 'Maximize' icon in the header rather than a 'Collapse' icon.  And when it switch between TileViewItems by clicking the maximize icon on the collapsed view, the previously maximized view disappears.  If i remove references to version 2011.1 315 and replace them with references to 2010.3 1314 all of these problems go away. 

Our TileViewItems contain the RadFluidControl, RadGridView, and RadComboBox controls.  It appears the events that fire upon loading have changed for some of these, however I do not see anything about this in the release notes.  Some of the bug fixes sound like they may be related, but I really have no way of fixing this without trying out every possible scenario. 

Any guidance on this?  I don't see how to go forward from here without some documentation on what has changed. 
Aaron C
Top achievements
Rank 1
 answered on 10 May 2011
1 answer
288 views
I know this has to be simple, but I guess I'm just missing the obvious. How do I get the drop down list for the combobox column to not resize its width as you scroll through the items? I know this is going to be extremely troublesome to my users because many of them heavily use the scrollbar and it keeps moving away from them as they click the down arrow.
Maya
Telerik team
 answered on 10 May 2011
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
VirtualKeyboard
HighlightTextBlock
Security
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?