16,022,737 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by R.Elena (Top 15 by date)
R.Elena
18-Jul-14 8:12am
View
I Have only one column ID for parent and children and column Name, and from that two columns to bind a treeview with parent, child and subchild :/
R.Elena
29-Apr-14 6:59am
View
Ok thanks !
R.Elena
29-Apr-14 6:57am
View
I resolve the problem
R.Elena
29-Apr-14 3:17am
View
I resolve the problem :)
R.Elena
29-Apr-14 2:37am
View
Session , but give me a empty label
R.Elena
29-Apr-14 2:36am
View
And what about sum of checked cells in a column? What to use?
R.Elena
28-Apr-14 9:26am
View
Yes I know. But I am new in javascript. Can you gave me an example for passing value of lbltotal to another page?
R.Elena
28-Apr-14 9:23am
View
Can you gave me a example for add label valie in query string to the url in javascript?
R.Elena
28-Apr-14 9:17am
View
I tried with javascript to get checked cells and it work, But won't pass to another page
I use this script
<script type="text/javascript">
$(function () {
$("input[type=checkbox]").change(function () {
var totalPrice = 0, ctlPrice;
$('#GridView1 tr').each(function () {
if ($(this).find('input:checkbox').attr("checked")) {
ctlPrice = $(this).find('[id$= lblListPrice]');
totalPrice += parseFloat(ctlPrice.text().replace(/[^\d\.]/g, ''));
}
});
$("#<%=GridView1.ClientID %> [id*=lblTotal]").text(totalPrice.toFixed(2));
});
});
</script>
How can i store lblTotal in querystring in js and pass to another page?
R.Elena
28-Apr-14 7:12am
View
throught server side. Is it posible throught client side (JavaScript) and how?
R.Elena
28-Apr-14 5:27am
View
Error message : CallTotal(int) : not all code paths return a value
R.Elena
28-Apr-14 5:13am
View
it is show correctly in footer in lblTotal . But the value won't pass to another page :)
R.Elena
28-Apr-14 5:10am
View
.cs code
R.Elena
25-Apr-14 4:07am
View
Code is good. This code is in Page1.aspx, I want to get lblTotal value and pass it in Label on Page2.aspx
R.Elena
25-Apr-14 3:02am
View
this is my script for get checked cell sum in footer
<script type="text/javascript">
$(function () {
$("input[type=checkbox]").change(function () {
var totalPrice = 0, ctlPrice;
$('#GridView1 tr').each(function () {
if ($(this).find('input:checkbox').attr("checked")) {
ctlPrice = $(this).find('[id$= lblListPrice]');
totalPrice += parseFloat(ctlPrice.text().replace(/[^\d\.]/g, ''));
}
});
$("#<%=GridView1.ClientID %> [id*=lblTotal]").text(totalPrice.toFixed(2));
});
});
</script>
I tried on Google but I can'e find similar discussion
Show More