Telerik Forums
UI for WinForms Forum
3 answers
838 views
Please can we have an example of adding a row to the Multi Column Combo Box, that does not use a Datasource

I wanted to have a column with a name and another with a checkbox.

it seems rather simple, but there is no example in the documentation that details a simple add items

I did manage to add records via a datatable, but this does not add to the existing columns in the control, but adds new columns
And does not set the value of the checkbox

Sub LoadData()
 
        Dim table1 As DataTable = New DataTable()
 
        table1.Columns.Add("ID")
        table1.Columns.Add("Name")
        table1.Columns.Add("Selected")
 
        table1.Rows.Add(1, "Ivan Petrov", True)
        table1.Rows.Add(2, "Stefan Muler", True)
        table1.Rows.Add(3, "Alexandro Ricco", False)
 
        cboTestCheckbox.DataSource = table1
        cboTestCheckbox.DisplayMember = "Name"
 
 
    End Sub

Stefan
Telerik team
 answered on 12 Mar 2015
3 answers
127 views
I am trying to set the spin editor to only allow entry via the Arrow keys but when I set the readonly property to true I can not change the value in the spinControl at all. Is the the expected behavior?

Thank you.
Stefan
Telerik team
 answered on 12 Mar 2015
1 answer
155 views
How to add tool tip for GanttView
Stefan
Telerik team
 answered on 12 Mar 2015
2 answers
94 views
Is it possible to set the size for Bars in the bar chart view for win forms.

Regards,
Ganesh. K
Ganesh
Top achievements
Rank 1
 answered on 12 Mar 2015
2 answers
394 views
Hi, could you let me know how to do the following with a RadForm (or point me to some documentation with instructions)?

1. Hide the icon that's shown in the upper left corner
2. Prevent the dialog from being resized by the user
3. Hide the minimize and maximize icons that are shown in the upper right corner

Thanks for your help,

-Lou
Lou
Top achievements
Rank 1
 answered on 11 Mar 2015
2 answers
90 views
I need a method to compare the results between and on the basis that I change the color

Probably this picture shows
Mahmoud
Top achievements
Rank 1
 answered on 11 Mar 2015
7 answers
293 views
Hi There

I need to implement a weighted Average Calculation in the group of the Grid, can you tell me if there any way I can implement this, as the functions define are not helping. I have tried this but it will not work
               // string s_test = "Sum(YieldPrice * ProjectedBal) / Sum(ProjectedBal)";
               // Item3 = new GridViewSummaryItem("YieldPrice", "WAVG : {0}", s_test);
               // NewSummaryRowItem.Add(Item3);

string s_test = "Sum(YieldPrice * ProjectedBal) / Sum(ProjectedBal)";
Item3 = new GridViewSummaryItem("YieldPrice", "WAVG : {0}", s_test); 
NewSummaryRowItem.Add(Item3);

I have two columns YieldPrice  and ProjectedBal I want to take the Sum(YieldPrice * ProjectedBal) per row which works fine, and divide by the Sum(ProjectedBal) column

Regards

Bugsy
               // string s_test = "Sum(YieldPrice * ProjectedBal) / Sum(ProjectedBal)";
               // Item3 = new GridViewSummaryItem("YieldPrice", "WAVG : {0}", s_test);
               // NewSummaryRowItem.Add(Item3);

Hristo
Telerik team
 answered on 11 Mar 2015
5 answers
156 views
Hello.
It seems that the RadMaskedEditBox allways works in replace mode.What I want to do is the following:
On the Enter-Event I select the whole contents of the control. When the user types the first character, the old contents should be replaced by the character he typed. But that doesn't happen. Instead the first character is replaced by the user input. If the former content had 4 characters and the user only types 2 characters the rest of the old input remains in the control.
Sometimes replacement starts on the second character, although the whole content was selected.

Is there a way to replace the old content completely when the user types the first character?

Ralf

Hristo
Telerik team
 answered on 11 Mar 2015
8 answers
991 views
How can I expose and set the text alignment property of a TextBoxControl? I need to use a RadTextBoxControl for theming so using RadTextBox is not an option. I cannot find a way to set the text alignment (HorizontalAlignment of left/right/center not ContentAlignment).
Dimitar
Telerik team
 answered on 11 Mar 2015
1 answer
86 views
I see some posts in years back mentioned an intent to add the ability to choose both date and time in the GridViewDateTimeColumn's dropdown. Has that ever been done? Although we can choose the EditorType to be a DateTimePicker, there seems to be no way to tell that Editor we want to see both, not just date. If the feature is available, please describe how to access it. Thanks.
Stefan
Telerik team
 answered on 11 Mar 2015
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
CheckedDropDownList
ProgressBar
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
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?