madelein
Programmer
- Aug 28, 2008
- 1
I all,
i'm using using JavaScript, C# , Visual Web Developer 2008 Express
I have a form with 2 listboxes (lstCurrent and lstALL) I also have 2 input buttons on the form (btnAdd and btnRemove) - the buttons are used to transfer selected items between the two listboxes. The listboxes are being populated with a sql query on serverside. With my queryi make sure that there is no duplicate value in a listbox (if the value is in lstCurrent its not displayed in lstAll and visa versa. I use a JavaScript Method to handle the moving between the listboxes and it works well. I also use a JavaScript function to sort both listboxes as soon as a item have been moved. This works well as well.
My problem however is that my lstAll is being populated with more than 3000 items and this makes it an endless prosess when the user click on the add/remove button.
I have tried to change the cursor to indicate to the user that there is processing but this does not work as it looks like the screen freezes and then comes alive again a millisecond before the process is finished.
Can anybody give me some tips on how to indicate to the user that the system is busy.
Please, this is an urgent matter as I have a deadline lunchtime tomorrow and its the only issue outstanding.
Kind Regards,
Madelein
i'm using using JavaScript, C# , Visual Web Developer 2008 Express
I have a form with 2 listboxes (lstCurrent and lstALL) I also have 2 input buttons on the form (btnAdd and btnRemove) - the buttons are used to transfer selected items between the two listboxes. The listboxes are being populated with a sql query on serverside. With my queryi make sure that there is no duplicate value in a listbox (if the value is in lstCurrent its not displayed in lstAll and visa versa. I use a JavaScript Method to handle the moving between the listboxes and it works well. I also use a JavaScript function to sort both listboxes as soon as a item have been moved. This works well as well.
My problem however is that my lstAll is being populated with more than 3000 items and this makes it an endless prosess when the user click on the add/remove button.
I have tried to change the cursor to indicate to the user that there is processing but this does not work as it looks like the screen freezes and then comes alive again a millisecond before the process is finished.
Can anybody give me some tips on how to indicate to the user that the system is busy.
Please, this is an urgent matter as I have a deadline lunchtime tomorrow and its the only issue outstanding.
Kind Regards,
Madelein