runtime changing position of datagrid on webform

tety

Newcomer
Joined
Aug 3, 2004
Messages
1
Hi all.
I have a datagridn on a webform and want that this datagrid changes position (moves to the left) after "select" button have been clicked.
I wrote
DataGrid1.HorizontalAlign = HorizontalAlign.Left
But nothing happened, it does not move
How to do it ?
Thank you.
tety
 
I'm not sure why it's not working for you. I just tried it out, and it worked just fine for me. I had a datagrid aligned on the right, and when I click on a button, it moves to the left.

Can you post the html and maybe some of the code for this?
 
Back
Top