473,398 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

using Asp.net panels

SAL
Is there a setting in VS.net 2003 IDE that I can change, so when I add a
PANEL to my ASP.net page and place controls on the PANEL itself, it will
allow me to move the controls on the Panel where I want them?

Currently, I’m creating an asp page that contains a few panels, and I’m
adding labels and text boxes on them, but I can’t seem to move them around ON
THE PANEL where I want them. On the webpage I can move the controls around
where I want them just fine.

I’m developing in C# now, but I remember when creating forms in VB, you
could place controls on a panel where you wanted them. Is this a feature not
included when developing in ASP.net/C#?

Thanks,
Jul 20 '06 #1
3 1462
Don't think in terms of moving things around. This is still the web. The
things you could do with creating forms in VB for Windows don't work on the
web. The placing of things in specific spots doesn't work very well for the
web as HTML really didn't anticipate this originally. You have to get
creative with using tables. Earlier versions of VS.Net defaulted to the
absolute positioning, but it just doesn't work. In essence, forget
everything that you could do with windows application user interfaces. Think
of trying to layout a design as a series of carefully cut up tables, similar
to making a complex Word document. It's not that this kind of development is
a feature missing from ASP.net and C#, it more that this is the way the web
works.

hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"SAL" <SA*@discussions.microsoft.comwrote in message
news:3E**********************************@microsof t.com...
Is there a setting in VS.net 2003 IDE that I can change, so when I add a
PANEL to my ASP.net page and place controls on the PANEL itself, it will
allow me to move the controls on the Panel where I want them?

Currently, I'm creating an asp page that contains a few panels, and I'm
adding labels and text boxes on them, but I can't seem to move them around
ON
THE PANEL where I want them. On the webpage I can move the controls
around
where I want them just fine.

I'm developing in C# now, but I remember when creating forms in VB, you
could place controls on a panel where you wanted them. Is this a feature
not
included when developing in ASP.net/C#?

Thanks,

Jul 20 '06 #2
Mark is right. A few other thoughts that might be useful:

If you do need this degree of print-like control with pixel-precise
positioning and formatting, exact sizings, etc, your best bet in a
ubiquitious web technology right now is probably Adobe Flash. Its support
for programmatically positioned elements is rich, and you can make viable
apps with using its XML capabilities. Look at Full Browser Flash (FBF)
techniques if you want to emulate some or all of the behaviors of a webpage.

MSFT's Expression Interactive Designer looks like it will eventually be
interesting third way, but it's not something that's yet ready for prime
time.

-KF
"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
news:%2***************@TK2MSFTNGP04.phx.gbl...
Don't think in terms of moving things around. This is still the web. The
things you could do with creating forms in VB for Windows don't work on
the web. The placing of things in specific spots doesn't work very well
for the web as HTML really didn't anticipate this originally. You have to
get creative with using tables. Earlier versions of VS.Net defaulted to
the absolute positioning, but it just doesn't work. In essence, forget
everything that you could do with windows application user interfaces.
Think of trying to layout a design as a series of carefully cut up tables,
similar to making a complex Word document. It's not that this kind of
development is a feature missing from ASP.net and C#, it more that this is
the way the web works.

hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"SAL" <SA*@discussions.microsoft.comwrote in message
news:3E**********************************@microsof t.com...
>Is there a setting in VS.net 2003 IDE that I can change, so when I add a
PANEL to my ASP.net page and place controls on the PANEL itself, it will
allow me to move the controls on the Panel where I want them?

Currently, I'm creating an asp page that contains a few panels, and I'm
adding labels and text boxes on them, but I can't seem to move them
around ON
THE PANEL where I want them. On the webpage I can move the controls
around
where I want them just fine.

I'm developing in C# now, but I remember when creating forms in VB, you
could place controls on a panel where you wanted them. Is this a feature
not
included when developing in ASP.net/C#?

Thanks,


Jul 21 '06 #3
SAL
Thanks for the tips. One would think that as powerful as the VS IDE is, that
whether you developing a Windows app or Web app, you would have the same
control over the placement of controls on the forms.

Based on the advice I’ve read here, I was able to use a Flow Layout Panel
from the HTML toolbox rather than the Panel from the Web Forms toolbox to
achieve the results I was looking for.

Thanks again for the help.
"SAL" wrote:
Is there a setting in VS.net 2003 IDE that I can change, so when I add a
PANEL to my ASP.net page and place controls on the PANEL itself, it will
allow me to move the controls on the Panel where I want them?

Currently, I’m creating an asp page that contains a few panels, and I’m
adding labels and text boxes on them, but I can’t seem to move them around ON
THE PANEL where I want them. On the webpage I can move the controls around
where I want them just fine.

I’m developing in C# now, but I remember when creating forms in VB, you
could place controls on a panel where you wanted them. Is this a feature not
included when developing in ASP.net/C#?

Thanks,
Jul 21 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: flupke | last post by:
Hi, i need to develop a gui which will load several "windows" depending on what the users selects in the menu and i thought i could accomplish this with panels. What i'm trying to do to test...
0
by: PZ | last post by:
OSS 2005 The First International Conference on Open Source Systems Genova, July 11 - 15, 2005 CALL FOR PANELS http://oss2005.case.unibz.it Submissions of panels are solicited for the "First...
0
by: PZ | last post by:
OSS 2005 The First International Conference on Open Source Systems Genova, July 11 - 15, 2005 CALL FOR PANELS http://oss2005.case.unibz.it Submissions of panels are solicited for the "First...
1
by: AndrewDucker | last post by:
I've just started working with some people that have an odd setup and I'm wondering if someone can point out a better way of doing things (or what I'm doing wrong). They have a base form class,...
6
by: J.S. | last post by:
I have a TreeView control in the left panel of a SplitContainer. When I click on various nodes in the TreeView I would like different sets of buttons and textboxes to appear in the right panel. ...
2
by: Chad A. Beckner | last post by:
Hey all, I have a ASP .NET webpage which contains several panels. When I click a button on the first "panel" page, it postsback to the same page, and I switch the visibility of the panels...
3
by: Jonas | last post by:
Hi! I have aspx-page where I use multiple panels to make room for more controls than would otherwise fit onto one page. On submit, the controls on all panels, visible or not, should be validated...
1
by: Ben | last post by:
Hi We have a number of Panels on our windows form, we have controls inside and outside of the panels. I am having problems tabbing between controls, it appers to be when the controls are...
0
by: Rob Meade | last post by:
Hi all, I have a page, where, because it had to all be in one page there are a multitude of panels, with the use of a handful of conditions and the ability to show/hide panels I am able to make...
3
by: Andrea Gasperi | last post by:
Hi there not sure if this is the right place but i'm proud to use for the first time the "Managed Newsgroups" feature of my brand new MSDN subscription :-) So here is the problem. I've...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.