Questions about Copy/Paste in GridView

3 posts, 0 answers
  1. Tarcisis
    Tarcisis avatar
    29 posts
    Member since:
    Nov 2010

    Posted 14 Mar 2012 Link to this post

    Hi there, 
    I have a few questions about Copy/Paste in GridView. Some questions are already in the forum.


    1ºSupose that i have a Grid with values.During the paste from an excel file, some values in rows will be changed and there will be new rows either!
      It is possible to know which rows has been updated and which rows are new (to store in DB,without calling BD for each cell that has been pasted)?
      
    2ºIf i want to make my own paste into grid, why this doesn´t work (ctrl + V):
               private void GridView_KeyDown(object sender, KeyEventArgs e){
      if (Keyboard.Modifiers == ModifierKeys.Control)
    {
    if (e.Key == Key.V)
    {
    //never reach this line
    var text = System.Windows.Clipboard.GetText();


    }
    }
    }
    3ºIf i use Lightweight DataTable it is possible to create rows during the paste?
    4ºIt is possible to call CellEditEnded or CellValidating for each pasted cell?
    5ºIt is possible to put a BusyWindow in grid while it pasting (a have a excel file with 8000 rows, but busy window in grid doens´t work)?


    Thanks
  2. Sergio
    Sergio avatar
    14 posts
    Member since:
    Jun 2010

    Posted 15 Mar 2012 Link to this post

    Hi Telerik Team,

    I have exactly the same doubts!

    Regards,

  3. Sergio
    Sergio avatar
    14 posts
    Member since:
    Jun 2010

    Posted 16 Mar 2012 Link to this post

    Hi Telerik Team,

    Any update for the above ?

    Thanks!!
Back to Top