473,698 Members | 2,426 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can javascript do this

I have a .net page where I display a list of items and allow the user to
select one or more items and place the items in another text box as being
selected by clicking an arrow. I currently have two arrows, one to remove
the selected items from the source box and place them in the destination box
and another arrow to take the selected items from the destination box and put
them back in the source textbox. Just wondering if there is a way to do this
without posting back to the server? I
Thanks Paul.
--
Paul G
Software engineer.
Oct 24 '08 #1
5 1059
Yes you can.

There are numerous examples out there. I think the AJAX controls on
www.asp.net have an example of doing exactly what you want. If not there, I
believe it is still somewhere on the ASP.NET site.

You can also use AJAX to avoid the appearance of post back on any pages you
want to seem more dynamic for the user.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

*************** *************** **************
| Think outside the box! |
*************** *************** **************
"Paul" <Pa**@discussio ns.microsoft.co mwrote in message
news:C5******** *************** ***********@mic rosoft.com...
>I have a .net page where I display a list of items and allow the user to
select one or more items and place the items in another text box as being
selected by clicking an arrow. I currently have two arrows, one to remove
the selected items from the source box and place them in the destination
box
and another arrow to take the selected items from the destination box and
put
them back in the source textbox. Just wondering if there is a way to do
this
without posting back to the server? I
Thanks Paul.
--
Paul G
Software engineer.

Oct 24 '08 #2
Yep trying to reduce the number of postbacks on the entire form. I
downloaded the ajax tool kit several months ago so will check it. I am not
sure how often they update the toolkit with new ajax controls but I may need
to grab the newest version.
thanks.
--
Paul G
Software engineer.
"Gregory A. Beamer (Cowboy) - MVP" wrote:
Yes you can.

There are numerous examples out there. I think the AJAX controls on
www.asp.net have an example of doing exactly what you want. If not there, I
believe it is still somewhere on the ASP.NET site.

You can also use AJAX to avoid the appearance of post back on any pages you
want to seem more dynamic for the user.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

*************** *************** **************
| Think outside the box! |
*************** *************** **************
"Paul" <Pa**@discussio ns.microsoft.co mwrote in message
news:C5******** *************** ***********@mic rosoft.com...
I have a .net page where I display a list of items and allow the user to
select one or more items and place the items in another text box as being
selected by clicking an arrow. I currently have two arrows, one to remove
the selected items from the source box and place them in the destination
box
and another arrow to take the selected items from the destination box and
put
them back in the source textbox. Just wondering if there is a way to do
this
without posting back to the server? I
Thanks Paul.
--
Paul G
Software engineer.


Oct 24 '08 #3
If you have VS2008, just download SP1 for VS2008 and you have all but the
futures bits included.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

*************** *************** **************
| Think outside the box! |
*************** *************** **************
"Paul" <Pa**@discussio ns.microsoft.co mwrote in message
news:EF******** *************** ***********@mic rosoft.com...
Yep trying to reduce the number of postbacks on the entire form. I
downloaded the ajax tool kit several months ago so will check it. I am
not
sure how often they update the toolkit with new ajax controls but I may
need
to grab the newest version.
thanks.
--
Paul G
Software engineer.
"Gregory A. Beamer (Cowboy) - MVP" wrote:
>Yes you can.

There are numerous examples out there. I think the AJAX controls on
www.asp.net have an example of doing exactly what you want. If not there,
I
believe it is still somewhere on the ASP.NET site.

You can also use AJAX to avoid the appearance of post back on any pages
you
want to seem more dynamic for the user.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

************** *************** ***************
| Think outside the box! |
************** *************** ***************
"Paul" <Pa**@discussio ns.microsoft.co mwrote in message
news:C5******* *************** ************@mi crosoft.com...
>I have a .net page where I display a list of items and allow the user to
select one or more items and place the items in another text box as
being
selected by clicking an arrow. I currently have two arrows, one to
remove
the selected items from the source box and place them in the
destination
box
and another arrow to take the selected items from the destination box
and
put
them back in the source textbox. Just wondering if there is a way to
do
this
without posting back to the server? I
Thanks Paul.
--
Paul G
Software engineer.



Oct 24 '08 #4
still have 2005, found a javascript function that seems to work well for
moving items back and forth between list boxes.
--
Paul G
Software engineer.
"Gregory A. Beamer (Cowboy) - MVP" wrote:
If you have VS2008, just download SP1 for VS2008 and you have all but the
futures bits included.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

*************** *************** **************
| Think outside the box! |
*************** *************** **************
"Paul" <Pa**@discussio ns.microsoft.co mwrote in message
news:EF******** *************** ***********@mic rosoft.com...
Yep trying to reduce the number of postbacks on the entire form. I
downloaded the ajax tool kit several months ago so will check it. I am
not
sure how often they update the toolkit with new ajax controls but I may
need
to grab the newest version.
thanks.
--
Paul G
Software engineer.
"Gregory A. Beamer (Cowboy) - MVP" wrote:
Yes you can.

There are numerous examples out there. I think the AJAX controls on
www.asp.net have an example of doing exactly what you want. If not there,
I
believe it is still somewhere on the ASP.NET site.

You can also use AJAX to avoid the appearance of post back on any pages
you
want to seem more dynamic for the user.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

