Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open report in a New tab using Got to URL Property in RDLC?

i have used "GO To Url" property of RDLC set to below value;

=parameters!ParamUrl.Value +"ReportUIs/MonthlyReport.aspx?SpecDate=" + Fields!SpecDate.Value.ToString() + "&TrainPK=" +  Fields!TrainNo.Value.ToString() + ""

And it works fine with same tab or form. I want make this URL opened in new tab or window? How can i give like Target=_blank option for this ?

tried this; works well but issue with the main form(first form):->

="javascript:window.open('"+parameters!ParamUrl.Value +"ReportUIs/MonthlyReport.aspx?SpecDate=" + Fields!SpecDate.Value.ToString() + "&TrainPK=" +  Fields!TrainNo.Value.ToString() + "');"
like image 464
pvaju896 Avatar asked Dec 28 '22 06:12

pvaju896


1 Answers

Set the "HyperlinkTarget" property of Report viewer to -> HyperlinkTarget="_blank"

like image 92
pvaju896 Avatar answered Jan 13 '23 13:01

pvaju896