Home Forums WinForms controls Xceed Grid for WinForms Grid settings disappear

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • User (Old forums)
    Post count: 23064
    #17103 |


    This is probably a common thing and probably a noob issue, however, I have to ask…

    I have a dataset based on an Access database.  I dragged a table from the dataset onto my form – Visual C# Express then added the dataset, bindingsource, table adapter and data navigator stuff (along with its grid).  I deleted the default grid and dropped an Xceed grid on the form, setting the datasource to the binding source.

    I then configured the grid to display as I’d like.  I changed the column headers and added a child table.  I then ran and tested it and things seem to run OK.

    However, when I reload the project, everything seems to disappear – the columns are gone and the child table is gone too.  There doesn’t seem to be a way to get that all back.

    So, what did I do wrong?


    Peace, Love, and Light,

    /s/ Jon C. Munson II

    Imported from legacy forums. Posted by Jon (had 1305 views)

    User (Old forums)
    Post count: 23064

    Hi Jon!

    There seems to be a problem when adding a grid, deleting it and then adding a new one within the same project without saving the project after removing the grid.  It has something to do with the Designer “persistance” of the controls.  The “workaround” would be to do a copy of the controls you want to keep (from the original grid, designer.cs code), paste them in a text file (using notepad).  Remove the grid from the project.  Close the solution.  Save the file edited with Notepad with the exact same name.  Reopen the solution.  You should have no persistance problem at this point.

    Imported from legacy forums. Posted by Ghislain (had 1468 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.