Windows Develop Bookmark and Share   
 index > Windows Forms General > vertical scrollbar doesn't display
 

vertical scrollbar doesn't display

hI all,

I have a form in my application Winforms using .net 2.0 + wcf.

My form has:

DatagridView

BindingSource, that I bind with Entities List that I get from WCF services.

The problem is that the vertical scrollbar doesn't display when there are too many rows in the grid. Scrollbars property is set to both, and i've tried various combinations of autosizemodes. The DGV is docked in a Panel, although i've tried placing it directly in the form. I'm clueless as to how i can get it to display, and i'm pulling my hair out trying!

Oops. I had a "total" row with Frozen = true. This is the last row on the grid, and i see now that all rows above are automatically frozen!

Any suggestions?

THANKS PLEASE

Thanks in advance, kind regards



http://www.alhambra-eidos.es/web2005/index.html
Alhambra Eidos Desarrollo  Wednesday, February 11, 2009 9:46 AM
Hi Alhambra,


This behavior is by design, please refer to this document. The following is the remark of this property from MSDN.

Remarks

This property lets you keep one or several rows of important information in place when a user scrolls through the DataGridView. All rows above the frozen row are also frozen.

Why not to use a seperate control to display the total result?

Best regards,
Bruce Zhou


Please mark the replies as answers if they help and unmark if they don't.
Bruce.Zhou  Thursday, February 12, 2009 10:52 AM
We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post editor window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
Please mark the replies as answers if they help and unmark if they don't.
Bruce.Zhou  Monday, February 16, 2009 1:42 AM

You can use google to search for other answers

Custom Search

More Threads

• To set the Background color Progress Bar with Blocks
• How can I create popup window like msn messanger?
• Opening windows applications from a Winforms 2.0 appilcation
• Any 3rd Party 'Compile As win32"
• Unable to paste CSV format into Excel
• Authentication System
• Anyone else seen strange behaviour from a Tab control in VS2005 Standard?
• NotifyIcon Balloontip is not working as expected. Help please...
• Give me some feedback from this "rude" Drag and Drop
• Accessing controls of one form in another