Telerik Forums
UI for WinForms Forum
4 answers
444 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
147 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
682 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
116 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
312 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
150 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
80 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
152 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
122 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
3 answers
205 views
Me Again!!
I don't know if i'm doing something wrong, or if this is a bug. 
I am trying to make my scheduler only show a given appointment.
I wanted to display the hour before and after the appointment. To do so I am using this code:

private void showAppointment(DateTime dt1) 
{ 
            rsAppointments.ActiveView.StartDate = Convert.ToDateTime(dt1.ToShortDateString()); 
            ((SchedulerDayView)rsAppointments.ActiveView).RulerStartScale = dt1.Hour - 1; 
            ((SchedulerDayView)rsAppointments.ActiveView).RulerEndScale = dt1.AddMinutes(Convert.ToDouble(appointDuration)).Hour + 1; 
} 

It works fine the first time its called, however after its been called a few times, it starts showing more and more time and will show the 3-6 hours before the appointment. 

Any suggestions?

Thanks!
Dobry Zranchev
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)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?