Existing code is working fine with Infragistics 2014 vol2 win form, same code is not working when upgraded to Infragistics 2017 vol2.
While edit a cell value in grid below exception thrown. please help to resolve this issue.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidOperationException: Operation can not be performed when not in edit mode.
at Infragistics.Win.EditorWithMask.EnsureInEditMode()
at Infragistics.Win.EditorWithMask.get_Sections()
at Infragistics.Win.EditorWithMask.OnControlLeave(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnLeave(EventArgs e)
at Infragistics.Win.UltraWinGrid.UltraGrid.OnLeave(EventArgs e)
at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
Richard,
Typically we recommend that you only reference a single version of the Infragistics assemblies in a single application to avoid reference issues. I assume from your description that you have a shell that is referencing 11.1 and you are loading a plugin that references 17.2. To understand what could be causing the issue in your specific application it would help if you provide a sample that duplicates the issue.
Please show the approach you have taken to use two versions in a single application in a sample that I can review.
Vijay,
It sounds as though you are referencing a different version (service release) in your application than what is installed on your machine. Or more specifically the designers for the the controls can't be found.
Please make sure that you have the exact version installed that you are referencing in your application.
HI Sahaja,
This fix has solved my original issue but now after applying new SR 2039 we are not able to modify UltraGrid (Infragistics control) properties from designer and small icon to edit the properties is not appearing.
Please help to resolve this issue. thanks in advance.
Regards,
Vijay
Hello,
i developed an (second) windows forms application with infragistics controls of the new version (v.17.2).
i have an other (main) application (too a windows forms application with infragistics controls (v.11.1)
when a insert the dll of my "second" application into the debug folder of the main application to start within i receive the following error:
System.Reflection.TargetInvocationException
HResult=0x80131604
Message=Exception has been thrown by the target of an invocation.
Source=mscorlib
StackTrace:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName, CultureInfo culture)
at PumpMethodMaxFlowGradient.InitializeComponent() in C:\...\PumpMethodMaxFlowGradient.Designer.cs:line 95
at PumpMethodMaxFlowGradient..ctor() in C:\...\PumpMethodMaxFlowGradient.cs:line 19
This occurs at the line:
resources.ApplyResources(this.ultraNumericEditorMaxFlowGrad, "ultraNumericEditorMaxFlowGrad");
and
((System.ComponentModel.ISupportInitialize)(this.ultraNumericEditorMaxFlowGrad)).EndInit();
thanks for your help,
Richard
Hello Vijay,
The fix for InvalidOperationException when calling DeactivateCell action in grid's Leave event is included in our latest service release. Please follow the instructions listed here in order to get our latest service release.
Let me know if I may be of further assistance.