Dear Members,
I am using StimulSoftReports.Ultimate_
REQUIREMENT:
- In Report file,I have placed a textbox over the Databand control.
- Here, i need to display the textbox with message "No Records Found" when DataSource returns no records to the Data band control.
ISSUE:
I have implemented with the following code in "EndRender event" of the Report and"BeforePrint event" of the Page. But textbox is not visible on both scenerio(Databand is empty/not empty)
if(Totals.Count(DataBand1)>0)
{
TextMessage.Enabled=false;
}
else
{
TextMessage.Enabled=true;
}Can anyone help me to sort out the issue. If my explanation is not clear please let me know.
Thanks,
Nagaraj.S