Hi,
Am evaluating the Xamgrid for our LOB using sliverlight, am using the V2012.1 package and like to clarify some issues with the paste functionality.
private void xamGridAddNewCpty_ClipboardPasting( object sender, Infragistics.Controls.Grids.ClipboardPastingEventArgs e ) { e.PasteAsExcel(); }
Using the above code I can paste to a Grid that has 1 row 3 cells, but if the Excel copy has more rows than thats in the grid, then the data is not pasted into the grid,
hooking into the below event i get a truncation error, can you suggest me the correct settings to be set or any code block that i need to implement to get this functionality.
private void xamGridAddCpty_ClipboardPasteError( object sender, ClipboardPasteErrorEventArgs e ) { bool b = e.IsRecoverable; }
NOTE : No code behind permitted in our project except the basic ones, so preferrably if you can provide a MVVM way of doing it, its much appreciated.
Anybody??
Hello,
I have been looking into your question and this behavior is expected as the count of the rows is strictly fixed. You can try to add the additional rows manually as it is suggested in the following link from our documentation :
http://help.infragistics.com/NetAdvantage/WPF/2012.1/CLR4.0/?page=xamGrid_Paste_Event_and_Event_Arguments.html
If you have any other questions on this matter, feel free to ask.