The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

Empty EntitySpaces collection and Infragistics UltraGrid

Last post 10-08-2007, 7:48 AM by ajhops. 6 replies.
Sort Posts: Previous Next
  •  06-21-2007, 1:10 PM 3308

    Empty EntitySpaces collection and Infragistics UltraGrid

    I couldn't believe it when I saw the Infragistics tutorial on this forum (after spending hours on the infragistics forums). I have one small question.

    I'm able to bind an ES collection to the ultra grid when there is at least one entity in it. However when the collection is empty the grid behaves very strangely. It basically only lets me add one item and then locks up. Is anybody else seeing this behavior?

     -Adam

  •  06-21-2007, 2:03 PM 3313 in reply to 3308

    Re: Empty EntitySpaces collection and Infragistics UltraGrid

    We are adding a fix for this, if your grid is empty just do this (temporarily)

    Code:
    myCollection.AddNew();
    myCollection[0].MarkAsDeleted();

    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  06-21-2007, 2:21 PM 3314 in reply to 3313

    Re: Empty EntitySpaces collection and Infragistics UltraGrid

    Glad to hear it. Will be watching.
  •  08-28-2007, 10:59 AM 4821 in reply to 3314

    Re: Empty EntitySpaces collection and Infragistics UltraGrid

    Oh, just came across this thread again, the fix is in, it's called CreateColumnsForBinding() and it's on the esEntityCollection class
    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  10-08-2007, 6:42 AM 5678 in reply to 4821

    Re: Empty EntitySpaces collection and Infragistics UltraGrid

    Great news. Can you tell me which build number this first appeared in?

  •  10-08-2007, 6:59 AM 5679 in reply to 5678

    Re: Empty EntitySpaces collection and Infragistics UltraGrid

    It was build v0.0709.0, here are the release notes.
    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  10-08-2007, 7:48 AM 5683 in reply to 5679

    Re: Empty EntitySpaces collection and Infragistics UltraGrid

    Very good. I'm putting a call to that method in the parameterless constructor of my CollectionBase - custom base class. Do you see any problem with that? Seems to work so far.

View as RSS news feed in XML