On a web form, I have a datagrid and the necessary controls to add items to the underlying table. What I would like to do is have a 'Done' button positioned just beneath the table, that when pushed, commits the changes to the database.
Now, this may seem silly, but the part I cannot figure out is how to reposition the button!
Here's what I am trying
<do data stuff>
dg.DataSource = myDataTable
dg.DataBind
cmdDone.Style("TOP"
= (Val(dg.Style("TOP"
) + CInt(dg.Height.Value) + 10).ToString + "px"
But the button never moves :-(
What am I missing?
Thanks.
----
Gerry Roston
gerry@pairofdocs.net
Now, this may seem silly, but the part I cannot figure out is how to reposition the button!
Here's what I am trying
<do data stuff>
dg.DataSource = myDataTable
dg.DataBind
cmdDone.Style("TOP"
But the button never moves :-(
What am I missing?
Thanks.
----
Gerry Roston
gerry@pairofdocs.net