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

some questions on webpage programming in ASP

1. How can I implement such a requirement?
[menu1][menu2] [add] |----|
[delete] | | <----//<select> like table
of item chosen
[submit] | |
|----|
requirements:
1) Menu1 and menu2 are associated. For example, menu1 shows all the
catagories. when the user chooses a catagory of menu1, menu2 shows the
subcatagories of the catagory chosen.
2) All the catagories and subcatagories (their name, id, and
relations) planed to show in the menu1 and menu2 are stored in the
database, that is, the page is generated by such data.
3) When the user clicks the [add] button, the current catagory and
subcatagory is chosed, and the ids of them are added to the right table
as a item. The table is like a <select></select>, and the item like a
<option></option>. The user may add more than one items to the table.
4) When the user chooses one or more items in the table(use shift or
ctrl + mouse to make a multi-choice), and clicks the [delete] button,
the items chosen are removed from the table.
5) When the user clicks the [submit] button, the items chosen are
packed in some data stucture such as an array or some, and transmited
back to the server.

2. How can I implement such text effect?
In some container, for example, a unit of a table, there's a long
text. But I wanna show 3 lines only, i.e. if overflow, the text should
be cut off, and add "..." at the end.

Jan 20 '06 #1
1 1211
Sorry, my English is so poor that there are some grammar mistakes, and
may be not clearly expressed. Please try to understand it. Thanks a lot!

Jan 20 '06 #2

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

Similar topics

6
by: Sven Dzepina | last post by:
Hello people, I have a problem with my ISP! He kills my php script, if they were executed over 30 seconds. Can I use some trick to fake a little bit? That I can execute the script longer!? ...
1
by: Az Tech | last post by:
Hi people, (Sorry for the somewhat long post). I request some of the people on this group who have good experience using object-orientation in the field, to please give some good ideas for...
41
by: Gérard Talbot | last post by:
Cross-posted to: comp.infosystems.www.authoring.html and alt.html Followup-to: comp.infosystems.www.authoring.html 1- One day, I stumbled across a website that offers to validate webpages. What...
18
by: Matt | last post by:
I had these questions in an interview today: 1. Define a class using C. 2. Write a C functions that does garbage collection: frees all allocated memories. 3. Define semaphore. 4. What is...
15
by: WStoreyII | last post by:
First Question: Due to the hours of my job i can not go to school right now and i can't afford online classes. My questions is that i have learned a lot about .net and i am pretty sure that if...
24
by: Kevin | last post by:
Hey guys. I'm looking to get together some VB programmers on Yahoo messenger. I sit at a computer and program all day. I have about 3 or 4 people already, but it would be really cool to have a...
1
by: marklinehan | last post by:
Hi, my name is Mark Linehan. About 20 years ago or so I started learning how to program on the Commodore 64 computer (anyone remember those?) heheheh. I taught myself basic on this little machine...
7
by: changs | last post by:
Hi, all I have a asm code, I suspect it sort of socket programming. Can anyone here give some instructions on how to determine the function or give the psudo-code in C? Thanks in advance! ...
3
by: Mr. Murad Jamal | last post by:
2 small questions: 1)In steps, how can we deploy a website locally (without publishing it on the internet) using Copy Website dialog box ? 2) How can we select an area (say a rectangle) from...
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
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
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
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
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
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...

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.