How can catch the event when submit button of variable is clicked?
Posted: Wed Aug 24, 2011 4:17 am
I have one variable and when new variable value is submitted at report viewer,
I'd like to reload data depending on new variable.
I can do this at report designer by catching GetPreviewDataSet()
protected void StiWebDesigner_GetPreviewDataSet(object sender, StiWebDesigner.StiPreviewDataSetEventArgs e)
{
string value = e.Report.Dictionary.Variables["SearchValue"];
e.Report.RegBusinessObject("test", GetData(value ));
}
Is there way to do this at report viewer?
Thanks
I'd like to reload data depending on new variable.
I can do this at report designer by catching GetPreviewDataSet()
protected void StiWebDesigner_GetPreviewDataSet(object sender, StiWebDesigner.StiPreviewDataSetEventArgs e)
{
string value = e.Report.Dictionary.Variables["SearchValue"];
e.Report.RegBusinessObject("test", GetData(value ));
}
Is there way to do this at report viewer?
Thanks