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
How can catch the event when submit button of variable is clicked?
How can catch the event when submit button of variable is clicked?
Hello,
You can use the same event of the report viewer:
Thank you.
You can use the same event of the report viewer:
Code: Select all
protected void StiWebViewerFx1_GetDataSet(object sender, StiWebViewerFx.StiGetDataSetEventArgs e)
{
string value = e.Report.Dictionary.Variables["SearchValue"];
e.Report.RegBusinessObject("test", GetData(value ));
}
How can catch the event when submit button of variable is clicked?
That's what I want.
Thanks.
Thanks.
How can catch the event when submit button of variable is clicked?
Hello,
Great :biggrin:
Great :biggrin: