I've a very simple report where has only one detail table is named: "table1".
A textbox named: textBoxTotalRecords should display the number of rows/records displayed in the details part
I tried to use something like setting this: textBoxTotalRecords.value = RowNumber("table1") in the textbox value but not success. (picture)
If tried to force something like in the detail_ItemDataBound:
textBoxTotalRecords.value =666; it doesn't work
Even I created a couple of custom functions that hold the total number of records but I'm unable to assign them through (textBoxTotalRecords_ItemDataBinding or textBoxTotalRecords_ItemDataBound) because:
I found that these events
textBoxTotalRecords_ItemDataBinding
textBoxTotalRecords_ItemDataBound
Are fired before this:
detail_ItemDataBound
So Is not possible to assign the number of records got it in detail_ItemDataBound
Which is the simple way to display the number of records? is out there a demo of how to handle this properly?
Thank you