Show hide TextBox in RDLC report based on page count in ASP.Net

Last Reply 7 days ago By rakibxl

Posted 7 days ago

I want to write a expression for a textbox that it will only show if the page count is greater than one then it will be only showed otherwise we will not show.So if the report is one page that textbox will not show but if the report is generated by many pages then it will be showed

=IIf((Globals!TotalPages > 1),True,False) i tried this way but not working 

 

You are viewing reply posted by: rakibxl 7 days ago.
Posted 7 days ago Modified on 7 days ago

I solved this by below this code i wrote this code textbox properties then visibility> hidden>expression then wrote this pieace of code

=iif((Globals!TotalPages) > 1,false,true)