|
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
|
|
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!
|
|
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
|
|
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
|
|