Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

Latest Version of CE 5.1 seems to have serious custom JavaScript issues...

Last post 01-09-2006, 6:47 PM by Adam. 5 replies.
Sort Posts: Previous Next
  •  12-17-2005, 2:18 PM 13993

    Latest Version of CE 5.1 seems to have serious custom JavaScript issues...

    Adam,
     
    I originally posted about FullScreen issues with Custom JavaScript.  I am running DNN 3.0.13 with CE 5.1.  When loading properties Window for textbox in my editor if I hit Cancel to close CE's dialog box my custom JavaScript is erased.  If I click on Downloadable files and hit cancel, if I insert a layer etc....all of these are now blowing away my custom JavaScript.  Yes it is repeatable every time on your test site @
     
     
    Here is some sample code below...paste it into the HTML area on the link above.  It works fine until any modifications listed above are made.

    Any Help would be greatly appreciated.  If your latest build has these known bugs when is the date for fixes?

    Is there something I am doing wrong?

    Thanks,

    -Tom

    <script language=javascript>
    <!--
    function AddCustomStuff() {
    alert("Event Added:");
    }
    //-->
    </script>
    <table id=tblMain style="WIDTH: 928px; HEIGHT: 699px" cellSpacing=1 cellPadding=1 width=928 border=0>
        <tbody>
            <tr>
                <td>
                <div id=MainShell ms_positioning="GridLayout">
                <table height=512 cellSpacing=0 cellPadding=0 width=920 border=0 ms_2d_layout="TRUE">
                    <tbody>
                        <tr vAlign=top>
                            <td width=16 height=32></td>
                            <td width=72></td>
                            <td width=143></td>
                            <td width=41></td>
                            <td width=104></td>
                            <td width=320></td>
                            <td width=16></td>
                            <td width=208></td>
                        </tr>
                        <tr vAlign=top>
                            <td colSpan=3 height=32></td>
                            <td colSpan=3>
                            <div id=DIV1 ms_positioning="FlowLayout">
                            <table height=24 cellSpacing=0 cellPadding=0 width=432 border=0 ms_1d_layout="TRUE">
                                <tbody>
                                    <tr>
                                        <td>Fill out</td>
                                    </tr>
                                </tbody>
                            </table>
                            </div>
                            </td>
                            <td colSpan=2></td>
                        </tr>
                        <tr vAlign=top>
                            <td colSpan=4 height=32></td>
                            <td>
                            <div id=DIV3 ms_positioning="FlowLayout">
                            <table height=19 cellSpacing=0 cellPadding=0 width=96 border=0 ms_1d_layout="TRUE">
                                <tbody>
                                    <tr>
                                        <td>User Name</td>
                                    </tr>
                                </tbody>
                            </table>
                            </div>
                            </td>
                            <td colSpan=3><input id=IS_USR size=40 value=myname@mydomain.com name=IS_USR></td>
                        </tr>
                        <tr vAlign=top>
                            <td colSpan=4 height=32></td>
                            <td>
                            <div id=DIV4 ms_positioning="FlowLayout">
                            <table height=19 cellSpacing=0 cellPadding=0 width=96 border=0 ms_1d_layout="TRUE">
                                <tbody>
                                    <tr>
                                        <td>Station</td>
                                    </tr>
                                </tbody>
                            </table>
                            </div>
                            </td>
                            <td colSpan=3><input id=IS_STA size=40 value=IS_TestStation1 name=IS_STA></td>
                        </tr>
                        <tr vAlign=top>
                            <td colSpan=4 height=32></td>
                            <td>
                            <div id=DIV5 ms_positioning="FlowLayout">
                            <table height=19 cellSpacing=0 cellPadding=0 width=96 border=0 ms_1d_layout="TRUE">
                                <tbody>
                                    <tr>
                                        <td></td>
                                    </tr>
                                </tbody>
                            </table>
                            </div>
                            </td>
                            <td colSpan=3></td>
                        </tr>
                        <tr vAlign=top>
                            <td colSpan=2 height=32></td>
                            <td colSpan=2></td>
                            <td>
                            <div id=DIV6 ms_positioning="FlowLayout">
                            <table height=19 cellSpacing=0 cellPadding=0 width=96 border=0 ms_1d_layout="TRUE">
                                <tbody>
                                    <tr>
                                        <td></td>
                                    </tr>
                                </tbody>
                            </table>
                            </div>
                            </td>
                            <td></td>
                            <td colSpan=2></td>
                        </tr>
                        <tr vAlign=top>
                            <td colSpan=2 height=32></td>
                            <td colSpan=2></td>
                            <td>
                            <div id=DIV7 ms_positioning="FlowLayout">
                            <table height=19 cellSpacing=0 cellPadding=0 width=96 border=0 ms_1d_layout="TRUE">
                                <tbody>
                                    <tr>
                                        <td></td>
                                    </tr>
                                </tbody>
                            </table>
                            </div>
                            </td>
                            <td></td>
                            <td colSpan=2></td>
                        </tr>
                        <tr vAlign=top>
                            <td colSpan=2 height=32></td>
                            <td colSpan=2></td>
                            <td>
                            <div id=DIV8 ms_positioning="FlowLayout">
                            <table height=19 cellSpacing=0 cellPadding=0 width=96 border=0 ms_1d_layout="TRUE">
                                <tbody>
                                    <tr>
                                        <td></td>
                                    </tr>
                                </tbody>
                            </table>
                            </div>
                            </td>
                            <td></td>
                            <td colSpan=2></td>
                        </tr>
                        <tr vAlign=top>
                            <td colSpan=2 height=40></td>
                            <td colSpan=2></td>
                            <td>
                            <div id=DIV2 ms_positioning="FlowLayout">
                            <table height=19 cellSpacing=0 cellPadding=0 width=96 border=0 ms_1d_layout="TRUE">
                                <tbody>
                                    <tr>
                                        <td></td>
                                    </tr>
                                </tbody>
                            </table>
                            </div>
                            </td>
                            <td></td>
                            <td colSpan=2></td>
                        </tr>
                        <tr vAlign=top>
                            <td colSpan=7 height=136>
                            <p align=right><input id=cmdSend onclick=AddCustomStuff(); type=button value="Send Data" name=cmdSend></p>
                            </td>
                            <td></td>
                        </tr>
                        <tr vAlign=top>
                            <td height=80></td>
                            <td colSpan=7>
                            <div id=lblInfo ms_positioning="GridLayout">
                            <table height=68 cellSpacing=0 cellPadding=0 width=888 border=0 ms_2d_layout="TRUE">
                                <tbody>
                                    <tr vAlign=top>
                                        <td width=888 height=68></td>
                                    </tr>
                                </tbody>
                            </table>
                            </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
                </div>
                </td>
            </tr>
            <tr>
                <td td <></td>
            </tr>
        </tbody>
    </table>
     
     
  •  12-17-2005, 2:53 PM 13994 in reply to 13993

    Re: Latest Version of CE 5.1 seems to have serious custom JavaScript issues...

    Tom,

    I am working on this issue and will get back to you as soon as possible.

     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-17-2005, 4:04 PM 13997 in reply to 13994

    Re: Latest Version of CE 5.1 seems to have serious custom JavaScript issues...

    Tom,

    Problem resolved. 
     
    Demo is here:
     

    Please download the hot fix from  http://CuteSoft.net/download/CENETHotFix.zip
     
    All you need to do is updating the WinIE.js file.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-17-2005, 4:18 PM 14000 in reply to 13997

    Re: Latest Version of CE 5.1 seems to have serious custom JavaScript issues...

    Adam,
     
    Wow...what support.  Very impressive to say the least.  Your link works fine now.  I will now test locally.
     
    Thanks a ton,
     
    -Tom
  •  01-09-2006, 6:27 PM 14560 in reply to 13993

    Re: Latest Version of CE 5.1 seems to have serious custom JavaScript issues...

    I found that starting a document with the <script> tag erased whatever I put in there up to any text that was on the page. 

    I have found that putting some text at the beginning usually works for not deleting the scripts.  Place the script & style sheets at the end or middle of the document
  •  01-09-2006, 6:47 PM 14561 in reply to 14560

    Re: Latest Version of CE 5.1 seems to have serious custom JavaScript issues...

    Have you set the editor.EnableStripScriptTags property to false?
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.