Telerik Forums
UI for WinForms Forum
1 answer
104 views
I am binding a Datasource to RadCheckedDropDownList. This RadCheckedDropDownList have checked items. TextBlockFormatting not working binding time (Figure 1).
After binding i checked or unchecked item TextBlockFormatting working properly(Figure 2). I need a RadCheckedDropDownList like Figure 2..
Waiting for your favourable response.


Binding code...
RadCheckedDropDownList1.DataSource = Nothing
RadCheckedDropDownList1.CheckedMember = "vaIsProductVariant"
RadCheckedDropDownList1.DisplayMember = "ProductVariantValueID"
RadCheckedDropDownList1.ValueMember = "VariantValue"
RadCheckedDropDownList1.DataSource = value


Formatting Code....
Private Sub chkVariantValue_TextBlockFormatting(sender As Object, e As TextBlockFormattingEventArgs) 

        Dim token As TokenizedTextBlockElement = TryCast(e.TextBlock, TokenizedTextBlockElement)

        If token IsNot Nothing Then
            token.GradientStyle = Telerik.WinControls.GradientStyles.Solid
            token.BackColor = ColorTranslator.FromHtml(TokenColor)
            token.BorderColor = ColorTranslator.FromHtml(TokenColor)
            token.SmoothingMode = Drawing2D.SmoothingMode.HighQuality
            token.Shape = New RoundRectShape
        End If

End Sub
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Jul 2019
4 answers
534 views

I have a RadCheckedDropDownList that I am binding a BindingList to it. Some of the items in the list will have the CheckedMember property filled in. However, after the control loads, the items that are checked do not show up in TEXT area of the control. However, if you open the dropdown, you can see items checked.  As soon as you uncheck or check an item, all the checked items do show up.  This is a problem, I need the items that are checked by default to show up in the TEXT area.  Below is my code that I use to bind my list to the control.  Am I missing something?


private static void BindList (this RadCheckedDropDownList radDropDownList, BindingList<CheckedListItem> dropDownList, string valueMember = "Key", string displayMember = "Value", string checkedMember = "Checked")  
{
radDropDownList.BeginUpdate();
radDropDownList.ValueMember = valueMember;
radDropDownList.DisplayMember = displayMember;
radDropDownList.CheckedMember = checkedMember;
radDropDownList.DataSource = dropDownList;
radDropDownList.EndUpdate();
radDropDownList.SelectedIndex = -1;
}

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Jul 2019
1 answer
418 views
Hi,
Is there anyway to retrieve the ValueMember value of GridViewComboBoxColumn in the CellEndEdit ? Thanks.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Jul 2019
10 answers
299 views

I've trying to get autocomplete working. After failing in my main project I created a test project with a single radtextboxcontrol and the following code from the docs, and I'm not getting any word suggestions.

I'd prefer to have something like

var items = new List{ "Matthew", "Mark", "Luke", "John"}

radTextBoxControl1.AutoCompleteItems.AddRange(items);

but that didn't work either.

Thanks.

 

namespace TelerikWinFormsApp1
{
    public partial class RadForm1 : Telerik.WinControls.UI.RadForm
    {
        public RadForm1()
        {
            InitializeComponent();
 
            AddAutoCompleteItems();
        }
        private void AddAutoCompleteItems()
        {
            this.radTextBoxControl1.AutoCompleteMode = AutoCompleteMode.Suggest;
            RadListDataItemCollection autoCompleteItems = this.radTextBoxControl1.AutoCompleteItems;
 
            autoCompleteItems.Add(new RadListDataItem("Luke"));
            autoCompleteItems.Add(new RadListDataItem("Max"));
            autoCompleteItems.Add(new RadListDataItem("Adam"));
            autoCompleteItems.Add(new RadListDataItem("Henry"));
            autoCompleteItems.Add(new RadListDataItem("Jack"));
            autoCompleteItems.Add(new RadListDataItem("Ben"));
            autoCompleteItems.Add(new RadListDataItem("Tyler"));
            autoCompleteItems.Add(new RadListDataItem("Ethan"));
            autoCompleteItems.Add(new RadListDataItem("David"));
            autoCompleteItems.Add(new RadListDataItem("Mike"));
        }
    }
}
Dimitar
Telerik team
 answered on 30 Jul 2019
4 answers
819 views
Hi! I've found the TextPlacement property of DataLayoutControlItem, but the control is kept to the right of the label. Is it possible to place the control under the label with their lefts aligned?
Dimitar
Telerik team
 answered on 30 Jul 2019
4 answers
125 views

Hello,

I have a font issue only for the question mark (?) in breadcrumb. I've tried some different themes. They all have the same issue. It doesn't depend on the theme.

Please see the attached picture.

I've found a similar thread in the forum, but the solution hasn't worked for me.

https://www.telerik.com/forums/set-usemnemonic-to-false-for-breadcrumb

 

Thank you by advance.

 

Kun
Top achievements
Rank 2
 answered on 29 Jul 2019
2 answers
319 views

I have a gridview, I want to display in Master-Child mode. But the performance is really bad when loading data. I added BeginUpdate/EndUpdate before and after I want to load or modify some binding data. But I get the following error randomly  after I modify my data several times.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Jul 2019
9 answers
710 views

Hello,

I'm desperately trying to change the color of the background of my chart (inside of the axis = plot area in Excel - see attached). I tried the background property for the area, the grid... I also tried to alternate the same color in my grid.

 How should I do that?

Thanks,

Mathias

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Jul 2019
1 answer
50 views
I add a line.
In the method UserAddingRow produce a check for correctness
if (e.Rows [0] .Cells [1] .Value == null)
             {
                 AlertOperation (new string [] {"No degree specified", "0"});
                 e.Cancel = true;
                 return;
             }

But in this case, the error pops up and the line is added bodto.
How to leave the old look or paint this cell red?
Nadya | Tech Support Engineer
Telerik team
 answered on 29 Jul 2019
1 answer
173 views

When using the detail view, the default column width is too wide. Is it possible to set the width before the dialog is shown?

I would also prefer that the column header text be left justified.

The first image shows how it looks now and the second image shows how I want it to look.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Jul 2019
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?