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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy Hengel [angelIII / a3]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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.