The EntitySpaces Community

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

Examples of forms with grid and modal dialogs to add/edit rows?

Last post 11-27-2007, 6:55 PM by ChrisH. 2 replies.
Sort Posts: Previous Next
  •  11-26-2007, 10:02 PM 6843

    Examples of forms with grid and modal dialogs to add/edit rows?

    I'm experimenting with ES (v0.0730.0 trial download) in VB.NET Express 2005 using SQLServer Express. I've been struggling for a day against what I assume is a fairly simple requirement:

    A base form has a data-bound grid using a ES collection. The form provides the following:

    1) A 'new' button to popup a modal dialog to input new entity details and add an entity to the list displayed in the grid

    2) An 'edit' button popup a modal dialog to edit entity details taken from the current row in the grid and display the changes in the grid

    I haven't been able to get (1) or (2) working correctly. There are lots of examples for rows added directly in the grid, but nothing I've found to add a new row separately. Is there any 'best-practice' example code? I've seen various posts mentioning DetachEntity and AttachEntity, but really would appreciate a full working example so I can just start using ES and not spend hours reinventing wheels. No, the DemoVB doesn't contain a full example for this functionality...

    ---

    Chris Hutchinson
     




  •  11-27-2007, 8:38 AM 6860 in reply to 6843

    Re: Examples of forms with grid and modal dialogs to add/edit rows?

    Chris, before we start you sure you have the 0730 Trial, it would be expired now, you need to definitely grab our latest from the home page, but first uninstall what you have.  There was a adding a row bug in fact in the older versions.

    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  11-27-2007, 6:55 PM 6887 in reply to 6860

    Re: Examples of forms with grid and modal dialogs to add/edit rows?

    Mike, I've installed the most recent trial version (MD5 checksum is 20a043c81ec878e8c4dd2b32df9ab712).

    -- Chris 

View as RSS news feed in XML