Telerik Forums
UI for WinForms Forum
6 answers
1.1K+ views
Hi

Linking a dropdownlist to a datatable seems simple enough:

cbEName.DataSource = Main.DataSet.Employee
cbEName.DisplayMember = "FName"
cbEName.ValueMember = "id"

But I want to display the persons full name and the display member.  Logically I'd write something like this:

cbEName.DataSource = Main.DataSet.Employee
cbEName.DisplayMember = "FName" & " " & "LName"
cbEName.ValueMember = "id"

But that obviously doesn't work.  Anyone know how to run through the dropdown list collection and add the surname?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Aug 2017
6 answers
684 views

Hi everybody,

 

we are extensively using your great new RadVirtualGrid.

We currently have this problem:

If an underlying data item of a row is being edited in a separate editor or values have been updated by database queries: how do we force an update on the cell?

Obviously somehow the event CellValueNeeded has to be refired; but how do we do that?

We already tried:

MyVirtualGrid.Invalidate()
MyVirtualGrid.Refresh();
MyVirtualGrid.Update();

Thanx in advance,

regards

Ronald

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Aug 2017
1 answer
110 views

Hi Team, 

I guess this is something i  either cannot find or i am missing something in tutorials, 

I want to have a tree which binds to my custom list  and i want to use load on demand feature , 

 

i did find  solution in patches ,

1) load on demand examples only creates new RadTreeNode whereas i want to bind my custom object

2) binding custom object example shows how to bind a object list with levels known at design time. 

 

Any sample code or direction will be highly appreciated.  

 

Dimitar
Telerik team
 answered on 03 Aug 2017
1 answer
142 views

I'm building a grid where a GridViewComboBox will have its list dynamically updated based on the selection of an item in a previous column.  I've read numerous posts about how to and how not to do this and they all make sense but I'm having one tiny problem that I cannot resolve (its because of my newness to this Grid I'm sure!)

 

Here's the code:

Private Sub ATGrid_EditorRequired(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.EditorRequiredEventArgs) Handles ATGrid.EditorRequired
   If ATGrid.CurrentColumn.Name.ToLower = "messagecodetype" Then
      If e.EditorType Is GetType(RadComboBoxEditor) Then
         RemoveHandler DirectCast(e.Editor, RadComboBoxEditor).ValueChanged, AddressOf Editor_ValueChanged
         AddHandler DirectCast(e.Editor, RadComboBoxEditor).ValueChanged, AddressOf Editor_ValueChanged
      End If
   End If
End Sub

See where it says "RadComboBoxEditor" ?  My Visual Studio 2017 code says, "RadComboBoxEditor not defined"

My form imports the following:

Imports Telerik.WinControls
Imports Telerik.WinControls.UI

but clearly this object is either not exposed or not found in either namespaces.  Can someone direct me to the correct namespace, please?

 

Thanks much!

-Curtis

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Aug 2017
1 answer
214 views

I need to load a "Dropdown & List" with images and data from a SQL Server table but not if I load the options with Entity Framework or some other option.

Could someone help me or recommend some similar example please?


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Aug 2017
7 answers
271 views
How can I put one RibbonBarGroup on the right side of RibbonBar?

Thanks,
Kevin
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Aug 2017
4 answers
278 views

In attempting to make use of this control there are a number of series issues with it.

Firstly, when attempting to add ranges to the range collection via the properties in visual studio 2017, this doesn't work.

What happens is the ranges you add are created in the Designer.cs of the form you are working on, but are not associated with the TrackBar you created them from.  (see attachment 1.) If you click the ranges collection again after adding one of the ranges, it naturally shows up empty. So currently the only way to add ranges is to do so programmatically. 
Secondly, performance issues, setting the maximum of of the trackbar to 1000+ and it becomes unreasonably slow, and unresponsive.

Thirdly, Assigning a value that exceeds ranges of the minimum or maximum, results in a popup message stating "The Value should be between minimum and maximum" no exception is thrown. (this looks like it was supposed to be a design time response) 

Setting a range to the start and end points to the minimum and maximum values of the trackbar, often results in one of the thumbs not being visible on the screen after loading. (see second attachment) 

I've seen elsewhere on the forum that the suggested performance fix was to apply basically scaling to the trackbar to reduce the number of elements that it needs to render, but when using the control to say track the position of media in seconds, scaling doesn't really work. 

 

 

Dimitar
Telerik team
 answered on 02 Aug 2017
2 answers
154 views

Hi,

 

The mouse up, double click and, mouse down events do not fire inside the radmaskededit box control. They only fire when clicking on the edge of the control. The events work fine for the regular masked edit box.

 

Please advise.

 

Regards

Mohammed

Mohammed
Top achievements
Rank 1
 answered on 01 Aug 2017
1 answer
209 views
Hello there, I manually added Telerik winform controls in VS2015. I can
use all the controls when I add and then when I close vs all telerik
controls disappear from toolbox and again I have to add manually all the
controls when I starts to work next time. Help needed ASAP.

Thank You!
Nikolay Mishev
Telerik team
 answered on 01 Aug 2017
5 answers
922 views
Is it possible to set up a group of toggle buttons such that only one button can be checked at a time?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Aug 2017
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?