Drag & Drop

Thread is closed for posting
4 posts, 0 answers
  1. 122D5425-CF46-4C48-AEC1-FCD648231CA8
    122D5425-CF46-4C48-AEC1-FCD648231CA8 avatar
    120 posts
    Member since:
    Jan 2007

    Posted 26 Mar 2007 Link to this post

    Requirements

    r.a.d.controls version r.a.d.editor v.7+
    .NET version

    .NET 2.0    

    Visual Studio version

    VS-2005

    programming language

    C#.NET

    browser support Internet Explorer 6 and 7

     
    PROJECT DESCRIPTION

    Hello,

    Please find the attached project. With this project you can easily drag and drop the selected text from ASP:Datalist control to Editor. The problem with this solution is that during Drag & Drop operation it pastes the text with complete span tag in an editor. So the possible solutions are:
    • Filtering the text using custom code
    • Apply proper stylesheets to label control which is placed inside the DataList control.
  2. 2684DEE8-E2BA-4682-A7A5-40FF71873DCD
    2684DEE8-E2BA-4682-A7A5-40FF71873DCD avatar
    869 posts
    Member since:
    Sep 2012

    Posted 26 Mar 2007 Link to this post

    Hi,

    We tested your project and we encountered some problems under Mozilla. After the first drag&drop, the text is no longer selected on mouseover and to drop it in the editor, the user needs to select it with the mouse or a double-click on the word and then drag&drop it which is a basic behavior that takes place without any code. So please, review your example under Mozilla.


    All the best,
    Petya
    the telerik team

    Instantly find answers to your questions at the new telerik Support Center
  3. 122D5425-CF46-4C48-AEC1-FCD648231CA8
    122D5425-CF46-4C48-AEC1-FCD648231CA8 avatar
    120 posts
    Member since:
    Jan 2007

    Posted 26 Mar 2007 Link to this post

    Hi,
    The sample code that I've posted is IE depentant. It works fine on IE6 and IE7. I haven't tested it on other browsers but it should work on Firefox too. By the way, its quite easy script and can be generalized for all browsers.
  4. 2684DEE8-E2BA-4682-A7A5-40FF71873DCD
    2684DEE8-E2BA-4682-A7A5-40FF71873DCD avatar
    869 posts
    Member since:
    Sep 2012

    Posted 27 Mar 2007 Link to this post

    Hello Ali,

    Your project will be published as applicable for IE6 and IE7. Thank you for your active participation in our community. Please, find 3000 telerik points added to your account.

    Sincerely yours,
    Petya
    the telerik team

    Instantly find answers to your questions at the new telerik Support Center
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.