I'm curious... asp:Panel renderes a <div> tag, right? And you can have text
in a div tag.... so why not have a Text property for the asp:panel control?? 6 1533
It's purpose is that it can be more then just that. It's a container
--
Curt Christianson
Owner/Lead Developer, DF-Software www.Darkfalz.com
"sklett" <as**@fkd.com > wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. I'm curious... asp:Panel renderes a <div> tag, right? And you can have
text in a div tag.... so why not have a Text property for the asp:panel
control??
I'm sure this is an ignorant question.... what would one use a container
for, the most common use you can think of?
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:eM******** ******@TK2MSFTN GP10.phx.gbl... It's purpose is that it can be more then just that. It's a container
-- Curt Christianson Owner/Lead Developer, DF-Software www.Darkfalz.com
"sklett" <as**@fkd.com > wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. I'm curious... asp:Panel renderes a <div> tag, right? And you can have text in a div tag.... so why not have a Text property for the asp:panel control??
To group other objects together. So if I need to show one group of objects
in one case, and another set in a different case, i can put each set of
objects in their own panel. Then I can make the panel i need to show
visible, and make the other one invisible. So instead of keeping a list of
objects I need to make invisible, and going through each one, I could just
do it all in one line. If I end up adding or deleting objects from either
set, this code would not have to change as I am only changing the Visible
property of the panel.
"sklett" <as**@fkd.com > wrote in message
news:eE******** ******@TK2MSFTN GP12.phx.gbl... I'm sure this is an ignorant question.... what would one use a container for, the most common use you can think of? "Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message news:eM******** ******@TK2MSFTN GP10.phx.gbl... It's purpose is that it can be more then just that. It's a container
-- Curt Christianson Owner/Lead Developer, DF-Software www.Darkfalz.com
"sklett" <as**@fkd.com > wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. I'm curious... asp:Panel renderes a <div> tag, right? And you can
have text in a div tag.... so why not have a Text property for the asp:panel control??
You can put ANYHTING in a <div> tag - that's why.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"sklett" <as**@fkd.com > wrote in message
news:#o******** ******@TK2MSFTN GP10.phx.gbl... I'm curious... asp:Panel renderes a <div> tag, right? And you can have
text in a div tag.... so why not have a Text property for the asp:panel
control??
Cool. Without even realizing it that's what I've done with my
"ProductWizard. aspx" page, hide em all, then show the current step. I see
the value in a panel as a container, but I still don't see why I can't drop
some text in there.
Thanks for the quick response!
"Marina" <so*****@nospam .com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. To group other objects together. So if I need to show one group of objects in one case, and another set in a different case, i can put each set of objects in their own panel. Then I can make the panel i need to show visible, and make the other one invisible. So instead of keeping a list
of objects I need to make invisible, and going through each one, I could just do it all in one line. If I end up adding or deleting objects from either set, this code would not have to change as I am only changing the Visible property of the panel.
"sklett" <as**@fkd.com > wrote in message news:eE******** ******@TK2MSFTN GP12.phx.gbl... I'm sure this is an ignorant question.... what would one use a container for, the most common use you can think of? "Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message news:eM******** ******@TK2MSFTN GP10.phx.gbl... It's purpose is that it can be more then just that. It's a container
-- Curt Christianson Owner/Lead Developer, DF-Software www.Darkfalz.com
"sklett" <as**@fkd.com > wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. > I'm curious... asp:Panel renderes a <div> tag, right? And you can have text > in a div tag.... so why not have a Text property for the asp:panel control?? > > >
You can, use an asp:Label in it
--
Curt Christianson
Owner/Lead Developer, DF-Software www.Darkfalz.com
"sklett" <as**@fkd.com > wrote in message
news:uy******** ******@tk2msftn gp13.phx.gbl... Cool. Without even realizing it that's what I've done with my "ProductWizard. aspx" page, hide em all, then show the current step. I see the value in a panel as a container, but I still don't see why I can't
drop some text in there.
Thanks for the quick response!
"Marina" <so*****@nospam .com> wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. To group other objects together. So if I need to show one group of
objects in one case, and another set in a different case, i can put each set of objects in their own panel. Then I can make the panel i need to show visible, and make the other one invisible. So instead of keeping a list of objects I need to make invisible, and going through each one, I could
just do it all in one line. If I end up adding or deleting objects from
either set, this code would not have to change as I am only changing the
Visible property of the panel.
"sklett" <as**@fkd.com > wrote in message news:eE******** ******@TK2MSFTN GP12.phx.gbl... I'm sure this is an ignorant question.... what would one use a
container for, the most common use you can think of? "Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message news:eM******** ******@TK2MSFTN GP10.phx.gbl... > It's purpose is that it can be more then just that. It's a container > > -- > Curt Christianson > Owner/Lead Developer, DF-Software > www.Darkfalz.com > > > "sklett" <as**@fkd.com > wrote in message > news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. > > I'm curious... asp:Panel renderes a <div> tag, right? And you can have > text > > in a div tag.... so why not have a Text property for the asp:panel > control?? > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Harry |
last post by:
Hi,
Slight problem in asp.net. (c#)
I have a asp:panel page set up, with two different panels both of
which contain a form.
On the second page the user presses submit and the form details are
automatically entered into a SQL database.
Problem is, when the user presses the next button on the first panel,
|
by: Harry |
last post by:
Hi,
Can anyone help.
I have a asp.net page (c#), with two panels, both of which have
asp:textboxes on.
When I press the first button, the second panel shows fine.
When I press the button in the second panel, it triggers the script to
send the form details by email.
|
by: Mark Rae |
last post by:
Hi,
Is there any way to use the asp:Panel Web control so that it is always
created regardless of its Visible property? E.g. if I write the following:
<asp:Panel ID=pnlEvent Runat=server Visible=False>
....controls
</asp:Panel>
the panel is not actually created. I'd like it to be created but be
|
by: Pietro |
last post by:
The asp:Panel tag renders a DIV in IE and TABLE in Firefox, where can i
configure it to render DIV in both.
Thanks
Pietro
|
by: mahaq |
last post by:
Hi Guys,
I like to know if there is any better solution to this issue.
I am a front end developer using CSS and asp.net technologies
I have a .net page and I am using an external CSS file.
After adding the following code
What I see is that its fine on IE 6 & 7 but on firefox and netscape the 2 links given below shift to the center.
| |
by: Darren Carter |
last post by:
Hi,
I have mutliple asp:Panel controls on a single page, each with a default
button defined (each default button resides within its respective asp:Panel).
All validation controls and buttons within each panel also have separate
ValidationGroups defined. When an asp:Textbox has focus in one of the Panels
and I press the enter key, my validation works great. If I press the enter
key a second time, the first button on the page's onClick...
|
by: Nathan Sokalski |
last post by:
I have an HTML table in which I am using ASP:Panel controls to group
together <tr>'s so that I can more easily show/hide them (by setting the
ASP:Panel's Visible property). This works fine, but Visual Studio .NET
2005's Design View always hides the <tr>'s regardless of whether the
ASP:Panel's Visible property is set to True, False, or not set at all. Is
there some way I can stop Visual Studio .NET 2005's Design View from hiding
my <tr>'s...
|
by: douglas greenshields |
last post by:
Hello all, wondering if you can help! This should be a simple one.
I currently have an asp:panel in an .ascx file that renders in Firefox
as a table with a width="100%" attribute. (The IE rendering into a div
doesn't have this attribute.) Although ideally I'd prefer that panels
rendered as divs whichever browser was doing the rendering, I'm happy
with it rendering as a table as long as this width="100%" can somehow
be excised.
Is...
|
by: phpmel |
last post by:
Hi Guys,
I have an asp panel,an associated drag panel extender, a label and an OK button that serves as a message popup. i would like this pop up to show up in the centre of the browser window when the page is run.
can someone please help me
My code is below. i am using master pages
<asp:Panel ID="MessagePanel" runat="server" Style="z-index: 100;
left: 50%; position: absolute; top: 50%;" Visible="False" CssClass="modalPopup"...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |