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
1470
NullReferenceException in FormulaBuilderDialog
posted

Hi there

We are attempting to use the FormulaBuilderDialog v12.1.20121.2038. Our prototype is very similar to the Formula Builder Run Time sample except that we are attempting to display the dialog from a context menu item on the UltraWindGrid. When we call

DialogResult dResult = formulaBuilderDialog.ShowDialog(this);

we get a NullReferenceException with the following stack trace

   at Infragistics.Win.UltraWinCalcManager.FormulaBuilder.FormulaBuilderDialog.FormulaBuilderDialog_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I have also attached a snippet of the source code.

Any ideas?

 

Regards

geoffhop