Search code examples
asp.netajaxhtmlaccordiontoolkit

How to get the Accordion in ASP.Net Ajax Toolkit to resize?


Does anyone have any ideas how to get the Accordion control in the ASP.Net Ajax Control Toolkit to automatically resize so that it fills the DIV element it is contained in, and will react to that element being resized?

Thanks!

Martin


Solution

  • I just tried setting upp a sample application with an Accordion without any CSS and it's actually growing with the content by default. My guess is that you're using CSS that is limiting the growth in some way. Try using min-height instead of height for example and see if that solves it. If stuff like that won't work I'd suggest you post the CSS you use.