Hi
I have just upgraded from 2011.2.11.0712 to Q1 2013. Then my application breaks. When one of the form loads, an error message popped up saying "Arrange with infinity or NaN size (parent: Telerik.WinControls.UI.RadPageViewStackElement, this: Telerik.WinControls.UI.RadPageViewStackItem)"
In designer view inside Visual Studio, I got the same error with call stack
at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
at
Telerik.WinControls.UI.RadPageViewStackElement.ArrangeItems(RectangleF
clientRect)
at
Telerik.WinControls.UI.RadPageViewElement.PerformArrange(RectangleF
clientRect)
at
Telerik.WinControls.UI.RadPageViewElement.ArrangeOverride(SizeF finalSize)
at
Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect)
at
Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
at
Telerik.WinControls.RootRadElement.ArrangeOverride(SizeF finalSize)
at
Telerik.WinControls.RootRadElement.ArrangeCore(RectangleF finalRect)
at
Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
at
Telerik.WinControls.RadElementTree.PerformInnerLayout(Boolean performMeasure,
Int32 x, Int32 y, Int32 width, Int32 height)
at
Telerik.WinControls.RadControl.OnLoad(Size desiredSize)
at
Telerik.WinControls.RadControl.LoadElementTree(Size desiredSize)
at
Telerik.WinControls.RadControl.OnCreateControl()
at
System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at
System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at
System.Windows.Forms.Control.CreateControl()
at
System.Windows.Forms.Control.ControlCollection.Add(Control value)
at
System.Windows.Forms.Form.ControlCollection.Add(Control value)
at
System.Windows.Forms.Design.ControlDesigner.DesignerControlCollection.Add(Control
c)
Error list showed the error in designer.cs
Following the line number, the error came from this line
this.Controls.Add(this.tableLayoutPanel1);
tableLayoutPanel1 is of type System.Windows.Forms.TableLayoutPanel
When I set the ruler background color using the UI Editor, it shows properly in design time but in run time the color is set back the default. I have attached an image showing where I set the color.
Despite my investigations on the forums and in my debugger, I didn't find the right way to do what I need.
What I need to do is to change the text present in a GridGroupContentCellElement according to some information present in the column which was selected to create this grouping. Basically cells contain numerical codes as values, but the visual needs to display corresponding labels. This works great with the CellFormatting event but in the ViewCellFormatting, I catch the GridGroupContentCellElement element and then I really wonder how to get back the corresponding column header (at least its Name property).
How can I enable AutoEllipsis of grid element, grid text and help area, I tried below (set in my form New() event) but I must be missing a flag somewhere.
Hi Forum,
I've been searching the web and forums for solutions and yet to have found any therefor resulting here, asking you for help.
My Project is on Winforms, C#, DataSetBount RadGridView.
1. I'm looking for a way to change the Text Color of Columns. (Through the code)
2. Export To PDF settings - How do i enable support for Right-To-Left Fonts? (Through the code) I've managed to find how to change the Font of the GridView, but not the ForeColor nor did i find how to set the RightTOLEFT EXPORTING settings(When On Display - the Font is fine, but when Exported it becomes backward).
I have a gridview with several columns and a horizontal scrollbar.
When I select an element of a combobox and when I click the right of the horizontal scrollbar so that it moves alone towards the right and to view the other columns, I have this error :
Source : System.Threading.Thread
Message : Object reference not set to an instance of an object.
at Telerik.WinControls.UI.GridComboBoxCellElement.SetContent()
at Telerik.WinControls.UI.GridDataCellElement.set_Value(Object value)
at Telerik.WinControls.UI.GridViewEditManager.EndEditCore(Boolean validate, Boolean cancel)
at Telerik.WinControls.UI.GridViewEditManager.CloseEditor()
at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDown(MouseEventArgs e)
at Telerik.WinControls.UI.RadGridView.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at Telerik.WinControls.RadControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
My winform application is then completely frozen.
And this error appears only with combobox columns.
I have a problem with different behavior of FilterDescriptor in Q1 2013 (upgraded from Q1 2012).
I want to filter out all rows where 2 columns have a value of string.Empty and set the filter like this:
CompositeFilterDescriptor cfd = new CompositeFilterDescriptor();
FilterDescriptor fd1 = new FilterDescriptor("Anlage", FilterOperator.IsNotEqualTo, "");
cfd.FilterDescriptors.Add(fd1);
FilterDescriptor fd2 = new FilterDescriptor("Bestellung", FilterOperator.IsNotEqualTo, "");
cfd.FilterDescriptors.Add(fd2);