Telerik Forums
UI for WinForms Forum
1 answer
98 views
Hi,
i use the RadListBox that comes with WinForms Q3 2009 SP1 in my C# project. One major difficulty i face now is i want to  perform a condition on adding items to the radListBox. i.e, all items must be added only once.no duplication of same item must be present. In the standard listbox of Windows Forms i used if(!listbox1.item.contains(s)) to enter a string s, but i need to know how to implement this using RadListBox.
Dobry Zranchev
Telerik team
 answered on 14 May 2010
1 answer
81 views
Hello,

How do I disable tabbed child views that belongs to the same parent but have different columns. I want to be able to expand many childs to see data from them at same time - not tab between them.

Example: Parent has two childs that are from different dataset and have different columns and data in them. Is there a way of not getting them tabbed when setting up their relations to the parent.

Regards
Jack
Telerik team
 answered on 14 May 2010
1 answer
260 views
Hello

I need to enable the update button in a form whenever the value of any control in the form change its value. It works fine for RadTextBox, RadComboBox, but it doesn't work either for RadSpinEditor nor RadDateTimePicker.

 Private Sub Text_Changed(ByVal sender As System.ObjectByVal e As System.EventArgs) _ 
            Handles RadTextBox1.TextChanged, _ 
                    RadComboBox1.TextChanged, _ 
                    RadDateTimePicker1.TextChanged, _ 
                    RadSpinEditor1.TextChanged 
 
        If RadTextBox1.ContainsFocus Or _ 
           RadComboBox1.ContainsFocus Or _ 
           RadDateTimePicker1.ContainsFocus Or _ 
           RadSpinEditor1.ContainsFocus Then 
             Me.UpdateButton.Enabled = True 
        End If 
 
        
    End Sub 

I tried a more generic way to do it with this procedure, that didn't work too:

 
Private Sub Text_Changed(ByVal sender As System.ObjectByVal e As System.EventArgs) _ 
            Handles RadTextBox1.TextChanged, _ 
                    RadComboBox1.TextChanged, _ 
                    RadDateTimePicker1.TextChanged, _ 
                    RadSpinEditor1.TextChanged 
 
       
        If HasFocus(sender) Then 
            Me.RadButton1.Enabled = True 
        End If 
 
End Sub 
 
 
Public Function HasFocus(ByVal sender As System.ObjectAs Boolean 
        Dim radElemento As Telerik.WinControls.RadElement 
 
        If sender.GetType Is GetType(Telerik.WinControls.UI.RadTextBox) Then 
            radElemento = DirectCast(sender, Telerik.WinControls.UI.RadTextBox).FocusedElement 
        End If 
        If sender.GetType Is GetType(Telerik.WinControls.UI.RadComboBox) Then 
            radElemento = DirectCast(sender, Telerik.WinControls.UI.RadComboBox).FocusedElement 
        End If 
        If sender.GetType Is GetType(Telerik.WinControls.UI.RadSpinEditor) Then 
            radElemento = DirectCast(sender, Telerik.WinControls.UI.RadSpinEditor).FocusedElement 
        End If 
        If sender.GetType Is GetType(Telerik.WinControls.UI.RadDateTimePicker) Then 
            radElemento = DirectCast(sender, Telerik.WinControls.UI.RadDateTimePicker).FocusedElement 
        End If 
        If sender.GetType Is GetType(Telerik.WinControls.UI.RadCheckBox) Then 
            radElemento = DirectCast(sender, Telerik.WinControls.UI.RadCheckBox).FocusedElement 
        End If 
 
        If Not radElemento Is Nothing AndAlso radElemento.ContainsFocus Then 
            Return True 
        Else 
            Return False 
        End If 
End Function 

Thank you



Dobry Zranchev
Telerik team
 answered on 14 May 2010
1 answer
245 views
Hi, I cannot get rid of the horizontal scrollbar on a listbox.

I do ....

  listbox.HorizontalScroll.Enabled = False 
  listbox.HorizontalScroll.Visible = False 

but it has not effect.

I am using 2010 Q1 SP2 in VS 2010.

Any help is greatly appreciated.
Thanks,
Diego
Victor
Telerik team
 answered on 14 May 2010
1 answer
125 views
Hi there, 
I am using Radcontrols for Winforms Q3 2008 SP2. I am facing some difficulties using radTreeView, i want expand and collapse operation on a single click. I tried to use tree_selected and tree_MouseDown events to get this behaviour but i was not able to get it done.

Please suggest some solution.
Regards
Aman
Victor
Telerik team
 answered on 14 May 2010
5 answers
193 views
I am using the CollapsiblePane example to learn more about this control.  I am having problems setting the text property of the control.  If I use the Theme Manager, I can set the property but, I cannot set it in the properties or in code.  The component always seems to default to "CollapsiblePane".  Is there something I am overlooking in setting the text property for the object?

Thanks
Nikolay
Telerik team
 answered on 13 May 2010
2 answers
82 views
Hi guys ,

My company trying the trail version of Winforms Q3 2009 and we plan to buy it if it was fully server our needs , im found of it but i want to make it comprable to any type of collabsable panle like Divexpress  CollapsablePane
So please telerik team i started to ask your support....

I did extracted  CollapsablePane control from 2009 Q3 collection successfully ,I can play arround the control  but now i want to add a button indicator into the header to show if the control is expanded on or Not

,how I could do that?

Thanks Telerik team
Abdulrahman Nabil
Technical Consultant
Nikolay
Telerik team
 answered on 13 May 2010
7 answers
325 views
I have a gridview that has 10 columns... I would like a row that contains the summary(totals) for the columns.....is this possible? please help..
Jack
Telerik team
 answered on 13 May 2010
7 answers
315 views
Hi, it is possible to change the default "Click here to add a new row" ? I need to support french language to. I can't foun a property to change the default text programmatically.

Thanks
Jack
Telerik team
 answered on 13 May 2010
2 answers
152 views
Is it possible to do this?  I want to selectively turn on and off the resize ability using the 'Fixed' property on the SplitterElement.  It would be nice to not still show the resize arrows when resizing will not work.'

Thanks!
Adam
Top achievements
Rank 2
 answered on 13 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?