English Version !!
Hi !!
I have a page with a Form, inside the form I have listbox with 'X' elements.
Wend I submit the page, an ASP process inside the page have to read those
elements and then save them in a database.
I try Request.Form("l istbox") but doesnt work !
I dont know how do it and I cant use a server side listbox.
Thanks !!
--
Francisco J. Salazar - MCP
-----------------------------------------------------------------------
Versión En Español
Hola !!
Tengo una página con un formulario, dentro de este tengo un listbox con X
cantidad de elementos; cuando envÃ*o la pagina un proceso asp dentro de esta
misma página debe leer estos elementos para luego almacenarlos en la Base de
Datos.
He intendado con el Request.Form("l istbox"), pero no funciona
No se como hacerlo, pero no puedo usar un listbox del lado de servidor.
De antemano Muchas Gracias
--
Francisco J. Salazar - MCP 4 2312
What do "doesn't work" and "pero no funciona" mean? Do you get an error?
Do you get unexpected results? What is a listbox? Do you mean a <SELECT>
input? Tell us what's happening and show us what it's happening with.
Ray at work
"f_salazar" <es***********@ fac.mil.co> wrote in message
news:89******** *************** ***********@mic rosoft.com... English Version !!
Hi !!
I have a page with a Form, inside the form I have listbox with 'X'
elements. Wend I submit the page, an ASP process inside the page have to read those elements and then save them in a database.
I try Request.Form("l istbox") but doesnt work !
I dont know how do it and I cant use a server side listbox.
Thanks !! -- Francisco J. Salazar - MCP ----------------------------------------------------------------------- Versión En Español
Hola !!
Tengo una página con un formulario, dentro de este tengo un listbox con X cantidad de elementos; cuando envÃ*o la pagina un proceso asp dentro de
esta misma página debe leer estos elementos para luego almacenarlos en la Base
de Datos.
He intendado con el Request.Form("l istbox"), pero no funciona
No se como hacerlo, pero no puedo usar un listbox del lado de servidor.
De antemano Muchas Gracias
-- Francisco J. Salazar - MCP
Hi Ray !!
First at all, Im not good writing english and the first message is write in
english and Spanish !!
I have the usual page with 2 listbox to add or remove elements from one to
another !!
Im try to make a security page when you choose the users who has access to
the Web Application, passing them from one listbox to the other !!
When you are done, the you submit the page... and here is my question !!
I need to be able to read the elements from the 2nd listbox (it has the new
users) and then save that info to my database.
I try using the Request.Form("l istbox2") sentence and dont retreive the
elements of the listbox !!
I need to know who can I do it !!
Thank you for the fast answer and for your help !!
Francisco !!
"Ray Costanzo [MVP]" wrote: What do "doesn't work" and "pero no funciona" mean? Do you get an error? Do you get unexpected results? What is a listbox? Do you mean a <SELECT> input? Tell us what's happening and show us what it's happening with.
Ray at work
"f_salazar" <es***********@ fac.mil.co> wrote in message news:89******** *************** ***********@mic rosoft.com... English Version !!
Hi !!
I have a page with a Form, inside the form I have listbox with 'X' elements. Wend I submit the page, an ASP process inside the page have to read those elements and then save them in a database.
I try Request.Form("l istbox") but doesnt work !
I dont know how do it and I cant use a server side listbox.
Thanks !! -- Francisco J. Salazar - MCP ----------------------------------------------------------------------- Versión En Español
Hola !!
Tengo una página con un formulario, dentro de este tengo un listbox con X cantidad de elementos; cuando envÃÂ*o la pagina un proceso asp dentro de
esta misma página debe leer estos elementos para luego almacenarlos en la Base de Datos.
He intendado con el Request.Form("l istbox"), pero no funciona
No se como hacerlo, pero no puedo usar un listbox del lado de servidor.
De antemano Muchas Gracias
-- Francisco J. Salazar - MCP
Hi Again !!
Yes the listbox = select ... sorry Im a VB 6 developer and right now Im
working with Visual InterDev.
"Ray Costanzo [MVP]" wrote: What do "doesn't work" and "pero no funciona" mean? Do you get an error? Do you get unexpected results? What is a listbox? Do you mean a <SELECT> input? Tell us what's happening and show us what it's happening with.
Ray at work
"f_salazar" <es***********@ fac.mil.co> wrote in message news:89******** *************** ***********@mic rosoft.com... English Version !!
Hi !!
I have a page with a Form, inside the form I have listbox with 'X' elements. Wend I submit the page, an ASP process inside the page have to read those elements and then save them in a database.
I try Request.Form("l istbox") but doesnt work !
I dont know how do it and I cant use a server side listbox.
Thanks !! -- Francisco J. Salazar - MCP ----------------------------------------------------------------------- Versión En Español
Hola !!
Tengo una página con un formulario, dentro de este tengo un listbox con X cantidad de elementos; cuando envÃÂ*o la pagina un proceso asp dentro de
esta misma página debe leer estos elementos para luego almacenarlos en la Base de Datos.
He intendado con el Request.Form("l istbox"), pero no funciona
No se como hacerlo, pero no puedo usar un listbox del lado de servidor.
De antemano Muchas Gracias
-- Francisco J. Salazar - MCP
Listbox is a <SELECT>, correct?
When you submit a form with a <SELECT> element, it only passes the items
that are selected. You can either use some client-side code to mirror the
items in a hidden input, or add some javascript to select all of the items
in the <SELECT> just prior to submitting. Example:
<script type="text/javascript">
function selectAll(o) {
for(var i=0;i<o.length; i++) {
o[i].selected=true;
}
return true;
}
</script>
<form method="post" action="youract ion.asp" onsubmit="retur n
selectAll(listb ox2);">
<select name="listbox2" multiple>
''options added by your existing code
</select>
<input type="submit">
</form>
Ray at work
"f_salazar" <es***********@ fac.mil.co> wrote in message
news:C0******** *************** ***********@mic rosoft.com... Hi Ray !!
First at all, Im not good writing english and the first message is write
in english and Spanish !!
I have the usual page with 2 listbox to add or remove elements from one to another !!
Im try to make a security page when you choose the users who has access to the Web Application, passing them from one listbox to the other !!
When you are done, the you submit the page... and here is my question !!
I need to be able to read the elements from the 2nd listbox (it has the
new users) and then save that info to my database.
I try using the Request.Form("l istbox2") sentence and dont retreive the elements of the listbox !!
I need to know who can I do it !!
Thank you for the fast answer and for your help !!
Francisco !!
"Ray Costanzo [MVP]" wrote:
What do "doesn't work" and "pero no funciona" mean? Do you get an
error? Do you get unexpected results? What is a listbox? Do you mean a
<SELECT> input? Tell us what's happening and show us what it's happening with.
Ray at work
"f_salazar" <es***********@ fac.mil.co> wrote in message news:89******** *************** ***********@mic rosoft.com... English Version !!
Hi !!
I have a page with a Form, inside the form I have listbox with 'X' elements. Wend I submit the page, an ASP process inside the page have to read
those elements and then save them in a database.
I try Request.Form("l istbox") but doesnt work !
I dont know how do it and I cant use a server side listbox.
Thanks !! -- Francisco J. Salazar - MCP
----------------------------------------------------------------------- Versión En Español
Hola !!
Tengo una página con un formulario, dentro de este tengo un listbox
con X cantidad de elementos; cuando envÃÂ*o la pagina un proceso asp dentro
de esta misma página debe leer estos elementos para luego almacenarlos en
la Base de Datos.
He intendado con el Request.Form("l istbox"), pero no funciona
No se como hacerlo, pero no puedo usar un listbox del lado de
servidor. De antemano Muchas Gracias
-- Francisco J. Salazar - MCP
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: James Goodman |
last post by:
I have a listbox named sub1 on an asp page. I need to fill this list with
values from a table. These are selected based upon the selection of a
value/s in another listbox.
It was suggested that I use a hidden iframe on my main page, & carry out the
processing inside the frame, using jscript.
If I open the page in a browser, & make a selection in the first listbox
(named main), the data in the frame appears to be processed correctly, the...
|
by: Chris Styles |
last post by:
Dear All,
I've been using some code to verify form data quite happily, but i've
recently changed the way my form is structured, and I can't get it to work
now.
Originally :
The form is called "form1", and I have selects called "PORTA", "PORTB" ...
etc...
|
by: yue |
last post by:
Hi,
How do I loop through listbox items?
Thanks,
yue
|
by: CS Wong |
last post by:
Hi,
I have a page form where form elements are created dynamically using
Javascript instead of programatically at the code-behind level. I have
problems accessing the dynamically-created elements and would like to seek a
solution for this.
I had looked through several articles for accessing programatically-created
dynamic elements such as:
1)
|
by: RFS666 |
last post by:
Hello together,
I wanted to ask if somebody can help me with accessing a listbox (a
serverside webform from the designer-toolbox) from clientside JScript. I need
to add and remove values and find out about the selected index.
I hope somebody can help & thanks in advance
RFS666
| |
by: Paul_Madden via DotNetMonster.com |
last post by:
Basically I have a listbox to which I add simple STRING items- I have a
progress bar which I increment whenever I populate another portion of the
complete set of items I wish to add. What I observe is that as more and more
are added, population of the list box takes longer and longer. ie the first
10th of the item set are added much much quicker than the last 10th. THis
occurs with about 40,000 listbox items. My worry is the listbox may...
|
by: Mark Rae |
last post by:
Hi,
Looking for some advice again...
Imagine two ListBox controls denoting something like students and team
membership e.g. many students can be members of many teams (e.g. the hockey
team, the football team, the athletics team etc).
Team membership is managed on a standard web page with two ListBox
controls - the one on the left shows which team(s) the student is not a
|
by: bogdan |
last post by:
Hi,
I have two listboxes on a page and need to move items between them - using
buttons (e.g. "<<" ">>"). Can this be done on a client side in asp.net?
I'd like to avoid hitting the server on every add/remove.
Thanks,
Bogdan
|
by: Doogie |
last post by:
I have a .net app that a user currently enters a number in a text box,
hits a button and a data call is executed. She wants the ability to
enter in multiple numbers (up to 100).
So to make things look better visually for that, I created a listbox
under the text box. She enters the number in the text box, clicks
another button I added and the number is stored in the list box. Then
my plan was to grab all those numbers from the list box...
|
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: 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: 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: 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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: 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
| |