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

Rad Editor Problem with update panel

2 Answers 181 Views
Editor
This is a migrated thread and some comments may be shown as answers.
hafiz awais
Top achievements
Rank 1
hafiz awais asked on 15 Jan 2011, 08:50 AM

I am using radeditor in view

My view is in update panel  and multiview is also in update panel

i have published the website and when i check on live then that editor first time expands and get out of table boundries

when refersh the page then it get corrects.

when i disable all the update panels then see that after clearing the history then that problem does not come

 

what to do i have to use update panel for partial post back

 

Regards

Awais

 

2 Answers, 1 is accepted

Sort by
0
hafiz awais
Top achievements
Rank 1
answered on 15 Jan 2011, 08:59 AM
My scenerio is like this

I have multiview in that two views .
in one view i have grid and in second detail of record
when i clik  on edit image in grid then this view comes
in that edit detail view rad editor i have used
first time when it loads then rad editor expands automaticalyy near about 4times of screen or more than that.
When i refersh it then it automaticaly corects itself
this problem i am facing where i have published my website , at local its working well.
But definatly client have to access live not local so i need help for that , my code behind looks like following

<updatePanel..........>
<contenttemplate>
  <asp:multiview.......>
    <asp:view.........>
      <updatepanel>
      <contenttemplate>
                <asp:gridview.........>
                </grid>
      </contentemplate>
   </updatepanel>
 </view>
<view.......>
    <updatepanel.....>
       <contenttemplate>
                <table>
                        all inforamtion and 
                    <telerik:radeditor..../>

                In end row thre are two image buttons in update panel
                    <updatepanel>
                        <contenttemplate>
                            <asp:imagebuttons.../>
                            <asp:imagebuttons.../>
                    </contenttemplate>
                </updatepanel>
                </table>
        </contentemplate>
    </updatepanel>
</view>
</multiview>
</contenttemplate>
</updatepanel>
0
Dobromir
Telerik team
answered on 19 Jan 2011, 01:42 PM
Hi Awais,

We are aware of this problem and are working on its fix. Unfortunately, I am unable to provide firm estimate on when it will be available, because the issue is quite complicated.

For the time being as a workaround I suggest you to manually register RadEditor's skins, e.g.:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Tickets_Editor_Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <telerik:RadCodeBlock runat="server">
        <link href='<%= Page.ClientScript.GetWebResourceUrl(typeof(RadEditor), "Telerik.Web.UI.Skins.Editor.css") %>'
            rel="stylesheet" type="text/css" />
        <link href='<%= Page.ClientScript.GetWebResourceUrl(typeof(RadEditor), "Telerik.Web.UI.Skins.Default.Editor.Default.css") %>'
            rel="stylesheet" type="text/css" />
        <link href='<%= Page.ClientScript.GetWebResourceUrl(typeof(RadWindow), "Telerik.Web.UI.Skins.Window.css") %>'
            rel="stylesheet" type="text/css" />
        <link href='<%= Page.ClientScript.GetWebResourceUrl(typeof(RadWindow), "Telerik.Web.UI.Skins.Default.Window.Default.css") %>'
            rel="stylesheet" type="text/css" />
    </telerik:RadCodeBlock>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
    <telerik:RadEditor ID="reEditor" runat="server" EnableEmbeddedBaseStylesheet="false"
        EnableEmbeddedSkins="false">
    </telerik:RadEditor>
    </form>
</body>
</html>

More detailed information on how to register external skin to RadEditor is available in the following KB article:
Registering an external skin of RadEditor


Best wishes,
Dobromir
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
hafiz awais
Top achievements
Rank 1
Answers by
hafiz awais
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or