Telerik Forums
UI for WinForms Forum
1 answer
304 views
May I know how can I change the combo box text color, example
the combobox having a list like below
Red
Blue
Green
White
Black

When that item is selected, the forecolor show on the combo box is the text color.

below are some of my code...
============================================

6:          For i As Integer = 0 To _Color.Items.Count - 1
7:              Dim item As New Telerik.WinControls.UI.RadComboBoxItem()
8:              Dim fillElement As Telerik.WinControls.Primitives.FillPrimitive = DirectCast(item.Children(0), Telerik.WinControls.Primitives.FillPrimitive)
9:              fillElement.BackColor = _Color.Item(i).CoverColor
10:             fillElement.BackColor2 = _Color.Item(i).CoverColor
11:             fillElement.BackColor3 = _Color.Item(i).CoverColor
12:             fillElement.BackColor4 = _Color.Item(i).CoverColor
                item.ForeColor = _Color.Item(i).FontColor
13:             item.Text = _Color.Item(i).Name
14:             item.Value = _Color.Item(i).Index
15:             _cboCTRL.Items.Add(item)
16:         Next

====================================
    Private Sub _ComboColor_SelectedValueChanged(ByVal sender As Object, ByVal e As EventArgs) Handles _cboCoverColor.SelectedValueChanged

1:      Dim item As RadComboBoxItem = DirectCast(_cboCoverColor.SelectedItem, RadComboBoxItem)
2:      If item Is Nothing Then
3:          Return
4:      End If

        _cboCoverColor.ForeColor = item.ForeColor
    End Sub
================================================

but seems like no luck... i only manage to change the drop down text to the color I would like it to be, but, not the text color while it's selected.

Please advice.

Martin Vasilev
Telerik team
 answered on 25 Apr 2008
1 answer
148 views
How do I make the navigation bar move 12 months instead of it moving 3 months when I click the << and >> buttons. Is there a property I can set.
Martin Vasilev
Telerik team
 answered on 25 Apr 2008
5 answers
246 views
If any one can help, i need some help in creating a theme. I find the designer very hard to use.
Peter
Telerik team
 answered on 25 Apr 2008
6 answers
195 views
Hi,

I am writing an application with your components and am trying to update it to 2008Q1. All has gone well (except filtering the grid but I'll figure it out).

I had to update the .NET Framework to 2.0SP1 since the following exception was being raised:

Could not load type 'System.ComponentModel.INotifyPropertyChanging' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

After the patch all is well.

My problem is that .NET2.0SP1 has a range of problems when installing. I have tested it on 5 computers and 2 have failed. I cannot release the application if the user may encounter this installation bug and may not be savvy enough to solve it. 

http://msdnrss.thecoderblogs.com/2008/04/18/microsoft-net-framework-20-service-pack-1-fails-to-install/

Is there any way to get around this problem?

Thanks,
- jorge

PS. I can not require .NET 3 or 3.5 on the user machines.

Vassil Petev
Telerik team
 answered on 25 Apr 2008
2 answers
140 views
Hello,

  I downloaded the trial version of the software yet the samples for the vb.net solution will not build. It seems that the vb.net project has serious issues not having all of the forms nor references. Is there an update for this? The products seem to be extremely useful however it's a little disappointing when trying to evaluate something and the samples don't even work. Any help would be appreciated. There were over 138 errors on the build some are below:

Error 48 Unable to open module file 'C:\Program Files\Telerik\RadControls for WinForms Q1 2008\Examples\ComboBox\Binding\Form1.Designer.vb': The system cannot find the file specified.  C:\Program Files\Telerik\RadControls for WinForms Q1 2008\Examples\ComboBox\Binding\Form1.Designer.vb 1 1 Examples

Error 42 'Corners' is not a member of 'Telerik.Charting.Styles.StyleChartDataTable'. C:\Program Files\Telerik\RadControls for WinForms Q1 2008\Examples\Chart\IntelligentLabels\Form1.Designer.vb 165 13 Examples

 

John
Top achievements
Rank 1
 answered on 24 Apr 2008
3 answers
241 views
I am using the RowFormatting for alternating row color.  I am also planning to use it to insert a progress bar in a column.  It seems to me that the event does not fire until I click on the grid.  I would like this formatting to occur when the form loads.  Am I missing something?
Martin Vasilev
Telerik team
 answered on 24 Apr 2008
1 answer
101 views
This was not the problem at all.   In the Beta release q1 2008, the .FieldName property was added to the grid to set the dataitem from the datasource.   Not only now does it blow up if the field is not a valid field name (before it simply didn't display data), it is case sensitive. i.e.  FieldName <> fieldname.



Martin Vasilev
Telerik team
 answered on 24 Apr 2008
1 answer
90 views
Hello,
I think the Maxlength-Property for an GridTextbox doesn't work correctly, does it?

Version Q1 2008

regards
Michael
Jordan
Telerik team
 answered on 24 Apr 2008
5 answers
233 views
I would like to change the display order of tabs in code at runtime.  Can you please provide an example in C#.
Martin Vasilev
Telerik team
 answered on 24 Apr 2008
1 answer
154 views
Is this going to be available in RadControls for ASP.NET AJAX? If this question has been asked before, please provide me a link.

Thanks,

J
Ivo
Telerik team
 answered on 24 Apr 2008
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?