Sketchflow + DataGrid + Non autogenerated columns + Sample Data = Black Page / Exception thrown RRS feed

  • Question

  • Hi,

      Not sure if this a bug or if there is a workaround for this, I have two scenarios:

      Working one:

    • Drop a DataGrid into my page (by defaul autogenerate columns).
    • Create Sample data.
    • Drop the Sample data into the DataGrid, everything is shown nicely.


    • Drop a data grid.
    • Turn off auto generate columns.
    • Add some custom columns (using blend dialog, no hand coding).
    • Create Sample data
    • Drop the sample data in the DataGrid... CRASH :-(

     Is that a known issue? Is there some workaround? I have created a very simple sample that recreates this, can send it if needed.



    Saturday, September 18, 2010 6:12 PM

All replies

  • Hi,


    I am trying to re-produce the scenario you described, can you help me by answering the following questions?

    1. Is it a WPF or Silverlight project?

    2. what did you mean "Turn off auto generate columns", e.g. what steps you used?

    3. what did you mean "Add some custom columns (using blend dialog, no hand coding)" ? The Blend dialog provided only certain type columns, not sure how you add custom column from the dialog.



    Thanks, Harry [MSFT]
    Tuesday, September 21, 2010 12:45 AM
  • Hi Harry,

      The Datagrid has an option that allows you to turn off autogeneration of columns, then you can define your own columns.

       I have a minimum sample with the issue isolated, do you want me to send it to you?



    Tuesday, September 21, 2010 5:39 AM