Dynamic sorting is not working WebViewer
Posted: Wed Apr 09, 2008 12:34 am
>>Posted: Wednesday, April 02, 2008 3:51:38 PM
>> Please use following code in ClickEvent of required component:
>>Quote:
>>StiText text = sender as StiText;
>>StiReport report = text.Report;
>>StiDataBand dataBand = report.GetComponents()["DataBand1"] as StiDataBand;
>>dataBand.Sort = new System.String[] {
>>"DESC",
>>"CompanyName"};
>>report.Render(false);
>>Thank you.
This solution is working Preview, but not working in HTML Preview
Becaze we are using WebViewer in Webpage. If we use click then re direct to another Page.
Please kindly check and provide solution.
Thanks in Advance,
--------------------------------------------------------------------------------
Marimuthu K
>> Please use following code in ClickEvent of required component:
>>Quote:
>>StiText text = sender as StiText;
>>StiReport report = text.Report;
>>StiDataBand dataBand = report.GetComponents()["DataBand1"] as StiDataBand;
>>dataBand.Sort = new System.String[] {
>>"DESC",
>>"CompanyName"};
>>report.Render(false);
>>Thank you.
This solution is working Preview, but not working in HTML Preview
Becaze we are using WebViewer in Webpage. If we use click then re direct to another Page.
Please kindly check and provide solution.
Thanks in Advance,
--------------------------------------------------------------------------------
Marimuthu K