AjaxAccordion dynamic contents in asp.net?

ynnorj

New member
I need help about Ajax Accordion.
I tried to create a navigation link on an asp.net page using an AjaxControlToolkit Accordion.
I planned to have the headers and contents based on a database:


UserType
UserTypeIDsmallint
UserType nvarchar(10)

TaskCategory
TaskCategoryIDsmallint
UserTypeIDsmallint
Titlenvarchar(20)

TaskItem
TaskItemIDsmallint
TaskCategoryIDsmallint
Titlenvarchar(20)
URLnvarchar(30)

It's just that the TaskCategory.Title should be in the headers and the TaskItem.Title should be in their
corresponding TaskCategory's Content. I need help.

I need to have the information from the database to the accordion dynamically but for some reason
the accordion cant be loaded with the database information during runtime.
The number of categories and the number of items per category should also be dynamically based from the db.

Please help. Thanks a lot.
=)
 
Back
Top