I'm getting the following exception. I'm setting DataSource to a collection and the Value set is in the collection. I checked the forum and it seems there is a HotFix. Unfortunately, I cannot apply HotFix to my Infragistics Version. So, is there is any other way to just fix this one issue.
I'm using "NetAdvantage for .NET 2007 Vol. 3 CLR 2.0"
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Infragistics.Shared.SparseArray.ValidateIndex(Int32 index)
at Infragistics.Shared.SparseArray.GetItem(Int32 index, ICreateItemCallback createItemCallback)
at Infragistics.Win.UltraWinGrid.ScrollCountManagerSparseArray.GetItem(Int32 index, Boolean create)
at Infragistics.Win.UltraWinGrid.RowsCollection.get_Item(Int32 index)
at Infragistics.Win.UltraWinGrid.UltraGridRow.get_Index()
at Infragistics.Win.UltraWinGrid.UltraDropDownBase.Infragistics.Win.IValueList.get_SelectedItemIndex()
at Infragistics.Win.EditorWithCombo.IsDestinationValueValid(ConversionDirection direction, Object destinationVal, EmbeddableEditorOwnerBase owner, Object ownerContext, String& message)
at Infragistics.Win.EmbeddableEditorBase.GetDataFilteredDestinationValue(Object sourceVal, ConversionDirection direction, Boolean& isValidConversion, EmbeddableEditorOwnerBase owner, Object ownerContext, String& validMessage, Boolean doAutoConv, Boolean doIsValid)
at Infragistics.Win.EmbeddableEditorBase.GetDataFilteredDestinationValue(Object sourceVal, ConversionDirection direction, Boolean& isValidConversion, EmbeddableEditorOwnerBase owner, Object ownerContext, String& validMessage)
at Infragistics.Win.EmbeddableEditorBase.GetDataFilteredDestinationValue(Object sourceVal, ConversionDirection direction, Boolean& isValidConversion, EmbeddableEditorOwnerBase owner, Object ownerContext)
at Infragistics.Win.EmbeddableEditorBase.GetDataFilteredDestinationValue(Object sourceVal, ConversionDirection direction, EmbeddableEditorOwnerBase owner, Object ownerContext)
at Infragistics.Win.UltraWinGrid.UltraCombo.get_Value()
at Infragistics.Win.UltraWinGrid.UltraGridComboEditorOwner.GetValue(Object ownerContext)
at Infragistics.Win.EmbeddableEditorBase.GetDataFilterSourceValue(ConversionDirection direction, EmbeddableEditorOwnerBase owner, Object ownerContext)
at Infragistics.Win.EmbeddableEditorBase.GetDataFilteredDestinationValue(ConversionDirection direction, Boolean& isValidConversion, EmbeddableEditorOwnerBase owner, Object ownerContext)
at Infragistics.Win.EmbeddableEditorBase.GetDataFilteredDestinationValue(ConversionDirection direction, EmbeddableEditorOwnerBase owner, Object ownerContext)
at Infragistics.Win.EditorWithCombo.GetElementText(EmbeddableUIElementBase element, Boolean ignorePasswordChar)
at Infragistics.Win.EditorWithTextUIElement.PositionChildElements()
at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
at Infragistics.Win.UIElement.DrawHelper(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Boolean clipText, Boolean forceDrawAsFocused, Boolean preventAlphaBlendGraphics)
at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Size elementSize, Boolean preventAlphaBlendGraphics)
at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode)
at Infragistics.Win.UltraControlBase.OnPaint(PaintEventArgs pe)
at Infragistics.Win.UltraWinGrid.UltraCombo.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&
Hi,
Why can't you apply the service release?
There may be a workaround to this issue, but without a sample project demonstrating the error, it's really impossible for my to guess why the error is occurring or if there is any way to work around it.
Our client's infrastructure team is not supporting service release for this version of Infrastructure.I fixed this problem now. This exception shows up when I set DataSource for a particular UltraCombo when index on another UltraCombo changes. I'm trying to implement something like MS OutLook's Recurrent Event Setup form. EndTime UltraCombo box's DataSource gets changed everytime I change StartTime UltraCombo or Duration Combo. Please check the Outlook's recurrent event screen shot in the attachment.