How do I make my controls move down a page according to the size a gridview becomes after retrieving data.

I am a beginner at asp.net and I am trying the make a web page with many controls on it. Some of the controls need to be displayed below a gridview on the page.  When I run the page and the gridview populates the controls I have placed below the gridview end up being covered by the gridview contol.  

Is there an easy fix to this problem?
coxn2Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
is your page in GridLayout or FlowLayout?
try to change it to FlowLayout, and eventually put the controls into 1 panel below the grid...
0
 
coxn2Author Commented:
I'm not sure what the difference is between a grid layout and a flow layout.  

My controls are all absolute positioned, via the layout menu.  Are you saying if I place all the controls below the gridview control they will automatically move down the page as the gridview grows?


0
 
coxn2Author Commented:
I tried putting the controls into a panel below the grid view but that didn't work either.  Perhaps if you explain the difference between a grid layout and flow layout that will help me.  Thanks so much for you time.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
this has been discussed alot in many forums, here an example:
http://www.velocityreviews.com/forums/t68280-flowlayout-vs-gridlayout.html

extract:
You should use FlowLayout most of the time.
Grid layout is only useful for specialized circumstances. I don't know why
they made it the default.
You can change this default on a per project basis.
In the solution explorer window, right click on your project and select
properties.
Then under Common Properties select Designer Defaults.
There you can set the default page layout for your project to FlowLayout.
 
--
I hope this helps,
Steve C. Orr, MCSD, MVP

Open in new window

0
 
coxn2Author Commented:
Le me give this a try.
0
 
coxn2Author Commented:
OK, I figured it out.  I am working with VS2005 which is a little different t than the article above. I needed to change the layout to NOT SET from ABSOLUTE.  Now it is working.

Thanks so much for your help
0
 
coxn2Author Commented:
I neglected to put in my question that I was using VS2005 and it was important info.  I will remeber to do that in future.
0
All Courses

From novice to tech pro — start learning today.