CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Retrieve value of a hidden Grid

Print topic Send  topic

Author Message
Rookie
Posted: 09/23/2004, 11:04 AM

I need to retrieve the value of a label field from a hidden grid, this is my scenario:

Grid1 - is hidden, and in that grid I have a calculated value (LabelSumm)

Grid2 - in this grid I need to display all the LabelSumm's of the hidden grids. It works when the grids are not hidden!!!

asp, iis, sql
GeorgeS

Posts: 206
Posted: 09/23/2004, 12:40 PM

Try this if Grid1 is not hidden in any of the Page events:

Put calculated Summ value into a global variable in addition to LabelSumm.

Get value for your Grid2 from this global variable.
_________________
GeorgeS
View profile  Send private message
Rookie
Posted: 09/23/2004, 1:25 PM

This is exactly my problem:
I need to present the Total amount of payments, based in a date range.

I did this:
Create a Grid that receives the "search expression" and shows all the payments between those dates (DetailedGrid1) and at the bottom of that grid, I have a Label that totalize the "amount field" and called it LabelSumm#

Because I need to present the LabelSumm based in the CustomerGroup, I create several grids, one for each group of customers I have (7)

In the "Payments Total Grid" (ResumeGrid) I create 7 labels, and use as default value: LabelSumm1 - tru - LabelSumm7, so I can display in one grid the Resumed data, something like this:

French Class: 550.00
Spanish Class: 980.00
English Class: 1205.00
*** and so on........

it works fine, but ------ How can I hide the DetailedGrid´s ? If I use events to hide them, then the LabelSumm appears blank...!

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.