473,406 Members | 2,954 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,406 software developers and data experts.

How to handle the space between the panels on .aspx page?

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 DIV functions works and how to
use it.
Here is a sample table code snippet with panels inside the table cells
for you to simple put some code to show me.
<table>
<tr><td>drop down selection</td></tr>
<tr><td>
<asp:panel1></asp:panel>
<asp:panel2></asp:panel>
<asp:panel3></asp:panel>
<asp:panel4></asp:panel>
</td>
</tr>
</table>
Any inputs are greatly appreciated.
Thanks
-L

Aug 3 '06 #1
3 4450
I don't know if this will help, but try

<table cellpadding="0" cellspacing="0" border="0">

You might also move all your code onto on line. I know that sounds
stupid, but sometimes it works.

Learner wrote:
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 DIV functions works and how to
use it.
Here is a sample table code snippet with panels inside the table cells
for you to simple put some code to show me.
<table>
<tr><td>drop down selection</td></tr>
<tr><td>
<asp:panel1></asp:panel>
<asp:panel2></asp:panel>
<asp:panel3></asp:panel>
<asp:panel4></asp:panel>
</td>
</tr>
</table>
Any inputs are greatly appreciated.
Thanks
-L
Aug 3 '06 #2
Hello Kennedy,
I have just tried it but no luck yet :( but thanks for the reply.

I also have other <td>s defined in the same table its kind have 10
<tr>s with controls placed in it. Looks like we need to use some kind
of CSS functions to recover/to handle the space (gap betten the
controls) but unfortunately I have knowledge about it!

Thanks again for your reply.
-L
kennedystephen wrote:
I don't know if this will help, but try

<table cellpadding="0" cellspacing="0" border="0">

You might also move all your code onto on line. I know that sounds
stupid, but sometimes it works.

Learner wrote:
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 DIV functions works and how to
use it.
Here is a sample table code snippet with panels inside the table cells
for you to simple put some code to show me.
<table>
<tr><td>drop down selection</td></tr>
<tr><td>
<asp:panel1></asp:panel>
<asp:panel2></asp:panel>
<asp:panel3></asp:panel>
<asp:panel4></asp:panel>
</td>
</tr>
</table>
Any inputs are greatly appreciated.
Thanks
-L
Aug 3 '06 #3
Hi,

Learner wrote:
Hello Kennedy,
I have just tried it but no luck yet :( but thanks for the reply.

I also have other <td>s defined in the same table its kind have 10
<tr>s with controls placed in it. Looks like we need to use some kind
of CSS functions to recover/to handle the space (gap betten the
controls) but unfortunately I have knowledge about it!

Thanks again for your reply.
-L
How do you hide the panels? And also, how does the client-side code look
like?
(display the web page in a browser, right-click on the page and then
choose "View source")

Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Aug 3 '06 #4

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

Similar topics

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...
0
by: Anonymous | last post by:
Crossposted to relevant groups. When using VS2003 to develop ASP.NET apps, you open up an aspx page and have a "canvas" to work on. You can drop controls from the toolbox onto the page, and then...
1
by: Demetri | last post by:
I'm trying to determine if we want to use panels or user controls for our pages. Our primary concern is performance, page loading and posting speed. To illustrate my question, lets use the...
1
by: csgraham74 | last post by:
Hi Guys, Just a quick one. I have an .aspx web page with numerous panels on the page - each panel contains a datagrid. I have found that below each panel there is a blank space that i cannot...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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
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.