Click here to Skip to main content
14,639,700 members
Rate this:
Please Sign up or sign in to vote.
See more:
How to move controls like textbox, label and image from one location to another location same webpage using ASP.NET
Posted
Comments
Thanks7872 30-Oct-13 2:24am
   
Use design view in visual studio,drag the control you want to move and drop it where you want to. Another option is to use CSS to place controls. What is the problem?
DANIAL RAVI 30-Oct-13 2:34am
   
Hello Rohan,

My question is i need to create one textbox and move it to specific location in ASP.net
DANIAL RAVI 30-Oct-13 2:35am
   
I need to move controls at run time
Siva Hyderabad 15-Nov-13 1:51am
   
I think better to use WPF for your question

Rate this:
Please Sign up or sign in to vote.

Solution 1

you can achive this by using either Css3 or Javascript:

Css3:
http://www.w3schools.com/css/css3_transitions.asp[^]
Also check 2d and 3d transforms... actually check all the Css3 section!


Javascript:
http://www.webdeveloper.com/forum/showthread.php?18460-Move-a-button-on-the-onMouseOver-event[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

->goto Tools->options->in the left side list select HTML designer select CSS styiling and click on checkbox of Changing positioning to absolute for controls added using Toolbox,paste or drag and drop
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100