Velocity Reviews

Velocity Reviews (
-   Software (
-   -   Values set by javascript are not reflected in serverside(.Net) (

rchimakurty 11-27-2007 01:27 PM

Values set by javascript are not reflected in serverside(.Net)
Hi all

I am a new user & learner of .NET and this is my first question.
I am entering the values into a listbox using java script logic.
But when post back occurs because of another button control(not save button) , all the values entered by javascript into listbox disappears. But I have to save those values into database using save button.

java script is working fine.But because of postback those values are disappearing. Please suggest me a solution

urstop 11-28-2007 07:39 AM

you will have to reload the data again when the page is loaded. Post all the avlues to the server and get them back on to your page and using javascript reload them again into the list box.


rchimakurty 11-28-2007 10:07 AM

Then for gridview
it works for list box.And I did the same earlier.

But same problem is occuring with gridview also.

For gridview what to do?

All times are GMT. The time now is 03:19 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.