Print Page | Close Window

Binding Descriptor and Infragistics.

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=615
Printed Date: 11-Jun-2026 at 10:49am


Topic: Binding Descriptor and Infragistics.
Posted By: banzaii
Subject: Binding Descriptor and Infragistics.
Date Posted: 14-Dec-2007 at 5:12pm
Am Using Infragistics grid, I add binding descriptors to the grid.
When I use the group by option of that Grid, it throws exception. It works fine If either I dont use descriptors or not register that particular column as descriptor to the grid and group by it programmitcally.

Any suggestions?



Replies:
Posted By: banzaii
Date Posted: 14-Dec-2007 at 5:12pm
--


Posted By: banzaii
Date Posted: 17-Dec-2007 at 8:06am
My Infragistics Grid has few columns binded using UltraGridBindingDescriptorTypeConverter.

When I use the Groupby option using either drag and drop or programmitcally using SortedColumns.Add ... it throws an Infragistics Exception.

Error in custom data filter: Convert(...) throws an exception. Inner exception is: Object reference not set to an instance of an object.
  Exception(DataFilterException): Source="Infragistics2.Win.v7.2"; Target=null; Tag=null;
    Message = "Error in custom data filter: Convert(...) throws an exception. Inner exception is: Object reference not set to an instance of an object."
    InnerException(NullReferenceException): Source="Infragistics2.Win.UltraWinGrid.v7.2"; Target=null; Tag=null;
      Message = "Object reference not set to an instance of an object."
      StackTrace =
          "   at Infragistics.Win.UltraWinGrid.EmbeddableEditorOwnerInfo.GetExternalContext(Object ownerContext)
             at Infragistics.Win.EditorDataFilterConvertArgs.get_Context()
             at IdeaBlade.UI.WinForms.InfragisticsControls.UltraDataFilter.Convert(EditorDataFilterConvertArgs pConvertArgs)
             at Infragistics.Win.EmbeddableEditorBase.UpdateDataFilterCache(ConversionDirection direction, Object sourceVal, Type destinationType,


Can you Help? I saw this group by thing working, either in previous version of Ideablade or the same. I recently updated to Ideablade 3.5.5.1,

Infragistics v7.2. is what I am using.
Thanx :).



Posted By: banzaii
Date Posted: 17-Dec-2007 at 11:56am
Simple IdeaBlade sample Application.

I used an UltraGridBindingManager, Added 4 Columns, "Name, "Last Name", "Country", "Race".

Set the UltraGridSource and run, showed me a few rows, I dragged Race column to the group by region, same exception.

Then I removed the "Race" column from GridBindingManager and added it using SortedColumns.Add(....) .. worked fine.

The thing I understand is it produces exception if the column is present in UltraGridManager, and in case of dragging its always present.


Posted By: banzaii
Date Posted: 07-Jan-2008 at 4:10am
This bug is fixed in IdeaBlade 3.6.0.2..




Print Page | Close Window