Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to change the position of a control dynamically in asp.net using c#
Posted

I think you can do it by changing css parameters.

<br />
YourControl.Attributes["left"]="20";<br />
YourControl.Attributes["top"]="200";<br />
 
Share this answer
 
Comments
raju melveetilpurayil 31-Jul-10 13:01pm    
good solution.
thank you
It can be done using Javascripts.

For example: Get and Set position of a control using Javascript[^]

Other ways in JS can be like:
JavaScript
document.getElementById("ddCongresses").style.top=100
document.getElementById("ddCongresses").style.left=10
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900