New Posts New Posts RSS Feed: Binding Descriptor and Infragistics.
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Binding Descriptor and Infragistics.

 Post Reply Post Reply
Author
banzaii View Drop Down
Newbie
Newbie
Avatar

Joined: 14-Dec-2007
Location: Pakistan
Posts: 9
Post Options Post Options   Quote banzaii Quote  Post ReplyReply Direct Link To This Post Topic: Binding Descriptor and Infragistics.
    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?
Back to Top
banzaii View Drop Down
Newbie
Newbie
Avatar

Joined: 14-Dec-2007
Location: Pakistan
Posts: 9
Post Options Post Options   Quote banzaii Quote  Post ReplyReply Direct Link To This Post Posted: 14-Dec-2007 at 5:12pm
--
Back to Top
banzaii View Drop Down
Newbie
Newbie
Avatar

Joined: 14-Dec-2007
Location: Pakistan
Posts: 9
Post Options Post Options   Quote banzaii Quote  Post ReplyReply Direct Link To This Post 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 :).

Back to Top
banzaii View Drop Down
Newbie
Newbie
Avatar

Joined: 14-Dec-2007
Location: Pakistan
Posts: 9
Post Options Post Options   Quote banzaii Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
banzaii View Drop Down
Newbie
Newbie
Avatar

Joined: 14-Dec-2007
Location: Pakistan
Posts: 9
Post Options Post Options   Quote banzaii Quote  Post ReplyReply Direct Link To This Post Posted: 07-Jan-2008 at 4:10am
This bug is fixed in IdeaBlade 3.6.0.2..

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down