Welcome Guest Search | Active Topics | Sign In | Register

Add / Remove navigation items from JavaScript Options
Esteban
Posted: Friday, July 27, 2007 3:50:20 PM
Rank: Newbie
Groups: Member

Joined: 6/6/2007
Posts: 2
Hi,

I can't find a way to add or remove navigation items from a SlideMenu control using the client side API

I appreciate any idea
Thanks
eo_support
Posted: Friday, July 27, 2007 4:08:17 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,083
Hi,

You won't be able to do that. There are two workarounds:

1. Put the slide menu into a CallbackPanel and then add/remove item via server side code through the CallbackPanel, or,

2. Have the items there at the very begining but with their visible set to false. You can then use client side Javascript code to show/hide them;

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.