R
Rubble
Hello,
Ive placed a server control button on my aspx page. Ive created some
client side script that Ive tied to the onclick action of this button.
The script adds to a listbox the contents of a textbox. It works
very well, but the page does a postback, and the listbox resets
itself.
The listbox has to be a server control, so I cant create this whole
scenario using your basic client side javascript.
How can I stop the postback...or cache it for later...or in some way
keep the page from reloading? Can I build an html button and tie the
server listbox control to it?
Any ideas would be appreciated.
Thank!
B. Rubble
Ive placed a server control button on my aspx page. Ive created some
client side script that Ive tied to the onclick action of this button.
The script adds to a listbox the contents of a textbox. It works
very well, but the page does a postback, and the listbox resets
itself.
The listbox has to be a server control, so I cant create this whole
scenario using your basic client side javascript.
How can I stop the postback...or cache it for later...or in some way
keep the page from reloading? Can I build an html button and tie the
server listbox control to it?
Any ideas would be appreciated.
Thank!
B. Rubble