PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms top of datagrid is hidden by binding navigator

Reply

top of datagrid is hidden by binding navigator

 
Thread Tools Rate Thread
Old 04-01-2007, 07:11 AM   #1
=?Utf-8?B?SmFjayBXYXNzZXJzdGVpbg==?=
Guest
 
Posts: n/a
Default top of datagrid is hidden by binding navigator


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,
  Reply With Quote
Old 04-01-2007, 02:18 PM   #2
ClayB
Guest
 
Posts: n/a
Default Re: top of datagrid is hidden by binding navigator

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.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off