Telerik Forums
UI for WinForms Forum
3 answers
157 views
Hello,

I have an MDI App using a DockingManager. The DockingManager is in the main Form. Rather than using AutoDetectChildForms and create DocumentPanes automatically by MDIChild Forms additions to the main Form, I prefer using custom DocumentPanes that I add programmatically to the DockingManager (because the AutoDetectChildForms feature clears the main Form's MDIChildren collection, and its a pity).

It works well... But !... any RadGridView designed on a custom DocumentPane doesn't fill with datas and doesn't display anything. (Even with this simple sample, 
List<string> myList = new List<string>();
myList.Add(
"One");
myList.Add(
"Two");
myList.Add(
"Three");
radGridView1.DataSource = myList;
)

Of course, I checked that the program does execute the lines above, the DataSource is well defined but the grid doesn't display anything. If I put the grid on a simple form, it works, of course.

What's going wrong with that ?!
Julian Benkov
Telerik team
 answered on 14 Oct 2008
1 answer
82 views
When we are adding a colum in gridview its visible like a  simple column in grid.
Can we show as textbox clearly in gridview as we show in ASP Grid?
If so how?
I have tried cellfomatting and rowformatting, but its not upto the mark.
Please suggest me how can we achive this.

Regards,
Narendra P 
Nick
Telerik team
 answered on 14 Oct 2008
1 answer
186 views
Telerik team,

I was hoping someone could assist me with a problem I am having?
I currently have a radlistbox that I am using as a log window, which is working and looking very well until now. It seems that all the radlistbox items inside all have to be the same height. for example if I log a simple "hello" looks great but if i add another item into the listbox that says     "hello" [newline]
                                                                    "how" [newline]
                                                                    "are" [newline]
                                                                     "you"
the second item is now the same size as the first one.
This comes as a big problem when trying to log exception data and stacktraces.

Any help would be appreciated, thank you.

Todd Kueny
   
Angel
Telerik team
 answered on 14 Oct 2008
2 answers
145 views
I am experiencing an issue with RadTreeView giving me an error in Visual Studio that is to the effect of the following:

System.ArgumentException "Control does not support transparent background colors."

I have a split container control, which is a slider control that allows me to resize the panel that contains the RadTreeView. I notice whenever I resize the panel so that the text on a node is not visible, this exception will appear. Here is the stack trace from the error:



   at System.Windows.Forms.Control.set_BackColor(Color value)
   at Telerik.WinControls.UI.RadTreeView.InitializeBlankSpot()
   at Telerik.WinControls.UI.RadTreeView.InitializeUIElements()
   at Telerik.WinControls.UI.RadTreeView.OnLayout(LayoutEventArgs args)
   at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
   at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
   at System.Windows.Forms.Layout.LayoutTransaction.DoLayout(IArrangedElement elementToLayout, IArrangedElement elementCausingLayout, String property)
   at System.Windows.Forms.Control.OnResize(EventArgs e)
   at Telerik.WinControls.UI.RadTreeView.OnResize(EventArgs e)
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   at Telerik.WinControls.UI.RadTreeView.OnSizeChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds()
   at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
   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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.SafeNativeMethods.SetWindowPos(HandleRef hWnd, HandleRef hWndInsertAfter, Int32 x, Int32 y, Int32 cx, Int32 cy, Int32 flags)
   at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
   at Telerik.WinControls.RadControl.Telerik.WinControls.IComponentTreeHandler.CallSetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
   at Telerik.WinControls.ComponentLayoutElementTree.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
   at Telerik.WinControls.RadControl.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
   at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified)
   at System.Windows.Forms.Layout.DefaultLayout.ApplyCachedBounds(IArrangedElement container)
   at System.Windows.Forms.Layout.DefaultLayout.xLayout(IArrangedElement container, Boolean measureOnly, Size& preferredSize)
   at System.Windows.Forms.Layout.DefaultLayout.LayoutCore(IArrangedElement container, LayoutEventArgs args)
   at System.Windows.Forms.Layout.LayoutEngine.Layout(Object container, LayoutEventArgs layoutEventArgs)
   at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
   at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs levent)
   at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
   at System.Windows.Forms.Control.PerformLayout()
   at DevExpress.XtraEditors.PanelControl.OnGroupLayout()
   at DevExpress.XtraEditors.PanelControl.CheckInfoCore(GroupObjectInfoArgs info)
   at DevExpress.XtraEditors.PanelControl.CheckInfo()
   at DevExpress.XtraEditors.SplitGroupPanel.OnResize(EventArgs e)
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds()
   at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at DevExpress.Utils.Controls.PanelBase.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.SafeNativeMethods.SetWindowPos(HandleRef hWnd, HandleRef hWndInsertAfter, Int32 x, Int32 y, Int32 cx, Int32 cy, Int32 flags)
   at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
   at System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
   at System.Windows.Forms.Control.set_Bounds(Rectangle value)
   at DevExpress.XtraEditors.SplitGroupPanel.UpdateBounds(Rectangle bounds)
   at DevExpress.XtraEditors.SplitContainerControl.UpdateDockPosition()
   at DevExpress.XtraEditors.SplitContainerControl.set_SplitterPosition(Int32 value)
   at DevExpress.XtraEditors.Drawing.SplitContainerSplitter.StopSplit(Boolean resize)
   at DevExpress.XtraEditors.Drawing.SplitContainerSplitter.CheckMouseUp(Point point)
   at DevExpress.XtraEditors.SplitContainerControl.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at DevExpress.Utils.Controls.PanelBase.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)

