By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,985 Members | 1,861 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,985 IT Pros & Developers. It's quick & easy.

Datagrd help

P: n/a
Hi,

I need to change the position of a datagrid at run time, with it's location
being dependent on the height of another datagrid.

My problem is that I don't know how many rows are going to be in the
recordset, and I also don't know what the height of the cell is going to be
from row to row.

Is there a way to programmatically say : "Put the top of this datagrid at
the bottom of the previous datagrid" ?

Thanks,

Steve
Nov 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Dont use X/Y coordinates... just use FLOW layout.

<asp:DataGrid.../><br>
<asp:DataGrid.../>

They will be one above another....

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Steve Caliendo" <sc*******@epion.com> wrote in message
news:uZ****************@TK2MSFTNGP09.phx.gbl...
Hi,

I need to change the position of a datagrid at run time, with it's
location
being dependent on the height of another datagrid.

My problem is that I don't know how many rows are going to be in the
recordset, and I also don't know what the height of the cell is going to
be
from row to row.

Is there a way to programmatically say : "Put the top of this datagrid at
the bottom of the previous datagrid" ?

Thanks,

Steve

Nov 19 '05 #2

P: n/a
Steve,

Just use Flow Layout, that's it.

Eliyahu

"Steve Caliendo" <sc*******@epion.com> wrote in message
news:uZ****************@TK2MSFTNGP09.phx.gbl...
Hi,

I need to change the position of a datagrid at run time, with it's location being dependent on the height of another datagrid.

My problem is that I don't know how many rows are going to be in the
recordset, and I also don't know what the height of the cell is going to be from row to row.

Is there a way to programmatically say : "Put the top of this datagrid at
the bottom of the previous datagrid" ?

Thanks,

Steve

Nov 19 '05 #3

P: n/a

"Steve Caliendo" <sc*******@epion.com> wrote in message
news:uZ****************@TK2MSFTNGP09.phx.gbl...
Hi,

I need to change the position of a datagrid at run time, with it's location being dependent on the height of another datagrid.

My problem is that I don't know how many rows are going to be in the
recordset, and I also don't know what the height of the cell is going to be from row to row.

Is there a way to programmatically say : "Put the top of this datagrid at
the bottom of the previous datagrid" ?

Thanks,

Steve

Nov 19 '05 #4

P: n/a
That Grid positioning is Evil. Why is it on by default?

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
Dont use X/Y coordinates... just use FLOW layout.

<asp:DataGrid.../><br>
<asp:DataGrid.../>

They will be one above another....

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Steve Caliendo" <sc*******@epion.com> wrote in message
news:uZ****************@TK2MSFTNGP09.phx.gbl...
Hi,

I need to change the position of a datagrid at run time, with it's
location
being dependent on the height of another datagrid.

My problem is that I don't know how many rows are going to be in the
recordset, and I also don't know what the height of the cell is going to
be
from row to row.

Is there a way to programmatically say : "Put the top of this datagrid at the bottom of the previous datagrid" ?

Thanks,

Steve


Nov 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.