views:

95

answers:

1

I'm busy building an application where a user can copy and paste data to a silver light data-grid. If there are no rows the rows should be added via code and the rows should be updated with the pasted value. The datagrid is bound to a observablecollection.

I'm able to access the Clipboard.GetText() method to get the database but I'm not able to add datarows to the grid via code.

A: 

Perhaps you should have a look at the Silverlight 4 service release (September 2010)? It adds support to enable Add New Row capabilities in DataGrid control.

Martin Liversage
I've installed it but can't seem to see the changes they made.
Johan J v Rensburg
@Johab J v Rensburg: Did you install the updated SDK or just the runtime? You have to install the SDK to be able to get access to the new functionality. Unfortunately I'm not sure about the exact nature of the change myself.
Martin Liversage
I've installed both the Runtime and the SDK (Silverlight_developer.exe and Silverlight_SDK.exe)
Johan J v Rensburg