Hi All,

Can anyone show me the way to move the position of a control in run time when a datagrid is having more rows.

I had tried to use this way but I can't get the exact value of height for datagrid.


ASP Code:
  1. Me.Toolbar1.Style.Item("TOP") = (Val(dgSchoolName.Style.Item("TOP")) + dgSchoolName.Height.Value) & "px"

Thanks :-)