top of datagrid is hidden by binding navigator


G

Guest

I have the docking property of a datagrid set to fill and the docking
property of the binding navigator set to top. At runtime, the top of the
datagrid is hidden by the tool bar as opposed to stopping at the bottom
margin of the binding navigator as expected. Are there properties i can set
to get this behave as requested above?

Thanks,
 
Ad

Advertisements

C

ClayB

Make sure the DataGrid (docked Fill) is added to your form's Controls
collection before the control that is docked Top.

this.Controls.Add(this.dataGrid1); //dock=Fill
this.Controls.Add(this.navControl1); //dock=top

=====================
Clay Burch
Syncfusion, Inc.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Binding navigator 0
Binding to a datagrid 1
binding to a datagrid 0
Datagrid binding 0
datagrid navigate 1
datagrid navigation 2
Datagrid navigation 0
Binding Context in datagrid 1

Top