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

Menu Item Selection Required

12 Answers 72 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Aamir
Top achievements
Rank 1
Aamir asked on 27 Aug 2008, 08:05 AM
Hi,

We just bought Telerik control suite and working on Menu and Panel bar control. I wanted to know that, how can i get menu item 'Selected' after postback of page? ( If you have property for menu selection or use of CSS)

Please send me an example code in C#, it would be helpful for me.

Hope to hear you fast.

Aamir

12 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 27 Aug 2008, 08:17 AM
Hi Aamir,

If you use the ItemClick event the clicked item is passed in the event arguments.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Aamir
Top achievements
Rank 1
answered on 29 Aug 2008, 02:41 AM
Hi,

Thanks for replying.

Can you send me C# sample code, it will help me.

Hope to hear you soon.

Aamir
0
Erjan Gavalji
Telerik team
answered on 29 Aug 2008, 05:37 AM
Hi Aamir,

Please, check the RadMenu Server-Side Events example.

I hope this helps.
Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Aamir
Top achievements
Rank 1
answered on 01 Sep 2008, 05:13 AM
Hi,

In this example , it is showing the text of the item clicked.

I was looking for ITEM SELECTION. Can you give me any example of item selection after postback?

Aamir
0
Atanas Korchev
Telerik team
answered on 01 Sep 2008, 11:24 AM
Hello Aamir,

Perhaps this example will help you to get started.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Aamir
Top achievements
Rank 1
answered on 03 Sep 2008, 01:39 AM
Hi,

Given example working only with EnableEmbeddedSkins="true" , i am using 

EnableEmbeddedSkins

="false" in my user control. Can we do Selection using CSS or any other way?

Your code example always help me, can you send me code example using 

EnableEmbeddedSkins

="false" .

Thanks.

Aamir

0
Atanas Korchev
Telerik team
answered on 03 Sep 2008, 07:47 AM
Hi Aamir,

Do you mean you are using a custom skin? If yes you need to define a CSS class named rmFocused which is used to highlight the selected path.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Aamir
Top achievements
Rank 1
answered on 04 Sep 2008, 11:58 PM
Hi Albert,

Thanks for replying me.

Yes, i am using Custom css. Could you send me working code in C# ?
(i am using c# in code behind)

If you send me working code for custom css in c#, will help alot.

Hope to hear you soon.

Aamir
0
Atanas Korchev
Telerik team
answered on 05 Sep 2008, 08:00 AM
Hi Aamir,

Did you add the rmFocused css class in your custom skin? Have you tried using the example I've sent you earlier? What are the problems you are currently experiencing?

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Aamir
Top achievements
Rank 1
answered on 08 Sep 2008, 03:03 AM
Hi,

I am using MAC css file for my menu control. rmFocused is already part of it. I have passed the Menu name in my URL as done in example code you sent to me and access that variable in my user control as shown in example code behind. But still menu is not getting selected after postback.

I requested you to send me small application as example with custom skin, if you do it for me, would help me alot to solve it.

Thanks for your reply.

Aamir
0
Aamir
Top achievements
Rank 1
answered on 10 Sep 2008, 11:44 PM
Hi Albert,

I am still waiting for your response. Please respond me on my last reply.

Aamir
0
Atanas Korchev
Telerik team
answered on 11 Sep 2008, 06:34 AM
Hi Aamir,

Find attached the example. It works as expected without modifying anything (neither the example nor the skin). I wonder why it didn't work at your side.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Menu
Asked by
Aamir
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Aamir
Top achievements
Rank 1
Erjan Gavalji
Telerik team
Share this question
or