Tell if horizontal scoll bars are visible / active on a div layer.

Discussion in 'ASP .Net' started by ujjc001, Mar 9, 2005.

  1. ujjc001

    ujjc001 Guest

    Hello all.
    Is there a way to know if my datagrid is wider than my div layer? This
    is hard since the width on datagrid = 100% so it will not scroll,
    leaving the scrolling to the div layer. The problem is when I set the
    height of the div layer so it will not scroll vertically (based on the
    height of the datagrid) if it scrolls horizontally I would need to add
    some height to the div so I can see the pager in full. Was that
    confusing? :)
    I need a way to make know if the width of the datagrid will push the
    width of the div and make it scroll. I've tried almost everything :)
    I would love to hear of a simple way to get the DG width or the
    property of the scroll bar (if it exists)
    Thanks for any ideas!
    Jeff
    ujjc001, Mar 9, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?U3ltcGhvbnk=?=

    scoll down a page to a certain position when reload the page

    =?Utf-8?B?U3ltcGhvbnk=?=, Mar 3, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    562
    Craig Deelsnyder
    Mar 3, 2005
  2. rf
    Replies:
    0
    Views:
    433
  3. Andrew

    Horizontal Scroll Bars in IE6

    Andrew, Aug 1, 2006, in forum: HTML
    Replies:
    4
    Views:
    575
    Andrew
    Aug 1, 2006
  4. UJ
    Replies:
    1
    Views:
    569
    John Timney \(MVP\)
    Nov 1, 2006
  5. Dhananjay
    Replies:
    1
    Views:
    1,114
    sloan
    Dec 18, 2006
Loading...

Share This Page