The EntitySpaces Community

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

Entityspaces and infragistics wingrid

Last post 12-04-2007, 6:38 AM by David.Parsons. 18 replies.
Page 1 of 2 (19 items)   1 2 Next >
Sort Posts: Previous Next
  •  05-08-2007, 4:24 AM 2241

    Entityspaces and infragistics wingrid

    Hi all,

    I'm trying to get an app working with the Infragistics wingrid (2006.3) and ES (1.5.3). But I'm having a hard time getting this to work.

    When I bind a collection to the grid, it looks ok.

    Here's my problem: 

    With data:
    When I try to add a new row, the grid doesn't allow this. And the 'pencil' image is displayed in the last row with data in the rowheader.

    Without data:
    When I try to add a new row, I can enter data, but at the end of the row, trying to tab to the next row, the grid again doesn't allow this . And the 'pencil' image is displayed in the current row in the rowheader. 

    Any ideas anybody?

    I don't think it's the wingrid itself because with an ultradatasource it works. And I don't think it's ES because that works as well.
    Like so many times, it's probably the combination of things.

    If someone can help me, please, or maybe send some sample code, I would really appreciate it!!!

    Greets,
    Ernst

  •  05-08-2007, 4:35 AM 2243 in reply to 2241

    Re: Entityspaces and infragistics wingrid

    Extra info: 

    I added a manual datasource in the wingrid and now I can add an many rows as I like.
    So I guess it's the combination wingrid <> ES....

    Should I add extra code to enable the wingrid to add an extra item to the collection?
    Maybe in the BeforeRowInsert event?

    (Sorry for the newbie questions...Embarrassed)

     


     

  •  05-22-2007, 4:42 AM 2598 in reply to 2243

    Re: Entityspaces and infragistics wingrid

    I had the same problem about one year ago. In my special case I could use a plain dataset as a workaround, but this is by all means not the ideal solution.

    Since I would like to use ES in an upcoming project again, I'm also interested if this is a problem with ES (which I think probably is, because in all other cases wingrid works perfectly well).

    It would be really kind of the ES Team to give a short answer (if they have tested ES with the Infragistic Controls) and what their oppinion is regarding that problem! As far as I know the Infragistics Suite is far spread. I can only emphasize the urgence of that issue.

    ES Team, please let us know, what you think about that subject!

    Thanks in advance for your comments...

  •  05-22-2007, 6:26 AM 2604 in reply to 2598

    Re: Entityspaces and infragistics wingrid

    The v0.0521 release (our last beta) fixed a bug with AddNew() in the grid. I need to talk to the team about Infragistics.

    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  05-24-2007, 12:55 AM 2691 in reply to 2604

    Re: Entityspaces and infragistics wingrid

    Thank you, thank you, thank you ! ! ! ! ! ! Wink

    The bugfix on AddNew() did the trick.
    Finally I can combine ES and the Infragistics wingrid.

    Great stuff, ES. Thanks, Mike!

  •  05-25-2007, 3:10 AM 2741 in reply to 2691

    Re: Entityspaces and infragistics wingrid

    Great news! Didn't have the time to test it myself, but if it works now that's fantastic!  Yes

    BTW, thanks for the renewal info, I will do it definitly next week...

  •  06-21-2007, 2:01 PM 3312 in reply to 2691

    Re: Entityspaces and infragistics wingrid

    I just posted in the design time forum, and found this. I'm still not seeing proper results with an empty collection bound to a grid.  

    EntitySpaces Version # 2007.0.0528.0

  •  07-04-2007, 3:53 PM 3567 in reply to 3312

    Re: Entityspaces and infragistics wingrid

    I get the popup error "Object reference not set to an instance of an object" when I click the new row. Adding new rows is not working for me with UltraGrid and 2007.0.0528.0. I can load the grid and edit the cells, but that's all. I wonder what happens when I delete a row?

     

  •  07-05-2007, 11:41 AM 3599 in reply to 3567

    Re: Entityspaces and infragistics wingrid

    Sorry this appears to be my error and I am past this one on to another. I am having a cascade of errors as I try to implement adding a row to the database via the UltraGrid. I have no sample to go on, and the docs are flimsy in msdn. One good sample for adding a row using UltraGrid (using the add row) + ES would be fantastic.
  •  11-30-2007, 4:50 AM 6926 in reply to 3599

    Re: Entityspaces and infragistics wingrid

    Hello guys,

    I'm with the same problem:

    "With data:
    When I try to add a new row, the grid doesn't allow this. And the 'pencil' image is displayed in the last row with data in the rowheader.

    Without data:
    When I try to add a new row, I can enter data, but at the end of the row, trying to tab to the next row, the grid again doesn't allow this . And the 'pencil' image is displayed in the current row in the rowheader. "

    Using Infagistics WinGrid 7.2 and ES 2007.1.1119.0.

    Thanks for any help!


    Welliton Toledo
  •  11-30-2007, 5:38 AM 6927 in reply to 6926

    Re: Entityspaces and infragistics wingrid

    Have you seen this?

    http://community.entityspaces.net/forums/thread/2690.aspx


    David Neal Parsons
    www.entityspaces.net
  •  11-30-2007, 5:40 AM 6928 in reply to 6926

    Re: Entityspaces and infragistics wingrid

    @Wat, You are sure Wingrid allows adding new rows?

    My problem was with ES 1.5.3 and with a new version it was fixed. And it still works, so it cannot be ES 2007.1.1119.0 (I think....I'll make sure I check my code again... )

     

  •  11-30-2007, 10:18 AM 6937 in reply to 6928

    Re: Entityspaces and infragistics wingrid

    In one of my current projects I'm using WinGrid (V. 7.2) and ES 2007.1.1119.0 extensively. Everything works fine.

    There seems to be a problem using WinGrid and the ES Collections with 'EnableHierarchicalBinding = True' . Have you set EnableHierarchicalBinding to False? Maybe this could help.

  •  11-30-2007, 12:46 PM 6938 in reply to 6937

    Re: Entityspaces and infragistics wingrid

    I noted that it occurs because I used addnew to create the main entity of the collection, like the sample:

    Code:
    XCollection x = new XCollection();
    x.Query.Load();
    
    if (x.YCollectionByPK.Count == 0) 
        entity =   x.YCollectionByPK.AddNew(); // then the issue occurs
    else
        entity =   x.YCollectionByPK[0]; // not occurs the issue, works perfect
    
    this.bindingSource1.DataSource = entity.ZColectionByPK;
    
    ultraGrid1.DataSource = bindingSource1;

    Any idea of how to solve it?

    P.S.: I'm using 2007.1.1119.0 ES version


    Welliton Toledo
  •  12-03-2007, 6:34 AM 6955 in reply to 6938

    Re: Entityspaces and infragistics wingrid

    Hey guys,

    please any idea?

    HELP!


    Welliton Toledo
Page 1 of 2 (19 items)   1 2 Next >
View as RSS news feed in XML