Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All

I am using FormView in ReadOnly Mode. In itemtemplate i am using labels to display data. if there is no data, the value of next labels takes the position of previous labels.

any help?

thanks in advance
Posted

1 solution

Looks like your form is in 'Flow layout' mode. You may need to shift into 'Grid layout'.

By default, the Web Forms page you are working with is in grid layout mode. In this mode, you can drag controls around the page and position them using absolute (x and y) coordinates. (Also, the controls are positioned using tables.)

If you prefer, you can work in flow layout mode, which is like a traditional HTML page — items are positioned from top to bottom.

Each view has advantages: grid mode makes it easy to position items. In flow mode, it is easier to add static text. For details, see Positioning HTML Elements in Design View.[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900