Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ColorPicker > changing color of text

Not answered changing color of text

Feed from this thread
  • MeganF avatar

    Posted on Sep 13, 2011 (permalink)

    Hi all,

    have a simple query! i have a control in the .cs file which is a text and i want to change colour of this however its not picking up foreground or background controls?

    Reply

  • Posted on Oct 14, 2011 (permalink)

    Hello Megan,

    You can hook OnColorChanged event and can set the color.
    C#:
    protected void ColorPicker1_Click(object sender, EventArgs e)
       {
           Label1.BackColor = RadColorPicker1.SelectedColor;
           Button1.ForeColor = RadColorPicker1.SelectedColor;
           Button1.BackColor = RadColorPicker1.SelectedColor;
       }

    Thanks,
    Shinu.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ColorPicker > changing color of text
Related resources for "changing color of text"

ASP.NET ColorPicker Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]