This is a migrated thread and some comments may be shown as answers.

Change selected background color in Server side

1 Answer 68 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 28 Jan 2011, 11:10 PM
Hi all,

Are there any ways to change background color of selected Item of Menu in Server side?

Thanks.

Andy.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 31 Jan 2011, 05:54 AM
Hello Andy,

You can try the following code in ItemClick event to change the background color.
C#:
protected void RadMenu1_ItemClick(object sender, Telerik.Web.UI.RadMenuEventArgs e)
   {
       e.Item.BackColor = System.Drawing.Color.Red;
   }

Thanks,
Shinu.
Tags
Menu
Asked by
Andy
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or