Telerik Forums
UI for WinForms Forum
4 answers
453 views
Hi@all,

My problem: i have got a treeview, created by the property builder. How can i add a child node in this treeview with my code behind?(c#)  the trigger is a normaly button.

Can someone help me?

thanks
Markus

Stefan
Telerik team
 answered on 18 Mar 2011
5 answers
219 views
Hi all,

I have a TreeView which is in TriState mode, which works fine but for one cosmetic issue.  On every other TreeView I've used, any node which is in the "Indeterminate" state is filled-in so it looks like a solid box.

e.g. http://www.codeproject.com/KB/tree/Three_State_TreeView/ThreeStateTreeView2.png

However, in the Telerik TreeView, the node is a greyed-out tickbox.  To my eyes though, this doesn't look distinctive enough.  Can I make the Telerik TreeView achieve the same effect?

Thanks
Eddie
Stefan
Telerik team
 answered on 18 Mar 2011
2 answers
194 views
Hi there,

When using the tree view I would like to set a node image depending on what I have specified in the datatabe. for intance I am doing the following:

1. I load a datset datatable from an SQL database
the columns in the Datatable are
ID, ParentID, Name, SQL_Query, Type


list is listed as follows with the binding:

FillSqlDs(

"TreeView_Reports", "Select * from SYSM_T_REPORT_TREE_VIEW ORDER BY NAME")

 

 

Me.TV_Reports.DataSource = ds.Tables("TreeView_Reports")

 

 

Me.TV_Reports.ValueMember = "ID"

 

 

Me.TV_Reports.ParentIDMember = "ParentID"

 

 

Me.TV_Reports.DisplayMember = "Name"

 

 

Me.TV_Reports.DataMember = "SQL_Query"

 



I would like to be able to set the image depending on the "Type". for instance I have 2 options here type = Folder or Type = Report. I want the node that corelates to "Folder" to display a folder image that i have in my images list (ImageID 0) and if Type = Report, then the node image should show that of a report Image (ImageID 1). 

I also plan to have if I double click the folder, it will expand the node as it currently is, however if I double click the Report node it will spawn off a DataGridView in another form that I have loading into the RadDock MDI Container.

any help you could offer would be greatly appreciated.

Many thanks!

Jonathan
Stefan
Telerik team
 answered on 18 Mar 2011
4 answers
122 views
Hi all,

I am posting my response here as well for everyone's benefit. Since Q32009-SP1 release, we had intermittent reports about treenodes remaining as highlighted or even altogether disappearing briefly. Once this issue is seen, restarting the application or closing down other applications did not resolve this issue. However, rebooting the machines seems to have resolved this issue. I don't know what the problem is exactly but atleast there's the most popular workaround :)

Regards,
MP
Stefan
Telerik team
 answered on 18 Mar 2011
2 answers
131 views
Hi,
the RadTreeView is very slow, can i disalbe the Animations in this Control for a better performance?
Stefan
Telerik team
 answered on 18 Mar 2011
2 answers
196 views
When I am using a TreeView with checkboxes, how do I make the image show up on the left side of the checkbox instead of the right?  When the image is enabled right now, it shifts the text to the right and puts the image between the checkbox and the text.
Stefan
Telerik team
 answered on 18 Mar 2011
4 answers
287 views
Hello experts!
Look, I have a radtreeview with a background image, but I need that that image always displays at the bottom left side of the control. How I can accomplish this?

I tried with all the layouts available, and mixed them with different image sizes, but I'm not getting the desired results.

Thank you for your help!
Stefan
Telerik team
 answered on 18 Mar 2011
10 answers
661 views
I am using the Winform radTreeView. I am trying to add small PNG file (16x16) into the ImageList during design time. When press the Add button and choose an image from the file browser I get this error dialog that says this:

Parameter must be of type.
Parameter name: value

Is there something I have missed? i have set the color depth to 32 bit since it is a PNG file.


Thanks,
-TK

Stefan
Telerik team
 answered on 18 Mar 2011
1 answer
204 views
Hi,

I opened a project just now and remembered that I had a problem that I thought I should mention:

I had a radform what had a radtab on it and 2 buttons. This form was started minimized to mimic system tray. The problem was when the form was restored to normal form, all controls shrunk and there was a wide horizontal band of space beneath the controls (the 2 buttons)

This behaviour was different on different machines (Win 7), probably because of the themes used, but always wrong.

I did not test it again because i changed strategy, but I thought i should mention it so you can correct it.
Richard Slade
Top achievements
Rank 2
 answered on 17 Mar 2011
2 answers
166 views
Hi,

 I'm just wondering if anyone has run into the following issue with the WinForms Buttons?

1. Using the Telerik RadButton and Dragon Dictate, it cannot find the label on the button and perform the click event.
2. Using the MS WinForms Button and Dragon Dictate, it can find the label on the button and perform the click event.

Am I missing any properties on the button that make this to be compatible with accessibility guide lines?

Regards,
Jonathan
 
Stefan
Telerik team
 answered on 17 Mar 2011
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?