Telerik Forums
UI for WinForms Forum
1 answer
260 views
Hello!

      I have read the following two posts



     And I am wondering, are the collapsing side panels in the Telerik examples project in WPF and thus not available in WinForms?  I need something exactly like that for my WinForms app, but I'm not sure if it exists (at least due to the second post I included above, where using the XP Collapsible Pane will not work for what I'm after...as I'm trying to find something similar to Visual Studio's Solution Explorer and Properties side bars without the pinning)  Are there any WinForms controls like that or is the XP Collapsible Pane the only option?

      Thanks for your time!
Nikolay
Telerik team
 answered on 30 Jun 2010
7 answers
251 views
Hi,

I am using "Edit UI elements" to style a RadGrid.
As soon as i change anything to do with Header part it breaks my application.

Error details
--------------------------
Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index

On following lines (pageName.Designer.cs) (As soon as i remove these lines, my code works fine.)
-----------------------------------------------------------------------------------------------------------------------------------
((Telerik.WinControls.UI.GridGroupHeaderItem)(this.radGridClinics.GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(168)))), ((int)(((byte)(101)))));
            ((Telerik.WinControls.UI.GridGroupHeaderItem)(this.radGridClinics.GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0))).HorizontalLineWidth = 0;
            ((Telerik.WinControls.UI.GridGroupHeaderItem)(this.radGridClinics.GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(247)))), ((int)(((byte)(240)))));
            ((Telerik.WinControls.UI.GridGroupHeaderItem)(this.radGridClinics.GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(1).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(168)))), ((int)(((byte)(101)))));
            ((Telerik.WinControls.UI.GridGroupHeaderItem)(this.radGridClinics.GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(247)))), ((int)(((byte)(240)))));

Does anyone suggest what i am doing wrong here?

Thanks,
Narayan
Nikolay
Telerik team
 answered on 30 Jun 2010
2 answers
290 views
Hello,

Is it possible to add a image for a item of the RadDropDownList ?
 
Kind Regards,

Ramius
Ramius
Top achievements
Rank 1
 answered on 30 Jun 2010
0 answers
206 views
Hi,

I want to add a button or linklabel in radMultiColumnComboBox at specified column of specified row. Basicaly i want to achieve the following functionalities (PFA also):

  •  Replace the second col of fourth row in this dropdown "(Choose)" with a control and open a date selector control on that control's click.
  • Remove only horizontal lines of radMultiColumnComboBox2.EditorControl.
  • Remove space between the EditorControl's (grid inside multicolumn combo) border and combo's border. 

 

I am using telerik controls for windows application.


Thanks in advance,
Ravi
Ravi Kumar
Top achievements
Rank 1
 asked on 30 Jun 2010
1 answer
116 views
Hi,

I have two questions

1) I am after complete application of scheduler working with object datasource. (working with database)
2) Anyone use sql 2000 with scheduler, i am getting error Date datatype is not supported

Regards,
Syed
Dobry Zranchev
Telerik team
 answered on 30 Jun 2010
1 answer
106 views
Hi,

I need to Upgrade Telerik controls for winform from q3 2009 to q1 2010. What is the procedure to upgrade to the new version. Is it free for the exisiting customer? Please let me know.

Thanks,
Munish
Stefan
Telerik team
 answered on 30 Jun 2010
1 answer
394 views
I can't seem to get the RadForm's size grip to show. I am setting SizeGripStyle to Show, which is all is takes when using a regular windows form control. What else do I need to do to get it to show on a RadForm?

FYI - I'm using WinForms 2010 Q1.

Thanks in advance!
John
Deyan
Telerik team
 answered on 30 Jun 2010
1 answer
211 views
Hi!

Im trying to use an alternative GridEditor to input Enter into an Textfield in an RadGridView and found the example above anywhere here in the forum.
The problem is, when I'm clicking in the Editbox to edit the text everything works fine, but when I click on the same or on an other textfield in the grid no cursor is shown and it's not possible to edit the fields as long as i reopen the form.

Please help

regards
Willi

Use:
    Private Sub grdOPdaten2_EditorRequired(ByVal sender As Object, ByVal e As EditorRequiredEventArgs) Handles grdOPdaten2.EditorRequired 
        If e.EditorType Is GetType(RadTextBoxEditor) Then 
            e.EditorType = GetType(MyTextBoxEditor) 
        End If 
    End Sub 

