Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have this datagrid form, but I ca 1

Status
Not open for further replies.

net123

Programmer
Oct 18, 2002
167
US
I have this datagrid form, but I can't seem to figure out how to place this table (grid) below some heading and text properly. It seems just to be floating. This is just a pain. Why can't the code be executed as it is placed in the file...

<asp:DataGrid id=&quot;DataGrid1&quot; style=&quot;Z-INDEX: 101; LEFT: 217px; POSITION: absolute; TOP: 175px&quot;...

Should I change the TOP value?
 
because as seems to be the case for a lot of people lately you need to be working in flow layout to have things read as they are in the file.
Flow layout is how all old school htmlers work but in VS the default for the designer is Grid layout, which uses absolute positioning for everything.

My Advice select the document portion of your page and right click. Select properties and change the page layout and change it to flow layout.
NOTE: any controls placed on the form before will remain in grid layout until you move them or take the absolute postioning elements out in the html view.

That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
have you tried changing the pagelayout of the document between the GridLayout vs Flowlayout
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top