Telerik Forums
UI for WinForms Forum
2 answers
233 views
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


What does that mean and how to fix?

Regards
Edwin
Peter
Telerik team
 answered on 19 Mar 2013
4 answers
165 views
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.
Stefan
Telerik team
 answered on 19 Mar 2013
3 answers
137 views
Dears,

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).

Do you have any solution for this?
Stefan
Telerik team
 answered on 19 Mar 2013
1 answer
93 views
Hello,

Can somebody point out how I might set a custom sort order on a column with following data:-

A/101
B/100
C/102
D/103
E/99
F/75
F/70
F/35

I want to be able to sort on just the numeric part and ignore the first two characters ie "A/"

Anybody got any ideas?

Many thanks

Terry

Stefan
Telerik team
 answered on 19 Mar 2013
1 answer
191 views
How can I change font of radgroupboxheader programmatically?
Stefan
Telerik team
 answered on 19 Mar 2013
1 answer
195 views
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.

grd.PropertyGridElement.AutoEllipsis = true;
grd.PropertyGridElement.AutoToolTip = true;
Stefan
Telerik team
 answered on 18 Mar 2013
2 answers
141 views
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).

Appreciate all the help you care  to provide, 

Zeev
Top achievements
Rank 1
 answered on 18 Mar 2013
4 answers
189 views
Hi,

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.

Can you help me to solve this error?

Thank you!
Stefan
Telerik team
 answered on 18 Mar 2013
4 answers
76 views
hi telerik,


RadColorDialog in Korean OS.The Bottom Ok and Cancel Button are not seen Completely.

But in English OS they are completely seen .

Please provide the complete solution across OS.

Attached the RadColorDialog screen shot ,please go through attached files

THanks
Suresh.
Stefan
Telerik team
 answered on 18 Mar 2013
2 answers
74 views
Hi,

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);

cfd.LogicalOperator = FilterLogicalOperator.Or;
grid.FilterDescriptors.Add(cfd);



In Q1 2012 this resulted in:
CompositeGridFilter, Expression: (Anlage <> '' OR Bestellung <> '')    

In Q1 2013 the expression now is:
(NOT (Anlage IS NULL) OR NOT (Bestellung IS NULL))

which is not what I want!

Is there any way around this?

Thanks a lot in advance

Renate




Renate
Top achievements
Rank 1
 answered on 15 Mar 2013
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?