Drag and drop of the links in the Cute editor not copying all the attributes of the link

  •  12-11-2012, 6:45 AM

    Drag and drop of the links in the Cute editor not copying all the attributes of the link

    Hi All,

     

    I am working with CuteEditor_for_NET 6.5 and now migrated to the CuteEditor_for_NET6.6

    I want to take advantage of the drag and drop functionality of the CuteEditor_for_NET6.6.

    drag and drop of the links is happening but it is not copying all the attributes of the dragged link. Below is my code. Apologies for not giving the live link of the problem.

     

    Aspx Code

     

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CuteLink.Default" %>
    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
        <a id="lnkTest" runat="server" href="Default.aspx" onclick="callme()" >Test</a>
       
        <CE:Editor id="Editor1" runat="server" />
        <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />
        </div>
        <div id="article" runat="server">
        </div>
        </form>
       
    </body>
    </html>

     

    In above code I am dragging the Test hyperlink in the cute editor Its getting copied as below

     

    <a href="http://localhost:4543/Default.aspx">Test</a>

    But it is missing the onclick="callme()" 

     

    Is there any way by which I can drag and drop the link with all the attributes as below

    <a href="http://localhost:4543/Default.aspx" onclick="callme()">Test</a>

    Please let me know.

     

    Thanks ,

    Chetan Gunjikar
     

View Complete Thread