Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > DataGridView Navigator Toolbar
 

DataGridView Navigator Toolbar

Hi,

The project was originally ported from Visual Studio 2005 beta (C++), and the Navigator Toolbar was added to an existing datagrid at a later stage. As a result, the buttons/Controls on the toolbar are disabled during the runtime, despite being shown enabled by the property pane (enabled property). These are the default controls which are added by the framework when the toolbar was inserted, and any additional button placed at a later time works properly.

Any idea if some extra settings for the addition of toolbar is required, or any reference how to manually bind the toolbar to a datagridview is greatly appreciated.

Regards,

Reza Bemanian

Reza Bemanian  Tuesday, March 13, 2007 11:24 PM

Hi,

It seems in this case, there is an explicit need to set the Enabled property for each of the default buttons to true (by the code), and haveit setonly by the property pane is not adequate. Anyhow, only the "Move first" button was scrutinized, and likely the same applies to rest of the buttons as well.

Regards,

Reza Bemanian

Reza Bemanian  Wednesday, March 14, 2007 12:27 AM

Hi,

It seems in this case, there is an explicit need to set the Enabled property for each of the default buttons to true (by the code), and haveit setonly by the property pane is not adequate. Anyhow, only the "Move first" button was scrutinized, and likely the same applies to rest of the buttons as well.

Regards,

Reza Bemanian

Reza Bemanian  Wednesday, March 14, 2007 12:27 AM

You can use google to search for other answers

Custom Search

More Threads

• Centering column header text in DataGridView
• DataGridView: Sorting does not work anymore when handling event CellContentClicked
• Loading alternating images in a DataGridView at runtime
• flat combo box
• Visual Studio 2005 and Access 2000 query
• How to edit a row in a DataGridView
• placing images in DataGridView control
• DataGridView - Multiple Column Sort
• DataGridView EditingControlShowing Cells blackout
• How to validate new DataGridViewRow?