*************** *************** **************
| Think outside the box! |
*************** *************** **************
"Paul" <Pa**@discussio ns.microsoft.co mwrote in message
news:C5******** *************** ***********@mic rosoft.com...
I have a .net page where I display a list of items and allow the user to
select one or more items and place the items in another text box as
being
selected by clicking an arrow. I currently have two arrows, one to
remove
the selected items from the source box and place them in the
destination
box
and another arrow to take the selected items from the destination box
and
put
them back in the source textbox. Just wondering if there is a way to
do
this
without posting back to the server? I
Thanks Paul.
--
Paul G
Software engineer.


Oct 24 '08 #5
The cool thing about client side stuff, is you can always upgrade the
backend and still continue to use the client stuff. Glad you found something
that works.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

*************** *************** **************
| Think outside the box! |
*************** *************** **************
"Paul" <Pa**@discussio ns.microsoft.co mwrote in message
news:E1******** *************** ***********@mic rosoft.com...
still have 2005, found a javascript function that seems to work well for
moving items back and forth between list boxes.
--
Paul G
Software engineer.
"Gregory A. Beamer (Cowboy) - MVP" wrote:
>If you have VS2008, just download SP1 for VS2008 and you have all but the
futures bits included.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

************** *************** ***************
| Think outside the box! |
************** *************** ***************
"Paul" <Pa**@discussio ns.microsoft.co mwrote in message
news:EF******* *************** ************@mi crosoft.com...
Yep trying to reduce the number of postbacks on the entire form. I
downloaded the ajax tool kit several months ago so will check it. I am
not
sure how often they update the toolkit with new ajax controls but I may
need
to grab the newest version.
thanks.
--
Paul G
Software engineer.
"Gregory A. Beamer (Cowboy) - MVP" wrote:

Yes you can.

There are numerous examples out there. I think the AJAX controls on
www.asp.net have an example of doing exactly what you want. If not
there,
I
believe it is still somewhere on the ASP.NET site.

You can also use AJAX to avoid the appearance of post back on any
pages
you
want to seem more dynamic for the user.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

************** *************** ***************
| Think outside the box! |
************** *************** ***************
"Paul" <Pa**@discussio ns.microsoft.co mwrote in message
news:C5******* *************** ************@mi crosoft.com...
I have a .net page where I display a list of items and allow the user
to
select one or more items and place the items in another text box as
being
selected by clicking an arrow. I currently have two arrows, one to
remove
the selected items from the source box and place them in the
destination
box
and another arrow to take the selected items from the destination
box
and
put
them back in the source textbox. Just wondering if there is a way
to
do
this
without posting back to the server? I
Thanks Paul.
--
Paul G
Software engineer.



Oct 24 '08 #6

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

Similar topics

1
2466
by: vishnu mahendra | last post by:
i am new to javascript. Can any one please tell me how to connect javascript to oracle in windows 98 using apache.where i could get information on connecting? thank you in advance, vishnu
31
1855
by: manno | last post by:
Hi all, more or less just out of curiosity... I had a short 'discussion' about JavaScript in different borwsers. The other guy said that there's differeces in JavaScript accross browsers (I assumed he meant apart from versions) "because there's different functions". I didn't agree because I think that's because of different DOM's. I know that for example IE 5.0 (or 5.5?) does not support array.push() (and a
2
6901
by: Bernhard Georg Enders | last post by:
After issuing the command (apache httpd.conf file) AddType application/x-httpd-php .php .htm .html any attempt to include javascript code <script src="file.js" type="text/javascript"></script> into htm (or html) file fails. How can I successfully config Apache2 to work with embedded PHP and javascript at same time? TIA,
9
3440
by: gleverett | last post by:
I have been searching the 'Net, and I can't find the right solution here. I am writing some PHP pages that utilize some Javascript. The script works in Mozilla/Netscape, but fails in IE. I don't know if it's the Javascript or the PHP that is causing the problem. I started with an example in a book and added on. The script I'm using is: <SCRIPT LANGUAGE="Javascript" TYPE="text/javascript"> <!--
13
8303
by: John Smith | last post by:
I am using IE 6.0 from http://www.javaworld.com/javaworld/jw-07-1996/jw-07-javascript-p2.html I gather that "If you need to test a number of command lines, you can reduce the keystrokes by typing javascript: (remember the colon) in the Location box. Navigator displays a "JavaScript typein" frame at the bottom of the window. Type the command line you want to try, and press Enter. "
41
4956
by: Rene Nyffenegger | last post by:
Hello everyone. I am not fluent in JavaScript, so I might overlook the obvious. But in all other programming languages that I know and that have associative arrays, or hashes, the elements in the hash are alphabetically sorted if the key happens to be alpha numeric. Which I believe makes sense because it allows for fast lookup of a key.
10
383
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - Which newsgroups deal with javascript? ----------------------------------------------------------------------- The official Usenet newsgroup dealing with javascript is comp.lang.javascript. There are other newsgroups but many of them are not carried by most news feeds. clj is an unmoderated newsgroup. ===
12
8919
by: pantagruel | last post by:
Hi, I'm thinking of making a WScript based JavaScript library, I can think of some specific non-browser specific scripting examples that should probably make it in, like Crockford's little JavaScripter, can anyone think of anything else. Is anyone familiar with anything similar already done. Things that I am thinking that to provide are:
0
8609
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,...
0
9166
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9030
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 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...
0
8871
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 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...
0
7737
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, 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...
0
4371
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...
1
3052
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
2
2333
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.