On form load i want a select all text in a particular cell value.
Here is my code, and cell is editable by user
ugPayments.ActiveCell = ugPayments.Rows(i).Cells(4)
ugPayments.ActiveCell.Selected =
True
ugPayments.ActiveCell.SelectAll()
But it is throwing me an error saying
Operation cannot be performed when not in edit mode.
I think that you're confusing the Seleted state of a cell with actually selecting the text in the editor. If you want to always select the text when the user enters edit mode you could do something like:
private void ultraGrid1_AfterEnterEditMode(object sender, EventArgs e){ this.ultraGrid1.ActiveCell.EditorResolved.SelectAll();}
If you want to programmatically enter edit mode:
this.ultraGrid1.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.EnterEditMode);
-Matt
Thanks! I tried your advice as follows
ugPayments.PerformAction(UltraGridAction.EnterEditMode)
But still I am getting the error 'Operation can not be performed when not in edit mode.'
I think that this has to do with a timing issue of the form loading and the grid not being able to take focus. Try entering edit mode through a BeginInvoke so that the loading operation can complete:
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Me.ultraGrid1.ActiveCell = Me.ultraGrid1.Rows(0).Cells(0) Me.ultraGrid1.ActiveCell.Selected = True Me.BeginInvoke(New MethodInvoker(Me.EnterAndSelectText)) End Sub Private Sub EnterAndSelectText() Me.ultraGrid1.PerformAction(UltraGridAction.EnterEditMode) Me.ultraGrid1.ActiveCell.SelectAll() End Sub
Well, it's pretty much the same. In what event are you trying to select the text? If you are doing it in the Form_Load, or any event that fires before the form has painted, then the UltraTextEditor will be unable to take focus and therefore unable to enter edit mode. The typical solution would be to wait until the first time the control paints. For example, you could hook the paint event, select the text the first time the event fires and then unhook the event or use a flag so it doesn't happen again. Or you could use a BeginInvoke to create a delay so the code is executed after the form paints.
HI
this not a grid , it's TextBox .
Hi Yasmin,
The error message indicates that the cell is not in edit mode and therefore you cannot select the text. If you are using the code posted above which calls the PerformAction method to put the cell into edit mode and you are still getting this error message, then it means that the cell failed to enter edit mode for some reason.
There are several reasons why this might happen. The cell might not be editable. Or you might be trying to do this before the grid has painted (in the Form_Load event, for example).
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.GetText(MaskMode maskMode) at Infragistics.Win.UltraWinMaskedEdit.MaskInfo.ShouldDisplayAsNullText() at Infragistics.Win.UltraWinMaskedEdit.MaskedEditUIElement.PositionChildElements() at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive) at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive) at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive) at Infragistics.Win.UIElement.VerifyChildElements(Boolean recursive) at Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit.OnCreateControl() 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)
************** Loaded Assemblies **************mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll----------------------------------------ApplicationContainer Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ApplicationContainer.exe----------------------------------------PresentationFramework Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.5453 built by: Win7SP1GDR CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll----------------------------------------WindowsBase Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.5453 built by: Win7SP1GDR CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll----------------------------------------System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------PresentationCore Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.5453 built by: Win7SP1GDR CodeBase: file:///C:/Windows/assembly/GAC_64/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll----------------------------------------System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.5420 built by: Win7SP1 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------ITS.Framework.ClientGlobals Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Framework.ClientGlobals.DLL----------------------------------------PresentationFramework.Aero Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.4902 built by: NetFXw7 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework.Aero/3.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll----------------------------------------Infragistics3.Wpf.Ribbon.v9.1 Assembly Version: 9.1.20091.1006 Win32 Version: 9.1.20091.1006 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics3.Wpf.Ribbon.v9.1/9.1.20091.1006__7dd5c3163f2cd0cb/Infragistics3.Wpf.Ribbon.v9.1.dll----------------------------------------Infragistics3.Wpf.v9.1 Assembly Version: 9.1.20091.1006 Win32 Version: 9.1.20091.1006 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics3.Wpf.v9.1/9.1.20091.1006__7dd5c3163f2cd0cb/Infragistics3.Wpf.v9.1.dll----------------------------------------Infragistics3.Wpf.Editors.v9.1 Assembly Version: 9.1.20091.1006 Win32 Version: 9.1.20091.1006 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics3.Wpf.Editors.v9.1/9.1.20091.1006__7dd5c3163f2cd0cb/Infragistics3.Wpf.Editors.v9.1.dll----------------------------------------ITS.Framework.Utilities.ExceptionHandling Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Framework.Utilities.ExceptionHandling.DLL----------------------------------------System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------Microsoft.ExceptionMessageBox Assembly Version: 9.0.242.0 Win32 Version: 9.00.1399.00 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.ExceptionMessageBox/9.0.242.0__89845dcd8080cc91/Microsoft.ExceptionMessageBox.dll----------------------------------------ITS.Framework.ClientHelpers Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Framework.ClientHelpers.DLL----------------------------------------System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll----------------------------------------ITS.Framework.Utilities.CachingServer Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Framework.Utilities.CachingServer.DLL----------------------------------------ITS.Framework.ClientInterfaces Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Framework.ClientInterfaces.DLL----------------------------------------System.ServiceModel Assembly Version: 3.0.0.0 Win32 Version: 3.0.4506.5463 (Win7SP1GDR.030729-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceModel/3.0.0.0__b77a5c561934e089/System.ServiceModel.dll----------------------------------------System.Xml.Linq Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.5420 built by: Win7SP1 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll----------------------------------------ITS.Framework.Utilities.ClientLogging Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Framework.Utilities.ClientLogging.DLL----------------------------------------ITS.Framework.Aspect.Authorization Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Framework.Aspect.Authorization.DLL----------------------------------------SMDiagnostics Assembly Version: 3.0.0.0 Win32 Version: 3.0.4506.5463 (Win7SP1GDR.030729-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/SMDiagnostics/3.0.0.0__b77a5c561934e089/SMDiagnostics.dll----------------------------------------System.WorkflowServices Assembly Version: 3.5.0.0 Win32 Version: 3.5.594.5420 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.WorkflowServices/3.5.0.0__31bf3856ad364e35/System.WorkflowServices.dll----------------------------------------System.ServiceModel.Web Assembly Version: 3.5.0.0 Win32 Version: 3.5.594.5458 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceModel.Web/3.5.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll----------------------------------------Microsoft.VisualStudio.Diagnostics.ServiceModelSink Assembly Version: 3.0.0.0 Win32 Version: 12.0.21005.1 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Diagnostics.ServiceModelSink/3.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll----------------------------------------System.Runtime.Serialization Assembly Version: 3.0.0.0 Win32 Version: 3.0.4506.5463 (Win7SP1GDR.030729-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll----------------------------------------System.IdentityModel Assembly Version: 3.0.0.0 Win32 Version: 3.0.4506.5463 (Win7SP1GDR.030729-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.IdentityModel/3.0.0.0__b77a5c561934e089/System.IdentityModel.dll----------------------------------------System.Web Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll----------------------------------------Infragistics2.Win.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.v9.1.dll----------------------------------------ITS.Framework.Utilities.ServerLogging Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Framework.Utilities.ServerLogging.DLL----------------------------------------System.Data.SqlServerCe Assembly Version: 4.0.0.1 Win32 Version: 4.0.8876.1 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/System.Data.SqlServerCe.DLL----------------------------------------System.Transactions Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_64/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll----------------------------------------System.EnterpriseServices Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_64/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll----------------------------------------ITS.Common.Enums Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Common.Enums.DLL----------------------------------------Infragistics2.Shared.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Shared.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Shared.v9.1.dll----------------------------------------ITS.Adaptors.Framework.ETHIXPanelAdaptor Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Adaptors.Framework.ETHIXPanelAdaptor.DLL----------------------------------------ITS.Framework.LoginForm Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Framework.LoginForm.dll----------------------------------------ITS.Adaptors.Framework.BaseAdaptor Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Adaptors.Framework.BaseAdaptor.DLL----------------------------------------Infragistics2.Win.Misc.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.Misc.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.Misc.v9.1.dll----------------------------------------Infragistics2.Win.UltraWinEditors.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinEditors.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinEditors.v9.1.dll----------------------------------------ITS.Common.Helpers Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Common.Helpers.DLL----------------------------------------Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll----------------------------------------UIAutomationProvider Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.4902 built by: NetFXw7 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/UIAutomationProvider/3.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll----------------------------------------Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll----------------------------------------Infragistics2.Win.UltraWinExplorerBar.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinExplorerBar.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinExplorerBar.v9.1.dll----------------------------------------Infragistics2.Win.UltraWinToolbars.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinToolbars.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinToolbars.v9.1.dll----------------------------------------Infragistics2.Win.UltraWinTabbedMdi.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinTabbedMdi.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinTabbedMdi.v9.1.dll----------------------------------------ITS.Services.Framework.WinNotifications Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Services.Framework.WinNotifications.DLL----------------------------------------ITS.Win.Framework.Forms Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Win.Framework.Forms.DLL----------------------------------------Infragistics2.Win.UltraWinTabControl.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinTabControl.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinTabControl.v9.1.dll----------------------------------------Infragistics2.Win.UltraWinDock.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinDock.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinDock.v9.1.dll----------------------------------------Infragistics2.Win.UltraWinStatusBar.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinStatusBar.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinStatusBar.v9.1.dll----------------------------------------Infragistics2.Win.UltraWinGrid.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinGrid.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinGrid.v9.1.dll----------------------------------------Infragistics2.Win.UltraWinDataSource.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinDataSource.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinDataSource.v9.1.dll----------------------------------------Infragistics2.Win.UltraWinPrintPreviewDialog.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinPrintPreviewDialog.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinPrintPreviewDialog.v9.1.dll----------------------------------------ITS.Common.Contracts Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Common.Contracts.DLL----------------------------------------System.Web.Services Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll----------------------------------------Infragistics2.Win.UltraWinMaskedEdit.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinMaskedEdit.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinMaskedEdit.v9.1.dll----------------------------------------ITS.Framework.ClientMetaData Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Framework.ClientMetaData.DLL----------------------------------------Infragistics2.Win.UltraWinGrid.DocumentExport.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinGrid.DocumentExport.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinGrid.DocumentExport.v9.1.dll----------------------------------------Infragistics2.Documents.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Documents.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Documents.v9.1.dll----------------------------------------Infragistics3.Win.UltraWinGrid.ExcelExport.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics3.Win.UltraWinGrid.ExcelExport.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics3.Win.UltraWinGrid.ExcelExport.v9.1.dll----------------------------------------Infragistics3.Excel.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics3.Excel.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics3.Excel.v9.1.dll----------------------------------------System.Deployment Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5488 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll----------------------------------------System.Runtime.Serialization.Formatters.Soap Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll----------------------------------------System.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll----------------------------------------ITS.Adaptors.Investment.ProductManagement.ProductSetup Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Adaptors.Investment.ProductManagement.ProductSetup.dll----------------------------------------ITS.Win.Investment.ProductManagement.ProductSetup Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Win.Investment.ProductManagement.ProductSetup.dll----------------------------------------ITS.Win.Common.Investment.TransactionHeader Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Win.Common.Investment.TransactionHeader.DLL----------------------------------------ITS.Adaptors.Common.Investment.TransactionHeader Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Adaptors.Common.Investment.TransactionHeader.DLL----------------------------------------ITS.Win.Common.Investment.Accounts Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Win.Common.Investment.Accounts.DLL----------------------------------------Infragistics2.Win.UltraWinSchedule.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinSchedule.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinSchedule.v9.1.dll----------------------------------------ITS.Win.Framework.SearchEngine Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Win.Framework.SearchEngine.DLL----------------------------------------ITS.Win.Common.Investment.ProfileLookUp Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Win.Common.Investment.ProfileLookUp.DLL----------------------------------------ITS.Common.Win.UserControls Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Common.Win.UserControls.DLL----------------------------------------ITS.Win.Common.Investment.MMScheduleGeneration Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Win.Common.Investment.MMScheduleGeneration.DLL----------------------------------------ITS.Adaptors.Common.Investment.MMScheduleGeneration Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Adaptors.Common.Investment.MMScheduleGeneration.DLL----------------------------------------ITS.Win.Common.Investment.Contacts Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Win.Common.Investment.Contacts.DLL----------------------------------------ITS.Adaptors.Common.Investment.Contacts Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Adaptors.Common.Investment.Contacts.DLL----------------------------------------ITS.Adaptors.Framework.SearchEngine Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Adaptors.Framework.SearchEngine.DLL----------------------------------------System.Data.DataSetExtensions Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.5420 built by: Win7SP1 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Data.DataSetExtensions/3.5.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll----------------------------------------ITS.Common.Adaptors.UserControls Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/AppContainer/ITS.Common.Adaptors.UserControls.DLL----------------------------------------ITS.Adaptors.Common.Investment.Accounts Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Adaptors.Common.Investment.Accounts.DLL----------------------------------------Infragistics2.Win.UltraWinListView.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinListView.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinListView.v9.1.dll----------------------------------------Infragistics2.Win.UltraWinTree.v9.1 Assembly Version: 9.1.20091.1000 Win32 Version: 9.1.20091.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinTree.v9.1/9.1.20091.1000__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinTree.v9.1.dll----------------------------------------ITS.Adaptors.Framework.Workflow.WorkflowTasks Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Adaptors.Framework.Workflow.WorkflowTasks.dll----------------------------------------ITS.Win.Framework.WorkFlow.WorkflowTasks Assembly Version: 2.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///G:/ITS/ITSSourceCode/Lib_109/GUITransactions/ITS.Win.Framework.WorkFlow.WorkflowTasks.dll----------------------------------------
************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.
For example:
<configuration> <system.windows.forms jitDebugging="true" /></configuration>
When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.
Hi, I know this is old, but wanted to share what worked for me
'->without e.Handled = True, SelectAll does not seem to work
Private Sub UltraGrid1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles UltraGrid1.KeyDown
Try
If e.KeyCode = Keys.Down Then
UltraGrid1.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.ExitEditMode, False, False)
UltraGrid1.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.BelowCell, False, False)
e.Handled = True '->sin esta instrucción, no se selecciona el contenido de la celda
If UltraGrid1.ActiveRow.Activation = Infragistics.Win.UltraWinGrid.Activation.AllowEdit Then
UltraGrid1.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.EnterEditMode, False, False)
If UltraGrid1.ActiveCell.IsInEditMode Then UltraGrid1.ActiveCell.SelectAll()
End If
ElseIf e.KeyCode = Keys.Up Then
UltraGrid1.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.AboveCell, False, False)
ElseIf e.KeyCode = Keys.Left Then
UltraGrid1.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.PrevCell, False, False)
ElseIf e.KeyCode = Keys.Right Then
UltraGrid1.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.NextCell, False, False)
Catch ex As Exception
MsgBox(ex.Message & " " & Me.Name & " -UltraGrid1_KeyDown(")
End Try
End Sub
'mariela pez