Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 10-06-2009
Member
 
Join Date: Nov 2008
Posts: 240
Datagridview does not detect scrollbars

I have created form in which i have done for horizontal and for vertical scrollbar to move. when i execute that form on web browser no scroll bars appear. but while doing this i do understand one thing that if you have columns which extend beyond the DataGridView window, the horizontal scrollbar is never displayed. The vertical scrollbar displays, but the horizontal bar never displays. I've tried with the scrollbar settings set multiple ways.Can anyone help me in this case.
Reply With Quote
  #2  
Old 10-06-2009
Member
 
Join Date: Mar 2008
Posts: 258
Re: Datagridview does not detect scrollbars

While designing your datagrid have you used Designer View to modify the Frozen property of a column somewhere on the DGV,this is because the column which we develop mostly keep on the left of all other columns which we do not want to be Frozen. The IDE will automatically enable the Frozen property for all columns to the left of the newly Frozen column.

And about the horizontal scrollbar which will not be displayed unless non-frozen columns can be seen on the right of the DGV. This problem we need to think about while placing the content with the scrollbar because I had this problem previously because I accendentally moved a frozen column to the right-most position of my DGV - and the h-scroll bars stopped displaying.
Reply With Quote
  #3  
Old 10-06-2009
Member
 
Join Date: Jan 2006
Posts: 211
Re: Datagridview does not detect scrollbars

Select the DataGridView properties which you wanted to change there will be an 'Enable' option under Behaviour title which is by default set with the value 'TRUE' but if you changed it FALSE then also you would not be able to see your Scroll Bar.

This will also be one of the tricky way through which you could not see you Datagridview if you had used dataGrid View over panel then make panel AutoScroll 'TRUE' under Layout.I had tested it for charts scroll bar but may be it is applicable for DataGridView also.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Datagridview does not detect scrollbars"
Thread Thread Starter Forum Replies Last Post
How to change the look or appearance of scrollbars in windows XP samborichie Windows XP Support 2 26-09-2012 03:35 AM
Delphi, TWebBrowser, Disable Scrollbars??? alex198555 Software Development 4 26-07-2010 11:02 PM
How to add scrollbars in C#? MELTRONICS Software Development 4 23-01-2010 04:50 PM
Insert DataGridview into database Neil'o Software Development 3 24-09-2009 11:28 AM
Move Rows of Datagridview In VB.Net Ariadne Software Development 2 22-01-2009 10:40 PM


All times are GMT +5.5. The time now is 12:18 AM.