By runtime I assume you mean on the client using javascript. Without any
specific example, it's hard to say, but let's try:
<asp:TextBox id="name" Runat="server" />
<input type="button" onclick="move();" value="move" />
<script language="javascript">
function move(){
var btn = document.getElementById('<%=name.ClientId%>');
if (btn){
btn.style.position = 'relative';
btn.style.top = '200;x';
btn.style.left = '300px';
}
}
</script>
get a javascript reference to the control you want to move. set the
position to relative, and position it where you want.
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"sara" <sa**@discussions.microsoft.com> wrote in message
news:2F**********************************@microsof t.com...
How to change the position of webservercontrol at runtime