locked
Where the heck have my scrollbars gone!! RRS feed

  • Question

  • Hi all,

     

    I am creating some DataGridView controls at run-time

    I populate the grids with data dependent on what the user selects

     

    For some reason, both my vertical and horizontal scrollbars have disappeared (even though the datagridview is set to show 'both')

     

    Any ideas?

     

    Thanks

    Friday, May 25, 2007 10:27 AM

All replies

  • Does your DataGridView anchor or dock to its parent control (its owning control)? Please compare the width of your DataGridView and its parent, at run-time! It may be the case that the DataGridView.Width exceeds the width of its parent. Please let me know your findings.
    H.R. Thomann
    Friday, January 6, 2012 10:21 AM