Question

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

Was it helpful?

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.

OTHER TIPS

i think you can put it inside a div with height 100% and there is a property for the accordion AutoSize="Fill". Hope it works.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top