I really like using Panels in ASP.net to show hide parts of a page. The only
catch is that, by default, panels are rendered as DIVs. There are times when
I'd like the panels rendered as Spans...so that they can be used as inline
content.
I can set the display: inline style programatically , or I can create a new
CSS style for this panel and set the 'display: inline' style there, but I'm
wondering if there's a more direct workaround that I could place directly in
the asp:Panel tags do it's not dependant on external styling.
-Darrel 2 1800 I really like using Panels in ASP.net to show hide parts of a page. The
only catch is that, by default, panels are rendered as DIVs. There are times
when I'd like the panels rendered as Spans...so that they can be used as inline content.
duh. asp:placeholder
;o)
-Darrel
Try asp:Label
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
"darrel" <no*****@hotmai l.com> wrote in message
news:OJ******** ******@TK2MSFTN GP15.phx.gbl... I really like using Panels in ASP.net to show hide parts of a page. The only catch is that, by default, panels are rendered as DIVs. There are times when I'd like the panels rendered as Spans...so that they can be used as
inline content.
duh. asp:placeholder
;o)
-Darrel
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kerry Sanders |
last post by:
I was playing around with a new Windows form yesterday. I wanted to drop two
panels on the form. The first would be set Dock=Top. The second would be set
Dock=Fill.
So, I dropped the first panel and set its Dock property to Top. I then dropped
the second panel on the form and set its Dock property to Fill.
Holy disappearing panels, Batman. The second panel filled the entire form
hiding the first panel. So, when I dropped my grid...
|
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 accordingly. BUT, when I click the back
button, the same panel shows up, not the "previous" panel. I need to fix
this ASAP! I have tried expiring the page, but then I seem to lose
viewstate on the previous page (panel). How can I do this, I see a...
|
by: Charlie Dison |
last post by:
Hi There,
Should I be able to show and hide panels in an asp.net page without
requiring a postback? I thought there was a way to do this using java
script. Can anyone give me an example? I can't seem to find one that makes
sense. Thanks.
|
by: JJ |
last post by:
Hi,
How can I lay one panel over the other? I want to switch back and forth
between panels that overlap. If I do this and make one invisible can I still
load controls with data if that particular panel is invisible?
Thanks,
JJ
|
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 with the ASP.NET validators, and
if the page is valid, it is sent to the database in one transaction. But it
seems that only the controls on the visible panels gets validated.
Is there a easy way to solve this problem?
| |
by: aarepasky |
last post by:
I am using ASP.NET 2.0 and C#. I am creating a page with multiple
panels on it. In the panels are user controls that have the screen
layout to input data. I only show one panel at a time by making it
visible and the other panels not visible. That works fine. I have
buttons that determine what is visible and not visible. This is being
done so that all the information can be input before any tables in the
DB is updated. This updating...
|
by: Learner |
last post by:
Hello there,
I have built as .aspx page. I have a situation to create 4 panels in
a <td></td. Based on the selection of a drop down I need to display
the corresponding panel in that table cell. Every thing works fine but
I see a lot of space in the table cell that was occupied by the other
panels though they are being hidden.
Can any one help me how to remove the space ? I dont' know how to use
style sheets or even do not if the the...
|
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 this page look like the user is moving
between many...
Here's my problem...
I started off by simply seting the visibility to true/false etc in each code
|
by: ll |
last post by:
I'm currently working on a form which consists of a show and hide
javascript. The toggle works fine, although when I click on submit, I
would like the page to reload with the toggle (show/hide) div in the
same state it was before being submitted. E.G. If the div was
visible, I'd like for it to be visible upon return.
Here's the script I'm currently using - thanks for any help,
Louis
--------------------------------------------
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |