Telerik Forums
UI for WinForms Forum
11 answers
411 views
Hi... I am using your Muliticolumn combo box version 2010.3.10.1215
I have a binding issue..
I have declared two DataAdapters and DataViews and populated them from a database... I am attempting to late bind the multicolumn combo box to the two dataviews

The code I have used is

cboLookup.DataBindings.Add("SelectedValue", dvData, "RecordID")
cboLookup.DataSource = dvDisplayList
cboLookup.ValueMember = "RecordID"
cboLookup.DisplayMember = "ShortDescription"
 
the combo properly populates and displays the contents of the datasource (dvDisplayList)... but does not bind the selectedvalue property (or the selectedItem for that matter).  So as I move through the items in the dvData dataview, the combo does not display the corresponding entry in the datasource, it selects the first record and does not move. 

I attempted the same code with your RadDropDown list, and it responds as I expected.  I found when I simply added the Rad Drop down list to the form  along with the multi column combo box the multi column combo box behaved as expected. 

Am I doing something wrong here...?
Thanks for any assistance..
Carol Watson
Top achievements
Rank 1
 answered on 26 Aug 2011
2 answers
351 views

We identified several issues with our new Upgrade Wizard shortly after our Q2 2011 release.

The following circumstances are known to cause issues when using the Upgrade Wizard:

  • Having any invalid references in your project (marked with a warning sign in Visual Studio)
  • Having COM references in your project
  • Holding a project reference to a project which has not yet been built
  • Holding a project reference to a project whose output assembly name differs from the project's name

 

All of the above issues have already been addressed and an update has been released through the Visual Studio Online Gallery:
Telerik WinForms VSExtensions

You should be able to use the Visual Studio 2010 Extension Manager to download the update.

In case you are using Visual Studio 2008 and cannot get updates through the Visual Studio Online Gallery, you will be able to benefit the update when our next Service Pack release.

Best regards,
The Telerik Team

Erjan Gavalji
Telerik team
 answered on 26 Aug 2011
1 answer
104 views
Hi,

I was able to populate the carousel at runtime with picture stored in a database. For some reasons, the event selectedItemChanged never get fired. How can I capture the picture selected by the user?

thanks

acheo
Stefan
Telerik team
 answered on 26 Aug 2011
6 answers
312 views
I'm using the ToolTipTextNeeded event to provide Tool Tips over date controls in our RadGridViews.  Is there a way to specify the duration that it stays visible, hover time needed to invoke, etc...?  Our users would like them to stay visible longer.  Thanks...
Maya
Telerik team
 answered on 26 Aug 2011
1 answer
175 views
Hi,

I am programatically adding DocumentWindows in RadDock and adding a RadGridView in DocumentWindow but i am getting below error.

unable to cast object type 'Teleriki.WinControls.UI.RadGrdiView' to 'Telerik.WinControls.UI.Docking.RadDock'.

Please suggest any solution for this...

Thanks and Regards,
Simon.
 
Stefan
Telerik team
 answered on 26 Aug 2011
5 answers
107 views
Hello, i was curious if there is any special way that i need to implement inorder to Disable (.enabled = false) the dateStart and dateEnd fields ont he edit form.  i want to disallow the user from editing these fields if the appointment is in the past and settings then everywhere i have tried so far is having no effect.  timeStart and timeEnd were successfully disabled using normal methods.
Chad
Top achievements
Rank 1
 answered on 25 Aug 2011
3 answers
168 views
Hi,

Just want check with you guys, is it possible implement "Search" functionon RadSchedulerNavigator ? For example, search by "Subject"

Peter
Ivan Todorov
Telerik team
 answered on 25 Aug 2011
5 answers
186 views
E.g: 5 child nodes under a parent node. When try to reorder the child nodes, move 2nd node right above or right below 4th node, both of the actions, target node might be the 4th node based on users mouse behavior. How can we identity user wants to move the 2nd node above or below 4th node? 
Stefan
Telerik team
 answered on 25 Aug 2011
2 answers
201 views
Hi,

I have a problem on the CausesValidation between Main Form and Child Form. 
In the Main Form (midChildContainer form), I have a commandbar control with 2 buttons.  When those buttons are clicked, a function in Child Form will be involved. 

However, I want the validating event in the child form to be triggered when the first button in Main Form is clicked.  When, the other button is clicked, the validating event should not be fired.

I tried to set the causesvalidation in CommandBar to False.  Then, whatever buttons is clicked, the validating event never fire. 
Is there any way to do?  Thanks!

