My own Paste from Excel to GridView

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

    Posted 29 Feb 2012 Link to this post

    Hi,

    I have my own paste to a RadGridView.
    I have the current grid:

    <telerik:RadGridView .... ClipboardPasteMode="None" KeyDown="GridView_KeyDown" x:Name="myTable" />


            private void GridView_KeyDown(object sender, KeyEventArgs e)
            {
                if (Keyboard.Modifiers == ModifierKeys.Control)
                {
                    if (e.Key == Key.V)
                    {
     var text = System.Windows.Clipboard.GetText();
    //stuff.....
    }

        }

    }
    And it always works perfectly.
    But recently i needed to update my dll´s from Telerik, and now when a make ctrl+V from my keyboard, e.Key == Key.V its always false! My code doesnt reach my "//stuff".
    Could you tell me please, if there is a way to workaround this, or should i back to the oldest dll´s?


    Thanks!!



  2. Tarcisis
    Tarcisis avatar
    29 posts
    Member since:
    Nov 2010

    Posted 02 Mar 2012 Link to this post

    Hi there,

    Just a question.
    Should I post with my Companies Email account to get an answer or should i keep waiting?

    Thanks!!
  3. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 02 Mar 2012 Link to this post

    Hello,

     Would you please specify what was the previous version of the RadControls that you have used - the one when your code was working?

    Regards,
    Didie
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  4. Tarcisis
    Tarcisis avatar
    29 posts
    Member since:
    Nov 2010

    Posted 02 Mar 2012 Link to this post

    Hi,

    Thanks for the answer!

    We were using 2011.1.427.1040 and now we are using 2012.1.215.1050.

    Thanks!!
  5. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 02 Mar 2012 Link to this post

    Hi,

    Our forums are public community with no guaranteed answer from Telerik.  If you want reply from Telerik support you can open support ticket.

    Greetings,
    Vlad
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. Tarcisis
    Tarcisis avatar
    29 posts
    Member since:
    Nov 2010

    Posted 02 Mar 2012 Link to this post

    Hi,

    Ok.Sorry.
    But i just ask that because some posts Telerik answer very quickly (sometimes it is a question of hours) and others takes a few days!
    And i thought it was because of the email account.

    Thanks!
  7. Tarcisis
    Tarcisis avatar
    29 posts
    Member since:
    Nov 2010

    Posted 07 Mar 2012 Link to this post

    Hi,

    It works with KeyUp!!!

    Thanks anyway!!

Back to Top