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

dynamic data grid placement question

P: n/a
Hi I have 2 data grids and several controls on a web page. The grids will
vary in size, just wondering if the lower grid could be covered by part of
the upper grid depending on its size or is there a way to dynamically shift
the lower grid so it appears just below the upper grid?
Thanks.
--
Paul G
Software engineer.
Nov 18 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
The easiest solution is to set your WebForm's PageLayout property to
FlowLayout.
This will cause any new controls placed on the form to flow one after the
other instead of bunching up on top of each other like they sometimes do if
you specify per-pixel (GridLayout) placement.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:A1**********************************@microsof t.com...
Hi I have 2 data grids and several controls on a web page. The grids will
vary in size, just wondering if the lower grid could be covered by part of
the upper grid depending on its size or is there a way to dynamically
shift
the lower grid so it appears just below the upper grid?
Thanks.
--
Paul G
Software engineer.

Nov 18 '05 #2

P: n/a
ok thanks, thought there might be something built in to handle this.

"Steve C. Orr [MVP, MCSD]" wrote:
The easiest solution is to set your WebForm's PageLayout property to
FlowLayout.
This will cause any new controls placed on the form to flow one after the
other instead of bunching up on top of each other like they sometimes do if
you specify per-pixel (GridLayout) placement.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:A1**********************************@microsof t.com...
Hi I have 2 data grids and several controls on a web page. The grids will
vary in size, just wondering if the lower grid could be covered by part of
the upper grid depending on its size or is there a way to dynamically
shift
the lower grid so it appears just below the upper grid?
Thanks.
--
Paul G
Software engineer.


Nov 18 '05 #3

P: n/a
Yes, there is. Just put your grids in an html table.

Eliyahu

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:A7**********************************@microsof t.com...
ok thanks, thought there might be something built in to handle this.

"Steve C. Orr [MVP, MCSD]" wrote:
The easiest solution is to set your WebForm's PageLayout property to
FlowLayout.
This will cause any new controls placed on the form to flow one after the other instead of bunching up on top of each other like they sometimes do if you specify per-pixel (GridLayout) placement.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:A1**********************************@microsof t.com...
Hi I have 2 data grids and several controls on a web page. The grids will vary in size, just wondering if the lower grid could be covered by part of the upper grid depending on its size or is there a way to dynamically
shift
the lower grid so it appears just below the upper grid?
Thanks.
--
Paul G
Software engineer.


Nov 18 '05 #4

P: n/a
I tried setting up the form using the grid layout and then changing the page
properties to flow layout but seems like the grid is still covering controls.
Just wondering it is is difficult to set up the html table as I have 2 grids
and half a dozen controls, the grid size varies depending on what data gets
written into it.
thanks, Paul.

"Eliyahu Goldin" wrote:
Yes, there is. Just put your grids in an html table.

Eliyahu

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:A7**********************************@microsof t.com...
ok thanks, thought there might be something built in to handle this.

"Steve C. Orr [MVP, MCSD]" wrote:
The easiest solution is to set your WebForm's PageLayout property to
FlowLayout.
This will cause any new controls placed on the form to flow one after the other instead of bunching up on top of each other like they sometimes do if you specify per-pixel (GridLayout) placement.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:A1**********************************@microsof t.com...
> Hi I have 2 data grids and several controls on a web page. The grids will > vary in size, just wondering if the lower grid could be covered by part of > the upper grid depending on its size or is there a way to dynamically
> shift
> the lower grid so it appears just below the upper grid?
> Thanks.
> --
> Paul G
> Software engineer.


Nov 18 '05 #5

P: n/a
As I said, once you change to FlowLayout, any NEW controls placed on the
form will use flow layout.
Delete the existing controls and drag new ones onto the form in their place,
or switch to HTML view and delete the CSS positioning for all the existing
controls..

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:7D**********************************@microsof t.com...
I tried setting up the form using the grid layout and then changing the
page
properties to flow layout but seems like the grid is still covering
controls.
Just wondering it is is difficult to set up the html table as I have 2
grids
and half a dozen controls, the grid size varies depending on what data
gets
written into it.
thanks, Paul.

"Eliyahu Goldin" wrote:
Yes, there is. Just put your grids in an html table.

Eliyahu

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:A7**********************************@microsof t.com...
> ok thanks, thought there might be something built in to handle this.
>
> "Steve C. Orr [MVP, MCSD]" wrote:
>
> > The easiest solution is to set your WebForm's PageLayout property to
> > FlowLayout.
> > This will cause any new controls placed on the form to flow one after

the
> > other instead of bunching up on top of each other like they sometimes
> > do

if
> > you specify per-pixel (GridLayout) placement.
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD, MVP
> > http://Steve.Orr.net
> >
> >
> > "Paul" <Pa**@discussions.microsoft.com> wrote in message
> > news:A1**********************************@microsof t.com...
> > > Hi I have 2 data grids and several controls on a web page. The
> > > grids

will
> > > vary in size, just wondering if the lower grid could be covered by

part of
> > > the upper grid depending on its size or is there a way to
> > > dynamically
> > > shift
> > > the lower grid so it appears just below the upper grid?
> > > Thanks.
> > > --
> > > Paul G
> > > Software engineer.
> >
> >
> >


Nov 18 '05 #6

P: n/a
ok thanks for the information. Probably will switch to HTML and delete the
CSS positioning stuff because of the large number of contols and multiple
grids.

"Steve C. Orr [MVP, MCSD]" wrote:
As I said, once you change to FlowLayout, any NEW controls placed on the
form will use flow layout.
Delete the existing controls and drag new ones onto the form in their place,
or switch to HTML view and delete the CSS positioning for all the existing
controls..

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:7D**********************************@microsof t.com...
I tried setting up the form using the grid layout and then changing the
page
properties to flow layout but seems like the grid is still covering
controls.
Just wondering it is is difficult to set up the html table as I have 2
grids
and half a dozen controls, the grid size varies depending on what data
gets
written into it.
thanks, Paul.

"Eliyahu Goldin" wrote:
Yes, there is. Just put your grids in an html table.

Eliyahu

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:A7**********************************@microsof t.com...
> ok thanks, thought there might be something built in to handle this.
>
> "Steve C. Orr [MVP, MCSD]" wrote:
>
> > The easiest solution is to set your WebForm's PageLayout property to
> > FlowLayout.
> > This will cause any new controls placed on the form to flow one after
the
> > other instead of bunching up on top of each other like they sometimes
> > do
if
> > you specify per-pixel (GridLayout) placement.
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD, MVP
> > http://Steve.Orr.net
> >
> >
> > "Paul" <Pa**@discussions.microsoft.com> wrote in message
> > news:A1**********************************@microsof t.com...
> > > Hi I have 2 data grids and several controls on a web page. The
> > > grids
will
> > > vary in size, just wondering if the lower grid could be covered by
part of
> > > the upper grid depending on its size or is there a way to
> > > dynamically
> > > shift
> > > the lower grid so it appears just below the upper grid?
> > > Thanks.
> > > --
> > > Paul G
> > > Software engineer.
> >
> >
> >


Nov 18 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.