Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: CSS HTML Telerik
Dears,
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
good
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[^]
  Permalink  
Comments
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 OriginalGriff 490
1 Prakriti Goyal 302
2 Yogesh Kumar Tyagi 224
3 Maciej Los 185
4 Sergey Alexandrovich Kryukov 167
0 OriginalGriff 6,652
1 Sergey Alexandrovich Kryukov 5,449
2 Maciej Los 3,474
3 Peter Leow 3,303
4 DamithSL 2,505


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 19 Jul 2012
Copyright © CodeProject, 1999-2014
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