I have a designed report class which is called into another application using a report viewer.
But the problem here is that on page load i want to fill in the report parameter with a value with the code below
This code is not working for me.
What can be the issue.
But the problem here is that on page load i want to fill in the report parameter with a value with the code below
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Reporting;
using ReportTestss;
using ReportInstantiate;
namespace ReportInstantiate
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
test report = new test();
report.ReportParameters["StudID"].Value = "SCH10001/2013";
}
}
}
}
This code is not working for me.
What can be the issue.