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 |
 |
 |
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...!
|
|
|
 |
|