Telerik Forums
UI for WinForms Forum
1 answer
73 views
Hi,

I need order the nodes by node.text . I am adding programatticly new nodes. For example,  in the radtreeview exists the following nodes:

-Park 1
    - Aero 1
    - Aero 2
+Park 4


Then, if the user decide add the park 3, when I add the new node, I have the following:


-Park 1
    - Aero 1
    - Aero 2
+Park 4
+Park 3      <--- ERROR, no order by node.text


I need order the root nodes and children nodes by node.text. Then, I need the following:

-Park 1
    - Aero 1
    - Aero 2
+Park 3   <--- I need order by node.text .
+Park 4


Thank you,

Fernan
Fernan
Top achievements
Rank 1
 answered on 12 May 2010
4 answers
366 views
I have a grid view that is bound to a boolean data type.  This produces a checkbox in every row.  I want this checkbox to be editable and it works.  However, the users do not like the fact that they must first, click on a row, then click on the checkbox cell to get it into edit mode and then click on it to change the value in the checkbox.  Is there anyway to reduce this down to Select the row and then click the checkbox, in other words once I select a row, is there some code I can use to automatically place this column into edit mode?
Jack
Telerik team
 answered on 12 May 2010
3 answers
109 views
Hello,
I created RadControl with RadComboBox which was anchored to Left and Right. This RadControl I added to RadForm but in different size then oryginal Control and also anchored to Right and Left. Unfortunately RadComboBox had wrong size. What should I do to fix this problem? At this momemnt a change size dynamically but is only way to fix it?
Deyan
Telerik team
 answered on 12 May 2010
1 answer
568 views
Hello!

Is it possible to change TextBox.Text value programmatically without firing "TextChanging" event?
I'm looking for something like
textBox.BeginUpdate(); 
textBox.Text = "Leave no tracks behind"
textBox.EndUpdate(); 
Best regards, Yury Babaev.
Dobry Zranchev
Telerik team
 answered on 12 May 2010
1 answer
94 views
Does anyone know if there is an event that is fired whenever an item is added to the RadListBox? Thanks in advance for any help.
Greg St.Pierre
Top achievements
Rank 1
 answered on 11 May 2010
1 answer
252 views
Hi there,

very simple question, but i can't figure this out - where can I change the backcolor of RadPanel which is disabled? We are using the latest version of RadWinforms.

Thx so much

Pavel
Nikolay
Telerik team
 answered on 11 May 2010
3 answers
107 views
Dear Friends,

1.We have MDI form in our project. when we open a child form and on maximizing it,we are getting address bar with improper design(all min,max and close buttons in address bar are with double lines). and unwanted another address bar is getting opened.
2.If we open 2 child forms in MDI,second child form is getting first child's text if both are  maximized.


I am providing screen shot for reference.
Please have a look on it and help us as soon as possible.

Thanks,
Regards,
Pradeep
Martin Vasilev
Telerik team
 answered on 11 May 2010
1 answer
55 views

Good morning.

            Regarding this problem, I tried to use your new RadControls for WinForms Q1 2010. If you try with the same test project as above, you will notice that the vertical scrollbar doesn’t appear, as before. The only improvement is that now, when you click on a groupitem, the vertical scrollbar appears and doesn’t disappear anymore, but when you programmatically add groupitems to the radPanelBar, again no vertical scrollbar is displayed. Any suggestion? Thank you very much.

Nikolay
Telerik team
 answered on 11 May 2010
1 answer
126 views
I'm using RadControls for WinForms Q3 2009 SP1, and I'm running Windows XP.

I've dropped a RadTabStrip and a RadListBox onto a simple form.  I've added sample items to the RadListBox and a few sample tabs to the RadTabStrip .  Both controls are set to use the ControlDefault Theme.

When the form is displayed, I can select an item in the RadListBox and it is highlighted.  If I drag the mouse over the other items, these too become highlighted.  There is no way to distinguish the 'selected' item visually.  If I pass the mouse back over the list items, the highlighting changes; even so, it would confuse me as a user.  The RadListBox still seems to have multiple items selected.

The RadTabStrip exhibits similar behavior.  I can select a Tab and it will be highlighted.  If I select another Tab, the original Tab still appears highlighted, unless I drag the mouse over it.

I'm aware that I can modify this behavior using VisualStyleBuilder.  But my gut feeling is that I'm missing something; I'm wondering if I'm the only one who thinks the default behavior is odd.  Is this something that looks and acts differently in different contexts (e.g. the app running in Vista or something)?

Regards,
John
Deyan
Telerik team
 answered on 11 May 2010
1 answer
94 views
Hi ! I hope this post will have its place here...

I realised a tree view in asp.net, and now I need to do the same for a winform... the matter is that there aren't the same properties.

For example I am using these methods in the asp version :
private void Filter() 
        { 
            try 
            { 
                LoadAllNodes(); 
                if (accountTextBox.Text.TrimEnd().Equals("*") || string.IsNullOrEmpty(accountTextBox.Text.TrimEnd())) 
                    return
 
                //Get all nodes matching the filter 
                List<RadTreeNode> matchingNodes = new List<RadTreeNode>(); 
                IList<RadTreeNode> nodesToFilter = ((List<RadTreeNode>)radTreeView.GetAllNodes()).FindAll(delegate(RadTreeNode rdTNode) { return rdTNode.Tag.Equals("Account"); }); 
                for (int i = 0; i < nodesToFilter.Count; i++) 
                { 
                    if (nodesToFilter[i].Text.StartsWith(accountTextBox.Text.TrimEnd(), StringComparison.OrdinalIgnoreCase)) 
                        matchingNodes.Add(nodesToFilter[i]); 
                } 
 
                IList<RadTreeNode> allNodes = radTreeView.GetAllNodes(); 
                for (int i = 0; i < allNodes.Count; i++) 
                { 
                    if (IsToFilter(allNodes[i], matchingNodes)) 
                        allNodes[i].Remove(); 
                } 
            } 
            catch (Exception ex) 
            { 
                throw ex; 
            } 
        } 

private bool IsToFilter(RadTreeNode radTreeNode, List<RadTreeNode> matchingNodes) 
        { 
            if (radTreeNode.Text.StartsWith(accountTextBox.Text.TrimEnd(), StringComparison.OrdinalIgnoreCase)) 
                return false
 
            foreach (RadTreeNode item in matchingNodes) 
            { 
                if (radTreeNode.IsAncestorOf(item)) 
                    return false
            } 
 
            return true
        } 

But for winform version there is no method "GetAllNodes()" for RadTreeView, and I have the same problem with "IsAncestorOf".

Could you help me and explain me which property/metho I can use without changing all my code ?

Thanks a lot !

Jean
Victor
Telerik team
 answered on 11 May 2010
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
ProgressBar
CheckedDropDownList
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
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?