Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to move controls 2

Status
Not open for further replies.

helloaspnet

Programmer
May 31, 2007
37
US
Hi
I faced similar problem in ASP.NET 2.0 and the same in the web user controls .The problem is i am unable to move the controls in the webusercontrol(asp.net 1.1).Can u plz help how to do it .
I applied the same thing i.e looking for the layout"(i went this way in view ,toolbar ,layout )but found no use .
I know this is so simple but sometimes ,they eat away the time like anything
I will also continue trying
Thanks in advance for any kind of help
bye
newbie

helloaspnet
 
what do you mean "move the controls"?

Jason Meckley
Programmer
Specialty Bakers, Inc.
 

when i drag and drop the controls they get arranged by default and if i try to move they dont as if they are forming a row


helloaspnet
 
are you trying to:
1. move child controls within the ascx file?
2. move the web user control within an aspx file?
3. move child controls of a web user control from a page file?

1 and 2 are possible. 3 is not. that's the nature of the controls.

if this isn't what your talking about try switching to the markup view and move the tags/controls around.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
yaa i mean to say moving child ctrls in ascx file



helloaspnet
 
plz try to brief the way i should proceed to solve it
plz it took lot of my time


helloaspnet
 
hi
i used gridlayout panel in the html tab with in the toolbox .
drag that on to the webuserctrl client area and u can move the controls .
byee

hope it helps somebody like me


helloaspnet
 
Using a GridLayout means that the controls will be positioned on the page by using absolute positioning. Unless absolutely necessary (which in most cases it isn't), this should be avoided as it takes the elements out of the natural flow of the rendered page. Using the method suggested by jbenson001 is the more recommended approach.


____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top