Scale Problem in FastReport.Net mvc
I would like to set the scale mode property of the preview(FastReport.Net mvc) control programmatically.
I accomplish that by this method:
The type 'System.Windows.Forms.UserControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
I accomplish that by this method:
[b]webReport.Report.Preview.ZoomPageWidth();[/b]
But I Recieve This Error:The type 'System.Windows.Forms.UserControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.