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

Particular PanelBar Action

6 Answers 68 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 2
Phil asked on 04 Aug 2008, 12:49 PM

Would it be difficult to setup the PanelBar to act like this:
I will be using this with DNN -

ResidentsMenu

  1. ResItem1
  2. ResItem2
  3. ResItem3
  4. ResItem4
  5. ResItem5

If  you click on ResItem4 for example The ResItem Menu Collapses & you have:

ResidentsMenu
 > ResItem4Menu
  1. ResItem4-Item1
  2. ResItem4-Item2
  3. ResItem4-Item3
  4. ResItem4-Item4
  5. ResItem4-Item5

Clicking on ResidentsMenu will bring that menu back, Clicking on one of the ReItem4 sub-items will bring you to that page.

6 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 04 Aug 2008, 04:21 PM
Hello Phil,

You can try using the ShowOnlyCurrent property of the panelbar. You can check the property description here.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Phil
Top achievements
Rank 2
answered on 04 Aug 2008, 04:45 PM
This looks almost perfect.
The only thing I am not sure of is whether this would allow for the display of the top Level link back to the main page.
This is pretty close though.
0
Atanas Korchev
Telerik team
answered on 04 Aug 2008, 04:47 PM
Hi Phil,

The available values of the ShowOnlyCurrent property are the only one supported.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Phil
Top achievements
Rank 1
answered on 04 Aug 2008, 09:41 PM
I've built an implementation somewhat like the one you are describing, at least I think so. I'm currently cleaning up the implementation and adapting it from classic controls to ajax controls. Check it out on the Navajo County Web site, it is the menu for the site. Open one of the departments and notice it adds a new root menu item. It has a SQL backend. If you're interested, I'll send you a zip of the code after I have it working on the latest build.
0
Phil
Top achievements
Rank 2
answered on 05 Aug 2008, 12:41 PM
This looks like a nice start for what I am looking for.

My goal would be that when you click on a particular department - the department bar stays at the top but minimizes, and all of the department subitems show below.

Then when you click back on department it opens the department tab, and drops the last last active department bar.

If possible I would like this to be done without a page refresh.

I would appreciate it if you could send me some info on what you have setup though.  It would be a nice start.
pspeth1    at     gmail   dot   com
Thanks.
0
Phil
Top achievements
Rank 2
answered on 11 Aug 2008, 05:23 PM
So, In combination with the Show Only option, would it be possible to have a link on the page that could trigger the ajax reload of the radpanel.

When someone clicks a panel option it would use show only to open those sub-panel options

Then if they wanted to go back and view the Residents main panel,  above the Panel bar we would have a Residents Link.  When that is clicked it reloads (via AJAX if possible) the panel with the residents main panel.
Tags
PanelBar
Asked by
Phil
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
Phil
Top achievements
Rank 2
Phil
Top achievements
Rank 1
Share this question
or