This is a migrated thread and some comments may be shown as answers.

[Solved] Problem With Image Manager And UpdatePanel

4 Answers 191 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Erin
Top achievements
Rank 1
Erin asked on 19 Apr 2008, 04:45 PM

I'm running into a problem with the Q1 '08 build of the Editor specifically with the Image Manager. 

The problem occurs when the Rad Editor is inside of an update panel and is initially not visible.  Then if it is made visible via a postback and then the image manager is clicked, the Image Manager doesn't get rendered properly.  Only bits and pieces of it show up and it is unusable.  If I take it out of the update panel all works fine.  Here is the basic test code:

Front-End:
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="scriptManager" EnablePartialRendering="true" runat="server" />
        <asp:UpdatePanel runat="server">
            <ContentTemplate>
                <asp:Button runat="server" OnClick="buttonclick" Text="Make Editor Visible" />
                <Telerik:RadEditor runat="server" ID="radEditor" Height="400px" EditModes="Design"
                    AutoResizeHeight="true" Skin="Web20">
                </Telerik:RadEditor>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>

Back End:

    protected void Page_Load(object sender, EventArgs e)
    {
        if(!IsPostBack)
        {
            radEditor.Visible = false;
        }
    }

    protected void buttonclick(object sender, EventArgs e)
    {
        radEditor.Visible = true;
    }


What's the workaround for this?

-Erin

4 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 22 Apr 2008, 08:42 AM
Hi Erin,

Indeed, you are right - I was able to reproduce the problem.

I logged it in our ToDo list and we will do our best to fix as soon as possible.

In the meantime you can easily workaround the problem by adding the following code to the page's head - if the skins' path is different please change it:
<link href="Skins/Web20/Window.Web20.css" rel="stylesheet" type="text/css" /> 
<link href="Skins/Editor.css" rel="stylesheet" type="text/css" /> 
<link href="Skins/Window.css" rel="stylesheet" type="text/css" /> 

Your points were updated.

Greetings,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
cwallace
Top achievements
Rank 1
answered on 22 Apr 2008, 09:55 PM
I have this same problem.  After applying the work around, I am still missing graphics for the border of the Image Manager window.  Also, there is no "X" where the close dialog button should be.

Is there another stylesheet missing from the list?

-Chad
0
Erin
Top achievements
Rank 1
answered on 23 Apr 2008, 01:36 AM
George,

Thanks for the reply, how will I be able to get the hotfix once you guys complete the work?  Will it simply be a patch isolated to this problem only or will it have other fixes?  If it has other fixes, does it mean that it will not be release quality code?

-Erin
0
Accepted
George
Telerik team
answered on 24 Apr 2008, 04:08 PM
Hi guys,

This problem will be fixed in the next official release of the control SP1, which is scheduled for the middle of May. 

Chad, could you please open a support ticket and send us your runnable project or a sample in which the problem can be observed and we will do our best to provide a solution for your case.

Best regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Erin
Top achievements
Rank 1
Answers by
George
Telerik team
cwallace
Top achievements
Rank 1
Erin
Top achievements
Rank 1
Share this question
or