Passing Parameters To RDL Report from aspx page
-
I want to pass parameters from aspx page to RDL server report. Using Cross posting i am able to access the parameters from the previous page and also the know which is the previous page. Thus dynamically bind the report and pass the parameters . But my requirement is i want to open the report page on new window. Also know the previuos page(parameter page.) I want to know whether querystring or session will work best for me. if there are any other solution let me know. thanks in advance Tejesh
-
I want to pass parameters from aspx page to RDL server report. Using Cross posting i am able to access the parameters from the previous page and also the know which is the previous page. Thus dynamically bind the report and pass the parameters . But my requirement is i want to open the report page on new window. Also know the previuos page(parameter page.) I want to know whether querystring or session will work best for me. if there are any other solution let me know. thanks in advance Tejesh
use
ReportParameter param1 = new ReportParameter(paramName, paramValue);
ReportViewer.ServerReport.SetParameters(param1);:rose::rose:
Abhishek Sur My Latest Articles Working with Excel using MDAC
Basics on LINQ and Lambda Expressions
Create .NET Templates -
use
ReportParameter param1 = new ReportParameter(paramName, paramValue);
ReportViewer.ServerReport.SetParameters(param1);:rose::rose:
Abhishek Sur My Latest Articles Working with Excel using MDAC
Basics on LINQ and Lambda Expressions
Create .NET Templates -
hi Abhishek thx for replying i want to know how do i access the parameters from the previuos page, when i opened the report page in new window. Which will be the optimum solution(querystring,session or something else)
Optimum solution is the context transfer. If you are using window.open.. the best way is doing through querystring. :thumbsup:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.