Telerik Forums
UI for WinForms Forum
2 answers
424 views
Dear all, Telerik members.
I have question for telerik radgirdview.
I has a combobox column in radgirdview. How I can set background image for this button foreach record.
See attached file below:
http://img849.imageshack.us/img849/550/equipment.gif
Mr.Het
Stefan
Telerik team
 answered on 20 Mar 2013
2 answers
252 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
176 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
145 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
103 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
204 views
How can I change font of radgroupboxheader programmatically?
Stefan
Telerik team
 answered on 19 Mar 2013
1 answer
209 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
153 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
197 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
81 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
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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?