Need help on my problem with gridview + div tags + scrollbars.

V

Vijay

Hi everyone, I am new member to this group... Looking for a help with
my problem related to ASP.NET/javascript. Will be great if someone
could throw some light.

I am currently designing a expand/Collapse type grid using a gridview
and the the expand and collapse feature is done using a hidden DIV
tag. When the user clicks on a hyperlink on the first column, the div
tags style through javascript dynamically set to 'none/display'. And
the div tag has a grid build into it. This functionality works fine.

The problem I am facing is, when it expands the Browser shows up the
veritcal scroll bar on the right but when I collapse it does not
shrink or resize to the height of the grid. By this, the scrollbars
leaves lots of extra space at the end of the browser after several
collapse/expand.

Let me know if this is not clear to understand??

Is there anybody who can help me in this problem??

Thanks in advance.

Vijay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top