473,493 Members | 2,245 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

When a server control expands, it overlaps with the text that follows

I am using the server side Toggle Controls implemented by Jos
(cf: http://www.codeproject.com/aspnet/ToggleControls.asp), which is
pretty cool, if you wanna toggle controls.

On my web page, I have, for example:

Fruit +
Vegitable +
Soda +

Where the + is a toggle control, when this control by "Fruit" is
clicked, a listbox is displayed like so:

Fruit -
Apple
Banana
Coconut
Date

And of course, when the - is clicked, the list will
collapse/dissappear.

I put the listbox for the list of fruit on top a panel. The problem is
that when this listbox gets displayed, it does not push down the text
below, but overlaps with and thus covers "Vegitable +" and "Soda +".

I know that I can probably do this with client side javascript that
manipulates a few div's. But now that I have the server control
ToggleButton, is it possible to nicely achieve the effect using Server
script only?

Or is it possible to manipulate div from the server side? I guess no?

Nov 20 '06 #1
1 1097
Hmm, looks like that there is no server side solution to this problem.
Even gurus on this board got stuck.

an***********@yahoo.com wrote:
I am using the server side Toggle Controls implemented by Jos
(cf: http://www.codeproject.com/aspnet/ToggleControls.asp), which is
pretty cool, if you wanna toggle controls.

On my web page, I have, for example:

Fruit +
Vegitable +
Soda +

Where the + is a toggle control, when this control by "Fruit" is
clicked, a listbox is displayed like so:

Fruit -
Apple
Banana
Coconut
Date

And of course, when the - is clicked, the list will
collapse/dissappear.

I put the listbox for the list of fruit on top a panel. The problem is
that when this listbox gets displayed, it does not push down the text
below, but overlaps with and thus covers "Vegitable +" and "Soda +".

I know that I can probably do this with client side javascript that
manipulates a few div's. But now that I have the server control
ToggleButton, is it possible to nicely achieve the effect using Server
script only?

Or is it possible to manipulate div from the server side? I guess no?
Nov 20 '06 #2

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

Similar topics

1
2060
by: Mad Scientist Jr | last post by:
I'm stuck trying to work with a HTML <SELECT> control and javascript (similar to DualList but that control doesn't offer enough options to totally control the text on the buttons and control, also...
20
5594
by: Guadala Harry | last post by:
In an ASCX, I have a Literal control into which I inject a at runtime. litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID); This works great as long as the contains just...
6
2297
by: Nathan Sokalski | last post by:
I am using a DataSet as the DataSource of a DataList in my code. The SQL used to get the data from the database begins with: SELECT...
1
3783
by: prpradip | last post by:
In my application ListView is inside panel (XP theme enable), item text in the ListView control overlaps other items in small icon view. The items are drawn as if aligned to a grid and this causes...
0
7119
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
6989
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
7157
Oralloy
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,...
0
7195
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...
1
6873
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
5453
agi2029
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,...
0
4579
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...
0
3088
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...
0
1400
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 ...

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.