moving controls at runtime

  • Thread starter Thread starter xs
  • Start date Start date
X

xs

I have a datagrid and a button. The contents of datagrid is dynamic. My
button is placed below the datagrid. If there are too many items in Datagrid
the button and datagrid will be overlapped. Is there any way to move the
button at runtime?
 
You have your web form pageLayout property set to GridLayout.
Instead, change it to FlowLayout. In my opinion this should be the default
in VS.NET.
 
You may need to delete them and re-add them to your form after you change to
flow layout.
In the future set your form to flowlayout in the first place then you won't
have that problem.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
 
It worked. Thanks a million
Steve C. Orr said:
You may need to delete them and re-add them to your form after you change to
flow layout.
In the future set your form to flowlayout in the first place then you won't
have that problem.
 
Back
Top