Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing values in ASP
Message
From
30/04/2010 13:41:17
 
 
To
30/04/2010 13:39:29
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01462553
Message ID:
01462554
Views:
42
>I am new to Web programming so I was wondering if somebody could guide me to right direction.
>
>There is supposed to be a textbox and a small button next to it on my main form. When the user clicks on the button, a small window is supposed to open from where the user will select a name. After the user clicks "OK" on the small window, the name and the ID attached to that name is supposed to comeback to the original page. I want to store both the ID and name in database as the data is used by some other departments where they cannot resolve the ID to a name.
>
>I cannot use a dropdown list as we are talking about at least 3000 records to choose from and it will slow down the dropdown list.

What you would like to use is something similar to what I use here as a pick list. This is necessary when you have too much choices, such as you just mentioned. You may use the window.opener to obtain a reference to the calling window from the pick list window. So, basically, something like window.opener.document.form.field.value=YourSelectedValue would do.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform