web control and javascript

C

Chris

Hi,

I want to offload some server processing to the client.

My idea:
I have a listbox of items the user has populated. using a text box control
and a
button control both of which are server side.

I want to be able remove items from the listbox using a remove button that
is client side javascripted.
When the user clicks on a listitem and presses a remove html button, the item
is removed. The user might remove multiple items in this manner.

Then they hit submit, which is a server side button using code-behind.
Will the listbox object now be out of sync with what is on the webpage which
has not done a post back in sometime? Will my code behind logic see the
original listitems before the removal or will it see the smaller list?

is this possible or are their other solutions?

thanks

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top