Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 6th, 2003, 06:40 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cairo, , Egypt.
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default panel in asp.net

hi all,

i was able to change the controls positions in panel Control while making windows form ...but in web form it is not controllable(i mean controls) do any one know how to do that???



Ahmed Ali
Software Developer
__________________
Ahmed Ali
Senior Software Developer
 
Old December 8th, 2003, 10:48 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Unless you are building a web form with absolute positioning (called "Grid Layout" in visual studio) all the controls on the form "flow" into position. They show up in the order they are draw in HTML and are subject to all the positioning rules of plain HTML. By default, visual studio creates a new web form in Grid Layout so all the controls are positioned explicitly. If your web form is not in Grid Layout you can switch it in the properties box in VS.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old December 8th, 2003, 08:53 PM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cairo, , Egypt.
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

ok with you all cotrols by default when starting web project are put in absolute positions but inserting Controls into Panel control deal with controls as a Words of text:)

i need
  1- a way to group some cotrols with easy positioning
  2- so only call one time hide,move to this container

Ahmed Ali
Software Developer
 
Old December 13th, 2003, 01:06 PM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cairo, , Egypt.
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

ok i got it either one of HTML components:
1- Flow layout Panel
2- Grid Layout Panel

but i hardly programatically change their location, visibility
is ther who have a comment


Ahmed Ali
Software Developer




Similar Threads
Thread Thread Starter Forum Replies Last Post
Update panel in .net 2.0 DIlip Kumar Sittu .NET Framework 2.0 1 July 18th, 2008 06:44 AM
Turning a regular ASP.NET App into an AJAX ASP.Net donrafeal7 Ajax 2 August 31st, 2007 12:33 AM
ViewState problem when adding a panel to a panel koekie17 C# 3 February 20th, 2006 09:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.