Welcome Guest Search | Active Topics | Sign In | Register

Slidemenu Top Item Events Options
Gary Michalek
Posted: Tuesday, December 1, 2009 4:47:05 AM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
Is there any way to trap when a top menu item has been clicked before the pane actually opens?

Thanks

Gary
eo_support
Posted: Tuesday, December 1, 2009 8:17:13 AM
Rank: Administration
Groups: Administration

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

You can handle ClientSideOnItemMouseDown and then check the event argument to determine which item has been clicked.

Thanks!
Gary Michalek
Posted: Tuesday, December 1, 2009 8:41:41 AM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
Thanks, is there a way I might be able to use a callback panel if required to do this: Because of a shortage of space on the page when a menu item is clicked we collapse the tree view control located beneath the slide menu control on our page. I want to be able to do this at the top level rather than waiting for the user to click an item after the pane has opened. Any ideas?

Thanks

Gary
eo_support
Posted: Tuesday, December 1, 2009 8:52:32 AM
Rank: Administration
Groups: Administration

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

I am not sure if I understood your question correct because it appears our previous reply has already answered the question. ClientSideOnItemMouseDown is fired before the pane expands and you can do whatever you would like inside your event handler. You should be able to do everything with JavaScript and I wouldn't think you need a CallbackPanel at all.

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.