Click here to Skip to main content
11,717,509 members (81,764 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: CSS HTML Telerik
Change color of EmptyMessage inside Telerik Rad Combobox it is always in red how to change it into black color???

<setsRC:SRadComboBox ID="rcbOrganizationUnitWithTemplate" ValidationGroup="vgAccountingDesign"
                         runat="server" TabIndex="3"  önClientDropDownOpened="OnClientDropDownOpenedHandler"
                        Height="450" Width="350" ClientIDMode="Static" CssClass="RadComboBox_Default" EmptyMessage="<%$ Resources:CommonResources, SelectValue %>">
Posted 18-Jul-12 22:50pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try setting CSS like this:
.RadComboBox_Default .rcbInputCell .rcbEmptyMessage
    color: #666; font-style: italic;
Refer: RadControls for ASP.NET AJAX Documentation[^]
youssef_123 at 19-Jul-12 5:40am
i tried it before and it is not working!??!?! i don't know why?
Sandeep Mewara at 19-Jul-12 6:04am
Then you got to go to Telerik forum/support and discuss!
youssef_123 at 19-Jul-12 8:46am
ok man thanks i remove the Empty message and use rcb.SelectedItem.Text = "-- Select Value --" in code behind thanks man on page load and if not postpack

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 719
1 OriginalGriff 215
2 F-ES Sitecore 210
3 Maciej Los 140
4 Jochen Arndt 120
0 Sergey Alexandrovich Kryukov 1,494
1 OriginalGriff 535
2 Maciej Los 529
3 Richard MacCutchan 440
4 CHill60 415

Advertise | Privacy | Mobile
Web01 | 2.8.150901.1 | Last Updated 19 Jul 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100