473,320 Members | 2,202 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

dynamic data grid placement question

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
6 1460
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
0
by: Amy Snyder | last post by:
I have a page that has 13 filters used to query a database. I am using the data grid to return the search results. The user has the ability to show from 2-13 columns of data. I have this part...
0
by: Colin Ramsay | last post by:
Hi all, I don't normally post swathes of code like this but I am truly banging my head off my desk here... I've dynamically created a datagrid within a usercontrol. There are two columns...
13
by: Chris Thunell | last post by:
I have created several grids dynamically and have added them to different HTML placeholders on a vb.net web form. The grids and controls within them come up and view beautifully when the web page...
1
by: JMann101 | last post by:
I am writing a ASP.NET(VB) application and am having some trouble. I have a datagrid which list users and when an admin clicks "edit" a defined column becomes visible and a dynamic listbox control...
4
by: Larry Grady | last post by:
Anyone up for a challenge? I've been struggling with this for a few days and was hoping someone could help me. Pouring through all the messageboards I just can't find the solution. We have a...
3
by: topmind | last post by:
I am generally new to dot.net, coming from "scriptish" web languages such as ColdFusion and Php. I have a few questions if you don't mind. First, how does one go about inserting dynamic SQL...
3
by: Jordan | last post by:
Hey Peoples, I'm wonderg if there is a way to make a subclass of wx.grid.Grid in which the coloumn labels for the grid appear on the bottom of the grid instead of the top. 1 2 3 4 5 a| | ...
1
by: koren99 | last post by:
Hello, I have a gridview that is filled with a datasource & template fields dynamically. ( that has to be done because i ask the user for a datasource) anyway, i started out creating a static...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.