Class:
Public Class MyTextBoxEditor 
    Inherits BaseGridEditor 
    Public Overrides Property Value() As Object 
        Get 
            Dim editorElement As MyTextBoxEditorElement = DirectCast(Me.EditorElement, MyTextBoxEditorElement) 
            Return editorElement.HostedControl.Text 
        End Get 
        Set(ByVal value As Object) 
            Dim editorElement As MyTextBoxEditorElement = DirectCast(Me.EditorElement, MyTextBoxEditorElement) 
            If value Is Nothing OrElse value Is DBNull.Value Then 
                editorElement.HostedControl.Text = String.Empty 
            Else 
                editorElement.HostedControl.Text = value.ToString() 
            End If 
        End Set 
    End Property 
 
    Public Overrides Sub BeginEdit() 
        MyBase.BeginEdit() 
        Dim editorElement As MyTextBoxEditorElement = DirectCast(Me.EditorElement, MyTextBoxEditorElement) 
        editorElement.HostedControl.BackColor = Color.White 
    End Sub 
 
    Protected Overrides Function CreateEditorElement() As RadElement 
        Return New MyTextBoxEditorElement() 
    End Function 
End Class 
 
Public Class MyTextBoxEditorElement 
    Inherits RadHostItem 
    Public Sub New() 
        MyBase.New(New TextBox()) 
 
        Me.StretchHorizontally = True 
        Me.StretchVertically = True 
        DirectCast(Me.HostedControl, TextBox).AcceptsReturn = True 
        DirectCast(Me.HostedControl, TextBox).AcceptsTab = True 
        DirectCast(Me.HostedControl, TextBox).Multiline = True 
        AddHandler DirectCast(Me.HostedControl, TextBox).KeyDown, AddressOf MyTextBoxEditorElement_KeyDown 
    End Sub 
 
    Private Sub MyTextBoxEditorElement_KeyDown(ByVal sender As Object, ByVal e As KeyEventArgs) 
        If e.KeyCode = Keys.Escape OrElse _ 
        (e.KeyCode = Keys.Enter AndAlso e.Modifiers = Keys.Shift) OrElse _ 
        e.KeyCode = Keys.Tab Then 
            Dim grid As RadGridView = DirectCast(Me.ElementTree.Control, RadGridView) 
            grid.GridBehavior.ProcessKeyDown(New KeyEventArgs(e.KeyCode)) 
        End If 
    End Sub 
End Class 

Alexander
Telerik team
 answered on 30 Jun 2010
1 answer
237 views
Hi!

I'm trying to change the Tab Order in the Telerik RadGridView when using HtmlViewDefinition. Is this possible?
Please see the attached File, Blue is the current order and red is the order i want.

Please help

regards

Willi

Initializing HtmlViewDefinition:
 Dim htmlView As New HtmlViewDefinition 
 
        With htmlView.RowTemplate 
            .Rows.Add(New RowDefinition) 
            .Rows(0).Cells.Add(New CellDefinition("cmbIcpmppCode")) 
            .Rows(0).Cells.Add(New CellDefinition("dtDatum")) 
            .Rows(0).Cells.Add(New CellDefinition("cmbLocal")) 
            .Rows(0).Cells.Add(New CellDefinition("txtZusatz")) 
            .Rows(0).Cells.Add(New CellDefinition("chkHauptleistung")) 
            .Rows(0).Cells.Add(New CellDefinition("grdCmdDelete")) 
 
            .Rows(0).Cells(1).RowSpan = 2 
            .Rows(0).Cells(2).RowSpan = 2 
            .Rows(0).Cells(3).RowSpan = 2 
            .Rows(0).Cells(4).RowSpan = 2 
            .Rows(0).Cells(5).RowSpan = 2 
 
            .Rows.Add(New RowDefinition) 
            .Rows(1).Cells.Add(New CellDefinition("cmbArzt")) 
 
        End With 
        grdOPdaten2.ViewDefinition = htmlView 

Jack
Telerik team
 answered on 30 Jun 2010
2 answers
105 views

Hi,

I added a tab strip with two tab items on the left side. Furthermore I changed the TextOriantation to vertical so that the text appears horizontal on screen. At the end I attached an Image to both tab items. After compiling the application the height of the tab strip changes, both tab items looses their ImagePrimitive settings and the second tab item looses the attached image. 

Regards

Martin

Deyan
Telerik team
 answered on 30 Jun 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?