Results 1 to 3 of 3

Thread: [RESOLVED] [02/03] Containing a Datagrid

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    Resolved [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

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    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..

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    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
  •  



Click Here to Expand Forum to Full Width