Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
Copy Selected Rows To Paste Another Rows.
posted

Hi.
    I have a Question to Ask for  Infragistics Teamers . 

I am using UltraWingrid  V10.1  version
 i want to come true . Ctrl + C  is Copy
         Ctrl + V is Paste
    these Function
 
In My Code. I Write Belows :

     void U8GridImport_KeyDown(object sender, KeyEventArgs e)
{
  switch (e.KeyCode)
            {
                case Keys.C :   //this code how i Add keys.Control ????
                    {
                        this.U8GridImport.PerformAction(UltraGridAction.Copy);

                    }
                    break;
                case Keys.V:
                    {
                        this.U8GridImport.PerformAction(UltraGridAction.Paste);

                    }
                    break;
                default:
                    break;
            }

}

But There is Nothing to do.

    So . Can you Give me some samples about these. that i want function.

 

Parents
No Data
Reply
  • 160
    posted

    Hi,   I am Sorry , That Make you Misunderstand.

    My  Means  Is That ..     When I Write these Code,

    void U8GridImport_KeyDown(object sender, KeyEventArgs e)
    {
    switch (e.KeyCode)
    {
    case Keys.C : //this code how i Add keys.Control ????
    {
    this.U8GridImport.PerformAction(UltraGridAction.Copy);

    }
    break;
    case Keys.V:
    {
    this.U8GridImport.PerformAction(UltraGridAction.Paste);

    }
    break;
    default:
    break;
    }

    }

    And In My Grid. I Use " Ctrl + C" keyBorads   Not Come True Copy Fuction..  

    So I need Your help .  Why It Not Come True

       Thanks  Very Much.

      Jian

     

Children