ASP.net, Do You Need a Conciliation Panel?

When using Accordian control from MS Ajax control instrumentation, do I even need to use panels? It seems that I can use HeaderTemplate and ContentTemplates to display my data without using any AccordianPanes. Is this recommended?

0


a source to share


2 answers


Panels are basically content wrappers. So, in the Accordion example on this site, there are four panels (Accordion, AutoSize, etc.). If you are not using any panels, there will only be one giant panel with no collapse / expand functionality.



+1


a source


If you are using data binding, you do not need to define panels. You just use HeaderTemplate and ContentTemplate and ASP.Net will create panels for you. In templates, you include data binding expressions.



I see no way to not use AccordionPanes without using data binding. But there may be one.

0


a source







All Articles