Home Search Member List Faq Register Login  
UltimateEditor
Re: Problem with Ajax update panel and editor

Thread Starter: Jackxxx   Started: 02-19-2010 9:51 AM   Replies: 5
 Karamasoft Support Forums » General Discussions » UltimateEditor » Re: Problem with Ajax update panel and editor
 Printable Version    « Previous Thread   Next Thread »
  19 Feb 2010, 9:51 AM
Jackxxx is not online. Last active: 2/19/2010 9:51:47 AM Jackxxx

Top 10 Posts
Joined on 10-15-2007
Posts 118
Problem with Ajax update panel and editor
When we put the editor in an ajax update panel it works fine until we do a postback, then it is locked, meaning we cannot enter or edit the content.

We are using dll 3.3.3329.39085, visual web developer 2008, and .net 3.5

Thank you for any help.

  
  19 Feb 2010, 10:52 AM
Karamasoft is not online. Last active: 9/8/2010 11:48:21 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,334
Re: Problem with Ajax update panel and editor
We made several fixes for UpdatePanel since version 3.3. Please download the latest version from our website and test it to see if it resolves the issue.
  
  11 Mar 2010, 5:11 AM
Dua is not online. Last active: 5/20/2010 5:03:42 AM Dua

Top 10 Posts
Joined on 03-08-2010
Posts 13
Re: Problem with Ajax update panel and editor
Hi,

I m using the latest version 3.6 but still having same problem. Is there any other solution for this problem?

Thanks

  
  11 Mar 2010, 10:10 AM
Karamasoft is not online. Last active: 9/8/2010 11:48:21 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,334
Re: Problem with Ajax update panel and editor
If you send us a self-contained web app having the issue, we can try it in our test environment.
  
  18 Mar 2010, 6:25 AM
Dua is not online. Last active: 5/20/2010 5:03:42 AM Dua

Top 10 Posts
Joined on 03-08-2010
Posts 13
Re: Problem with Ajax update panel and editor

Hi,

This is my sample code...i send web app via email but no reply that's why i copying code in this post....

Source code:

 <div>
        <aspTongue TiedcriptManager ID="ScriptManager1" runat="server">
        </aspTongue TiedcriptManager>
        Text will only display in both the editors when we allow fill post back<asp:Button
            ID="Button3" runat="server"
            Text="Full Post Back" />
        <br />
        <br />
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
                <div style="border-style: solid; border-width: 1px">
                    <b>Update Panel 2<br />
                    </b>
                    <br />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <div style="border-style: solid; border-width: 1px">
                    <b>Update Panel 1</b><br />
                    <div style="width: 700px;padding-left: 50px">
                        Ultimate Editor1:<kswc:UltimateEditor ID="UltimateEditor1" runat="server">
                        </kswc:UltimateEditor>
                    </div>
                    <br />
                    Write text in Ultimate editor1 and Save it and than clear it:
                    <asp:Button ID="Button1" runat="server"
                    Text="Save" />
                    &nbsp;&nbsp;&nbsp;
                    <br />
                    <br />
                    Retrieve the Text Save from Ultimate Editor1 allowing partial postback and display in Ultimate Editor1:<asp:Button
                        ID="Button2" runat="server"
                    Text="Retrieve" />
                </div>
            </ContentTemplate>
            <Triggers>
             
                <asp:AsyncPostBackTrigger ControlID="Button5" EventName="Click" />
           
            </Triggers>
        </asp:UpdatePanel>
        <br />
        <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <div style="border-style: solid; border-width: 1px">
                    <b> Update Panel 3
                    <br />
                    Ultimate Editor2:<br />
                    <div style="width: 823px; padding-left: 50px">
                        <b>
                        <kswc:UltimateEditor ID="UltimateEditor2" runat="server">
                        </kswc:UltimateEditor>
                        <b>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <br />
                        Place the same text in Ultimate Editor2 as in Ultimate Editor1, allowing partial
                        post back:<asp:Button ID="Button5" runat="server"
                            Text="Retrieve text " />
                        </b></b>
                        <br />
                    </div>
                    </b>
                </div>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="Button2" EventName="Click" />
                <asp:AsyncPostBackTrigger ControlID="Button3" EventName="Click" />
          
            </Triggers>
        </asp:UpdatePanel>
        <br />
        <br />     
    </div>


VB Code:
 Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        ViewState("editor") = UltimateEditor1.EditorHtml
        UltimateEditor1.EditorHtml = ""
    End Sub

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click, Button3.Click, Button5.Click
        If ViewState("editor") IsNot Nothing Then
            UltimateEditor1.EditorHtml = ViewState("editor")
            UltimateEditor2.EditorHtml = ViewState("editor")
        End If
    End Sub


Problem is:

I want same Text as in 'ultimate editor1'  to be display in Ultimate Editor 2 using partial post back but Ultimate Editor2 remains blank. But when i do a full post back than it display text both in Ultimate Editor1 and Ultimate Editor2. Can you please sort it whats the problem is.
And i using Ultimate Editor 3.6 and setup file Ultimate Editor 435....

Thanks

  
  20 Mar 2010, 6:19 PM
Karamasoft is not online. Last active: 9/8/2010 11:48:21 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,334
Re: Problem with Ajax update panel and editor
Please refer to our response at http://forums.karamasoft.com/ShowPost.aspx?PostID=11169. Thanks.
  
 Page 1 of 1 (6 items)
Karamasoft Support Forums » General Discussions » UltimateEditor » Re: Problem with Ajax update panel and editor

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2010 Karamasoft LLC. All rights reserved.