468,505 Members | 1,540 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

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

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

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

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

Thanks in advance.

Nov 30 '07 #1
0 1145

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by =?Utf-8?B?Y2hyaXM=?= | last post: by
1 post views Thread by Randy | last post: by
3 posts views Thread by gieforce | last post: by
reply views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.