datagrid row to clipboard

Discussion in 'ASP .Net Web Controls' started by Arvi, Jan 5, 2007.

  1. Arvi

    Arvi Guest

    im able to store the value in clipboard. but when i try to paste it by right
    clicking on some tet editors or email application. it is not getting the
    right values.



    why is it so?



    string test;

    IDataObject iData = Clipboard.GetDataObject();


    if(iData.GetDataPresent(DataFormats.Text))

    {

    // Yes it is, so display it in a text box.

    test = (String)iData.GetData(DataFormats.Text);

    }
    Arvi, Jan 5, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    766
  2. Dan Bishop
    Replies:
    0
    Views:
    233
    Dan Bishop
    Aug 26, 2008
  3. Replies:
    4
    Views:
    266
    Randy Webb
    Dec 14, 2004
  4. Mahsha

    Clipboard - Copy Image To Clipboard

    Mahsha, Jun 1, 2009, in forum: Javascript
    Replies:
    1
    Views:
    580
    Thomas 'PointedEars' Lahn
    Jun 1, 2009
  5. Mahsha

    Clipboard - Copy Text To Clipboard

    Mahsha, Jun 1, 2009, in forum: Javascript
    Replies:
    3
    Views:
    648
    Thomas 'PointedEars' Lahn
    Jun 1, 2009
Loading...

Share This Page