Updating List Box Contents

Posted on 2004-08-18
Medium Priority
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 ..


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

I thought I'd ask ...
Question by:Pete2003
  • 4
  • 3

Expert Comment

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?

Author Comment

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"

Author Comment

ID: 11835180
I meant ASP button not SP button ...
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.


Author Comment

ID: 11868072
Any help here please ?

Accepted Solution

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:

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

Hope this helps.

Author Comment

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

Expert Comment

ID: 11892144
thanks a lot.

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
If you are looking for an automated solution for backup single or multiple Office 365 user mailboxes to Outlook data file, then you can use Kernel Office 365 Backup & Restore tool. Go through the video to check out the steps to backup single or mult…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …
Suggested Courses

597 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