in my aspx page i have some lines of data that will be wrritten out with Response.Write. Then comes a datagrid and after that should be some additional data. I used Label, Literal and also simple text to write those data, but the problem with each of them is that they show up infront of the grid not below.
To solve the problem I used <br clear="all"> tag or nested those controls in a table rows, and everything works fine. But looking at this source:
http://aspnet.4guysfromrolla.com/dem...gDataGrid.aspx
you will see no table tag or <br> in it but it just does what i want. However when i copy/paste this code to VS.NET IDE and change the layout to GirdLayout it automatically put the controls in a table. Why?


Reply With Quote