I am unsure if there is a value in text that I have not yet but I'm sure it isn't. I notice the tree automatically gives me a vertical scroll bar and I can scroll up and down without any issues. Maybe this issue can be resolved if I can implement a horizontal scroll bar in my application whenever the panel is resized?

Your help is greatly appreciated, thank you
~Kenyatta
Kenyatta
Top achievements
Rank 1
 answered on 13 Oct 2008
1 answer
130 views
Dear All,

Can any one tell me how to have the theme in the Resource and use it?

Thanks a lot in advance.
Vassil Petev
Telerik team
 answered on 13 Oct 2008
10 answers
262 views
Hi

I am new to the radGridView windows control, may I ask a couple of questions?

1. I have a data source of 20 columns/properties, but i only require to display 5 of them in the grid. I have manually added the columns that I require to the grid. When binding to the data source all of the remaining columns are loaded as well, how can I stop this auto generation of columns?

2. In the Property Builder design view of the grid I, have created a view and added the required columns. Can I add another view and add another set of columns (all from the same data source)?

Thanks

P
Paul Gallen
Top achievements
Rank 1
 answered on 13 Oct 2008
1 answer
148 views
Dear All,

Actually, I have an application, which will configure the grid settings.

After all the configuration, it has to show the preview of the grid.

For this I am creating a sample data set in the application and binding the same to the grid.

It also has a Image column and for this image has to be taken from the application and a tool tip has to be from the other field.

Can any one tell me to achieve this?
 
Thanks a lot in advance.




Nick
Telerik team
 answered on 13 Oct 2008
1 answer
130 views
Hi,

how can I programatically set Height of DocumentPane's tabs, docked in DockingManager?

Also, when I add some DocumentPane with multiline text e.g. "Some\r\ntab\r\nitem" then the tab's height is not as height as necessary.

TIA
Jaroslav Bucek
Julian Benkov
Telerik team
 answered on 13 Oct 2008
1 answer
231 views
Hello,

I am evaluating RadControls for Winforms (specifically RadGridView).

My needs are simple. There is no database at the moment. I need to dynamically add rows or replace any of the existing rows with new contents. There will be no more than 100 rows.

Can I use RadGridView for such simple purposes? I get the impression that the grid control can do very complex things but I am not sure how to do simple things.

Is there sample code available that will illustrate how to use the grid for simple needs such as above?

Thank you in advance,

Madhav Ghatole
Nikolay
Telerik team
 answered on 13 Oct 2008
2 answers
82 views
Hi Telerik,
I did used telerik treeview last year, and I checked the incremental search functionality, which was working fine. But just few days back I developed a prototype for my client to get telerik evaluated by them with Q2 2008 WinControl. And in this when I checked the incremental search functionality I didnt found it working fine ( or as fine as it was earlier).

Right now what happens is that the treeview get the first letter only and selects the first available node. For example if I type "ABC" the search will select the first node starting with "A" and but never considers "B and C". Please do re test the behavior, Probably I am wrong so please tell me.

Regards,
Haroon.
Haroon
Top achievements
Rank 1
 answered on 13 Oct 2008
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? 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?