Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Updating List Box Contents

Posted on 2004-08-18
7
Medium Priority
?
247 Views
Last Modified: 2010-04-15
Hi All,

I have 2 list boxes .. and a buttons to move items between them ...

The problem is thta every time I click a button to move items the whole page refreshes ... I understand this is because the buttons are server components so it needs to post to the server ..

HOWEVER ....

Is there a way to get data moving between the boxes without refreshing the page ...

I thought I'd ask ...
0
Comment
Question by:Pete2003
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 3

Expert Comment

by:nhewitt21
ID: 11832156
If your wanting to populate a listbox from another and visa vers and using a button to transfer the text etc, then you shouldn't need to refresh the page.  It depends what your doing after that.

Are you saving anything to a database after you have changed the lists?
0
 

Author Comment

by:Pete2003
ID: 11834608
Well the thing is that whenever I push the button (it's an SP button) ... it refreshes the page ...
Probably since all LBs and the Button are all runat="server"
0
 

Author Comment

by:Pete2003
ID: 11835180
I meant ASP button not SP button ...
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:Pete2003
ID: 11868072
Any help here please ?
0
 
LVL 3

Accepted Solution

by:
nhewitt21 earned 1000 total points
ID: 11868258
I've had a look at a few sites and a few of my programs and i have no idea if its possible, all my webapps refresh the page when i click a button too.

However, i just put a:
if(!IsPostBack)
{
}

around everything in the Page_Load.  Then my code on page load don't run again.

Hope this helps.
0
 

Author Comment

by:Pete2003
ID: 11868763
Yeah .. I use the IsPostBack too .. but the page itself still refreshes ... btu I knew it would not be possible .. just was looking for 2nd opinion
0
 
LVL 3

Expert Comment

by:nhewitt21
ID: 11892144
thanks a lot.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question