473,396 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

innerHTMLs's value not saved

i am using labels for storing subtotals in datalist control which are successfully calculated and showed in labels using javascript's innerHTML property. But When i press button(server control) for calculating Grand Total then the values of those labels are not retrived and it started showing previous values of label control.
Can anyone tell me what i can do to retrive label value, i think i am using innerhtml property to change label's value so may be it is not saving its value.
Thanks....
Sep 14 '07 #1
5 1260
kenobewan
4,871 Expert 4TB
It may be that your values are updating, how are you populating the datalist?
Sep 14 '07 #2
I am Using Nested datalist but the labels which I am updating using javascript are in root datalist. Values are successfully updating but if I click on server control(Button) label restore its previous values but i want its updated value.
It may be that your values are updating, how are you populating the datalist?
Sep 15 '07 #3
kenobewan
4,871 Expert 4TB
Thats my point, if the datalist isnt being updated then you wont get the updated values. HTH.
Sep 15 '07 #4
I mean Label's text is updating successfully in datalist and it is showing proper result in datalist, as i am using javascript to update these labels text by using innerhtml property, so i want these values to store in database but if i click button(server control) to save the values of that labels, they are lost and datalist starts showing previous values, that may be because i had updated labels value with innerHTML??
Thats my point, if the datalist isnt being updated then you wont get the updated values. HTH.
Sep 17 '07 #5
kenobewan
4,871 Expert 4TB
You have to connect to a database for this to happen, otherwise you are just dealing with a disconnected datalist. HTH.
Sep 17 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: koen colen | last post by:
Hello group, I hope you guys can help me out, I am modifying a piece of code from Joe Norman, I did found the code here: http://www.intranet2internet.com/public/default.asp?PAGE=sscript&ID=3 ...
4
by: Jack | last post by:
Hi, I have a checkbox the value which goes to a database via a asp page that builds the sql string. In the front end asp page, the checkbox code is written as follows: <i><input...
1
by: Jimmer | last post by:
How do you recognize a change in the value of a calculated control? The normal events such as Dirty don't seem to work, unless I physically interact with the control in some way. My problem is...
2
by: Susan Bricker | last post by:
Greetings. I have a form (frmDogs) that is invisible while a subsequent form (frmPeople) is visible. The visible form sets a value for a combobox (cboOwner) in the hidden form, makes the...
6
by: carmela_wong | last post by:
Hello all, I am trying to set the default value of a combo box to "USA" which does not work although I have entered this in the Default Value property of the control. The combo box shows the...
1
by: CCLeasing | last post by:
Hi i am calling a bool method like so checkduplicates(@"c:\saved.txt", report); it either returns true or false, I want to do something if it's returned true, and something else if it's...
6
by: Ben | last post by:
I posted on this forum several days ago and got helpful replies. but, most replies directed to html file download. I rephrase my question here. I am working on a project collecting data from...
0
by: Jon Paal | last post by:
--dropdownlist value isn't being saved to database from FORMVIEW --field PriorityID is datatype "number" (integer) what's missing ???? '=========code============= <asp:Content ID="Content1"...
0
by: bloukopkoggelmander | last post by:
Hi All wonderfull brains! Right I have two questions after my last very successfull thread. I have tried looking these up on the net, but no luck. Scenario 1 is : I have a bound form with bound...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.