C
Cal Who
I've posted this many times. I had my accordian code at the bottom as an
example but some filer must not like something there so the posts never
showed up. It was simply an Accordian element with a XmlDataSource
specified. Much the same thing I'd like to do with a tab control.
If there are three sections in the XML file each containing a Header and a
Contents element I'd like the TabContainer to show three tabs using that
data.
The ajaxToolkit Accordion has a DataSourceID which can be set equal to a
XmlDataSource and a HeaderTemplate and a ContentTemplate that can get there
data from the Xml data.
Unfortiuonately, the ajaxToolkit TabContainer does not use that model. I
would like to use an XML file to create the data TabPanels, with the
HeaderText and the ContentTemplate data coming from the XML file. Much as
the Accordian example below does it.
I've Googled for sample code but can't find any.
Can you point to some?
Thanks
PS Is that the kind of thing asp:Repeater is used for?
....snip
example but some filer must not like something there so the posts never
showed up. It was simply an Accordian element with a XmlDataSource
specified. Much the same thing I'd like to do with a tab control.
If there are three sections in the XML file each containing a Header and a
Contents element I'd like the TabContainer to show three tabs using that
data.
The ajaxToolkit Accordion has a DataSourceID which can be set equal to a
XmlDataSource and a HeaderTemplate and a ContentTemplate that can get there
data from the Xml data.
Unfortiuonately, the ajaxToolkit TabContainer does not use that model. I
would like to use an XML file to create the data TabPanels, with the
HeaderText and the ContentTemplate data coming from the XML file. Much as
the Accordian example below does it.
I've Googled for sample code but can't find any.
Can you point to some?
Thanks
PS Is that the kind of thing asp:Repeater is used for?
....snip