The following is the code:

Main Form Designer:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class FrmMainMenu
    Inherits Telerik.WinControls.UI.RadForm
 
    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub
 
    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer
 
    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer. 
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.RadCommandBar1 = New Telerik.WinControls.UI.RadCommandBar()
        Me.CommandBarRowElement1 = New Telerik.WinControls.UI.CommandBarRowElement()
        Me.CommandBarStripElement1 = New Telerik.WinControls.UI.CommandBarStripElement()
        Me.cmdButton = New Telerik.WinControls.UI.CommandBarButton()
        Me.cmdButton2 = New Telerik.WinControls.UI.CommandBarButton()
        CType(Me.RadCommandBar1, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'RadCommandBar1
        '
        Me.RadCommandBar1.AutoSize = True
        Me.RadCommandBar1.CausesValidation = False
        Me.RadCommandBar1.Dock = System.Windows.Forms.DockStyle.Top
        Me.RadCommandBar1.Location = New System.Drawing.Point(0, 0)
        Me.RadCommandBar1.Name = "RadCommandBar1"
        Me.RadCommandBar1.Rows.AddRange(New Telerik.WinControls.UI.CommandBarRowElement() {Me.CommandBarRowElement1})
        Me.RadCommandBar1.Size = New System.Drawing.Size(579, 55)
        Me.RadCommandBar1.TabIndex = 1
        Me.RadCommandBar1.Text = "Without Validation"
        '
        'CommandBarRowElement1
        '
        Me.CommandBarRowElement1.DisplayName = Nothing
        Me.CommandBarRowElement1.MinSize = New System.Drawing.Size(25, 25)
        Me.CommandBarRowElement1.Strips.AddRange(New Telerik.WinControls.UI.CommandBarStripElement() {Me.CommandBarStripElement1})
        '
        'CommandBarStripElement1
        '
        Me.CommandBarStripElement1.DisplayName = "CommandBarStripElement1"
        Me.CommandBarStripElement1.FloatingForm = Nothing
        Me.CommandBarStripElement1.Items.AddRange(New Telerik.WinControls.UI.RadCommandBarBaseItem() {Me.cmdButton, Me.cmdButton2})
        Me.CommandBarStripElement1.Name = "CommandBarStripElement1"
        Me.CommandBarStripElement1.Text = ""
        '
        'cmdButton
        '
        Me.cmdButton.AccessibleDescription = "CommandBarButton1"
        Me.cmdButton.AccessibleName = "CommandBarButton1"
        Me.cmdButton.CanFocus = False
        Me.cmdButton.DisplayName = "Without Validation"
        Me.cmdButton.DrawText = True
        Me.cmdButton.Image = Nothing
        Me.cmdButton.ImageAlignment = System.Drawing.ContentAlignment.BottomRight
        Me.cmdButton.KeyTip = "WITHOUT VALIDATION"
        Me.cmdButton.Name = "cmdButton"
        Me.cmdButton.Text = "Without Validation"
        Me.cmdButton.TextImageRelation = System.Windows.Forms.TextImageRelation.TextAboveImage
        Me.cmdButton.Visibility = Telerik.WinControls.ElementVisibility.Visible
        Me.cmdButton.VisibleInOverflowMenu = True
        '
        'cmdButton2
        '
        Me.cmdButton2.AccessibleDescription = "With Validation"
        Me.cmdButton2.AccessibleName = "With Validation"
        Me.cmdButton2.CanFocus = False
        Me.cmdButton2.DisplayName = "CommandBarButton1"
        Me.cmdButton2.DrawText = True
        Me.cmdButton2.Image = Nothing
        Me.cmdButton2.Name = "cmdButton2"
        Me.cmdButton2.Text = "With Validation"
        Me.cmdButton2.Visibility = Telerik.WinControls.ElementVisibility.Visible
        Me.cmdButton2.VisibleInOverflowMenu = True
        '
        'FrmMainMenu
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(579, 579)
        Me.Controls.Add(Me.RadCommandBar1)
        Me.IsMdiContainer = True
        Me.Name = "FrmMainMenu"
        '
        '
        '
        Me.RootElement.ApplyShapeToControl = True
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
        Me.Text = "FrmMainMenu"
        Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
        CType(Me.RadCommandBar1, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me, System.ComponentModel.ISupportInitialize).EndInit()
        Me.ResumeLayout(False)
        Me.PerformLayout()
 
    End Sub
    Friend WithEvents RadCommandBar1 As Telerik.WinControls.UI.RadCommandBar
    Friend WithEvents CommandBarRowElement1 As Telerik.WinControls.UI.CommandBarRowElement
    Friend WithEvents CommandBarStripElement1 As Telerik.WinControls.UI.CommandBarStripElement
    Friend WithEvents cmdButton As Telerik.WinControls.UI.CommandBarButton
    Friend WithEvents cmdButton2 As Telerik.WinControls.UI.CommandBarButton
End Class

Main Form Code:
Public Class FrmMainMenu
    Private frmChild As FrmChild
    Private currentForm As Object
 
    Private Sub FrmMainMenu_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        frmChild = New FrmChild
        frmChild.Top = 0
        frmChild.Left = 0
        frmChild.MdiParent = Me
        frmChild.Show()
    End Sub
 
    Private Sub cmdButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdButton.Click
        currentForm = Me.ActiveMdiChild
        currentForm.WithoutValidationClick()
    End Sub
 
    Private Sub cmdButton2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdButton2.Click
        currentForm = Me.ActiveMdiChild
        currentForm.WithValidationClick()
    End Sub
 
    Private Sub cmdButton2_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdButton2.MouseHover
        RadCommandBar1.CausesValidation = True
    End Sub
 
    Private Sub cmdButton2_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdButton2.MouseLeave
        RadCommandBar1.CausesValidation = False
    End Sub
End Class

Child Form Designer: 
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class FrmChild
    Inherits Telerik.WinControls.UI.RadForm
 
    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub
 
    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer
 
    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer. 
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.RadTextBox1 = New Telerik.WinControls.UI.RadTextBox()
        Me.RadLabel1 = New Telerik.WinControls.UI.RadLabel()
        CType(Me.RadTextBox1, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.RadLabel1, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'RadTextBox1
        '
        Me.RadTextBox1.Location = New System.Drawing.Point(13, 36)
        Me.RadTextBox1.Name = "RadTextBox1"
        Me.RadTextBox1.Size = New System.Drawing.Size(198, 20)
        Me.RadTextBox1.TabIndex = 0
        Me.RadTextBox1.TabStop = False
        Me.RadTextBox1.Text = "123"
        '
        'RadLabel1
        '
        Me.RadLabel1.Location = New System.Drawing.Point(13, 12)
        Me.RadLabel1.Name = "RadLabel1"
        Me.RadLabel1.Size = New System.Drawing.Size(153, 18)
        Me.RadLabel1.TabIndex = 1
        Me.RadLabel1.Text = "Only ABC is an validate input."
        '
        'FrmChild
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.CausesValidation = False
        Me.ClientSize = New System.Drawing.Size(293, 82)
        Me.Controls.Add(Me.RadTextBox1)
        Me.Controls.Add(Me.RadLabel1)
        Me.Name = "FrmChild"
        '
        '
        '
        Me.RootElement.ApplyShapeToControl = True
        Me.StartPosition = System.Windows.Forms.FormStartPosition.Manual
        Me.Text = "FrmChild"
        CType(Me.RadTextBox1, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.RadLabel1, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me, System.ComponentModel.ISupportInitialize).EndInit()
        Me.ResumeLayout(False)
        Me.PerformLayout()
 
    End Sub
    Friend WithEvents RadTextBox1 As Telerik.WinControls.UI.RadTextBox
    Friend WithEvents RadLabel1 As Telerik.WinControls.UI.RadLabel
End Class

Child Form Code:
Public Class FrmChild
    Private oParent As Object
 
    Public Sub WithoutValidationClick()
        MessageBox.Show("Without Validation Click from Main Menu.")
    End Sub
 
    Public Sub WithValidationClick()
        MessageBox.Show("With Validation Click from Main Menu.")
    End Sub
 
    Private Sub RadTextBox1_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles RadTextBox1.Validating
        If RadTextBox1.Text <> "ABC" Then
            MessageBox.Show("Invalid input.")
        End If
    End Sub
 
    Private Sub FrmChild_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        oParent = Me.MdiParent
    End Sub
End Class

Emily
Emily Fong
Top achievements
Rank 1
 answered on 25 Aug 2011
1 answer
307 views
Is there a RadControl for WinForms that will do this?

When I google on this, I see examples on how to program the default PictureBox control that ships with Visual Studio, but I was wondering if there was an existing RadControl that can already do this, and save myself some development time.

Thanks
Richard Slade
Top achievements
Rank 2
 answered on 25 Aug 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
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?