Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
225
Excel support and Mono
posted

Hi together,

I have a prroblem using Infragistics4.WebUI.Documents.excel on a Mono Environment. If I try to set the with of a column I get the following exception:

Could not open display (X-Server required. Check you DISPLAY environment variable) Parameter name: Display

Description: HTTP 500. Error processing request.

Stack Trace:

System.ArgumentNullException: Could not open display (X-Server required. Check you DISPLAY environment variable)
Parameter name: Display
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0 

Are there any workarounds to suppress the invoke of the Windows Forms Framework when i access the Excel classes.

Thanks for the help