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

PanelBar & XML

2 Answers 82 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
jerry
Top achievements
Rank 1
jerry asked on 07 Jan 2009, 03:11 PM
Hello,
I'm trying to mimic the Accordion from the AJAX Toolkit using the Panel bar.  I would like to use the xml file I used with the Accordian with the PanelBar but i'm not sure how my XML should lay out.

My current xml layout is
<?xml version="1.0" encoding="utf-8" ?> 
<Sitemap> 
  <Item name="LOGIN" id="apnLOGIN">  
    <SubItem name="Login" url="login.aspx"></SubItem>      
  </Item> 
  <Item name="SYSTEM SETUP" id="apnSETUP">  
    <SubItem name="Setup 1" url="Setup1.aspx"></SubItem> 
    <SubItem name="Setup 2" url="Setup2.aspx"></SubItem> 
    <SubItem name="Setup 3" url="Setup3.aspx"></SubItem> 
  </Item> 
  <Item name="DATA EDIT" id="apnEDITDATA">  
    <SubItem name="Edit Data 1" url="EditData1.aspx"></SubItem> 
    <SubItem name="Edit Data 2" url="EditData2.aspx"></SubItem> 
    <SubItem name="Edit Data 3" url="EditData3.aspx"></SubItem> 
  </Item> 
  <Item name="ID MANAGEMENT" id="apnMANAGEMENT">  
    <SubItem name="Sample ID" url="EditDate4.aspx"></SubItem>      
  </Item> 
  <Item name="HELP" id="apnHELP">  
    <SubItem name="HELP" url="Help.aspx"></SubItem>      
  </Item> 
</Sitemap> 

I want the Item lines to be the panel bar headers and when you click that bar you see the subitems displayed below.
Is this possible or do I have to change my layout?

Thank You
Jerry

2 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 07 Jan 2009, 03:14 PM
Hi Jerry,

Please refer to this help article for details on the matter.

Sincerely yours,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
jerry
Top achievements
Rank 1
answered on 07 Jan 2009, 03:37 PM
Paul,
Thank You that is what I was looking for before I posted my question. 
I googled it many different ways and didn't see that one.

Thank You
Jerry
Tags
PanelBar
Asked by
jerry
Top achievements
Rank 1
Answers by
Paul
Telerik team
jerry
Top achievements
Rank 1
Share this question
or