|
-
Oct 22nd, 2008, 01:20 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] [02/03] Containing a Datagrid
In VS 2003 is there any way to contain a datagrid from growing and overlapping other controls? I'm working on a legacy app making some changes as requested so using a newer version of VS is out of the question. In the past using 2005 I would place my Gridview into a Panel and enable scrolling... is there any way to mimick that type of behavior in 03?
Thanks
-
Oct 22nd, 2008, 04:35 PM
#2
Re: [02/03] Containing a Datagrid
Use CSS styling.
In .Net 2.0, setting the Panel.Scrollbars property adds the appropriate overflow style to the div tag.
style="overflow:auto" is generated when scrollbars="both"
style="overflow-y:scroll" is generated when scrollbars="vertical"
etc..
-
Oct 23rd, 2008, 06:37 AM
#3
Thread Starter
Frenzied Member
Re: [RESOLVED] [02/03] Containing a Datagrid
Thanks Bruce!
You must spread some Reputation around before giving it to brucevde again.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|