FireFox / MultiView problem with V6.0 build 7/17/07

Last post 07-25-2007, 2:00 PM by CrashDummy. 2 replies.
Sort Posts: Previous Next
  •  07-25-2007, 12:52 PM 31865

    FireFox / MultiView problem with V6.0 build 7/17/07

    If I use CuteEdit on the hardcoded active view within a multiview, the control works perfectly. If the active view is changed programmatically on a postback, the control's buttons don't work.  The dropdowns work, but not the buttons.

    If I use IE7, all works fine.

    Getting a flat forehead - any ideas?

    Sample code below:

    <%@ Page Language="VB" %>
    <%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <script runat="server">
        Protected Sub lbt1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lbt1.Click
            Me.MultiView1.SetActiveView(Me.View0)
        End Sub
        Protected Sub lbt2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lbt2.Click
            Me.MultiView1.SetActiveView(Me.View1)
        End Sub
    </script>

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>CuteEdit 6 Test Showing Firefox Problem</title>
    </head>
    <body>
        <form id="form1" runat="server">
            <div id="tabBar" class="tabBar">
                <div class="tabButton" id="tab1" runat="server">
                    <asp:LinkButton ID="lbt1" runat="server">Tab 1</asp:LinkButton></div>
                <div class="tabButton" id="tab2" runat="server">
                    <asp:LinkButton ID="lbt2" runat="server">Tab 2</asp:LinkButton></div>
            </div>
            <br style="clear: both;" />
            <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
                <asp:View ID="View0" runat="server">
                    <p>This is the first tab - if the MultiView's ActiveViewIndex is set to this page and you switch to tab 2, CuteEdit's buttons don't work on the second tab.</p>
                    Title
                    <asp:TextBox CssClass="inputValue" ID="cTitleLabel" runat="server" Text='' Width="500px"></asp:TextBox><br />
                    SubTitle
                    <asp:TextBox CssClass="inputValue" ID="cSubTitle" runat="server" Text='' Width="500px"></asp:TextBox><br />
                </asp:View>
                <asp:View ID="View1" runat="server">
                    <p>Type anything you like in the box and try to use any of the buttons in the toolbars.  If this tab is set in the MultiView tag as the ActiveViewIndex, the buttons work.  If it is set programmatically and you switch the active view using the tabs, the buttons don't work.</p>
                    <CE:Editor ID="cHTML" runat="server" Text='' AutoConfigure="Simple" ThemeType="Office2003">
                    </CE:Editor>
                    Note - the dropdowns work, as does the right-click menu functions, but not the regular buttons
                </asp:View>
            </asp:MultiView>
        </form>
    </body>
    </html>



  •  07-25-2007, 1:49 PM 31876 in reply to 31865

    Re: FireFox / MultiView problem with V6.0 build 7/17/07

    CrashDummy,
     
    The above code works for me.
     
    Please download the latest build from the following link and try again.
     
     
     

    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

  •  07-25-2007, 2:00 PM 31878 in reply to 31876

    Re: FireFox / MultiView problem with V6.0 build 7/17/07

    The gecko loader and implementation scripts dated 7/16 produced the problem I described.  Once updated to the 7/24 versions, the problem was fixed.  Thanks for the point in the right direction.
View as RSS news feed in XML