data grids

M

M

Hi,

I have a .aspx page which has 3 datagrids to be displayed.
There are 2 datagrids to be displayed side by side and one
datagrid below these two.
Each datagrid has a corresponding label control indicating
the contents of the grid.
What I need to do is, in the case that from the top two
datagrids, the first one is empty, then I need to display
the second one along with its label in the top left corner
and if both the top grids are empty, the lower grid should
be displayed on the top left corner along with its label.

How do i achieve this?

Thanks in advance.
M.
 
M

Mitesh Bilimoria

I just applied it and the best way is as under:

-Create on Table with 2 rows and 1 columns with 100% width
-Create three datagrids and arrange then two in column for
first row and then one in first column in second row..
-- now if you know that there is no data in your query
then just dont bind the datagrid with no data, this will
make it invisible.
--- and as table is 100% width and height not specified
for any row . the down part will automatically move up and
if first grid dont have data then second will move left.

Good Luck

Regards
Mitesh Bilimoria
 
M

M

Thanks a lot :)
It worked!

M.
-----Original Message-----
I just applied it and the best way is as under:

-Create on Table with 2 rows and 1 columns with 100% width
-Create three datagrids and arrange then two in column for
first row and then one in first column in second row..
-- now if you know that there is no data in your query
then just dont bind the datagrid with no data, this will
make it invisible.
--- and as table is 100% width and height not specified
for any row . the down part will automatically move up and
if first grid dont have data then second will move left.

Good Luck

Regards
Mitesh Bilimoria
.
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top