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

[Solved] Editor on template page

7 Answers 51 Views
RadEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mike
Top achievements
Rank 1
Mike asked on 12 Jul 2006, 05:38 PM

Hi there,

I have created a custom webpart page template and would like to include the editor on the template - so that once a new page has been created the editor is already added into the page.  I including the editor into a template but when the new page was created the editor webpart simply said it could not connect - is this at all possible?

thanks

7 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 13 Jul 2006, 03:02 PM
Hello Mike,

We would require some additional information. Could you please send us your WebPart page template? Our development team would check what has gone wrong.

Expecting your reply,
Albert
the telerik team
0
Mike
Top achievements
Rank 1
answered on 13 Jul 2006, 03:04 PM

So it is possible to do then?  Maybe you could tell me the correct way to add the webpart into a template and I could have another go?

0
Atanas Korchev
Telerik team
answered on 13 Jul 2006, 03:14 PM
Hi Mike,

Honestly speaking we have not tested r.a.d.editor sharepoint edition in such scenarios. 
It would be great if you can provide your WebPart page template so our development team can test it :)

All the best,
Albert
the telerik team
0
Mike
Top achievements
Rank 1
answered on 13 Jul 2006, 03:34 PM

here is the pasted code.  I am trying to put the webpart in the "fullpage zone".



<%@ Page Language="C#" Debug="true"%>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>
<html>

<head>
<meta name="ProgId" content="SharePoint.WebPartPage.Document">
<!--****************DO NOT CHANGE THE FOLLOWIG CODE *******************************
          This code is important for a properly working template           -->
<msie:download id="downloader" style="behavior: url(#default#download)" />

<title></title>
<link rel="stylesheet" type="text/css" href="../_layouts/1033/styles/ows.css">
<link rel="stylesheet" type="text/css" href="http://website1.co.uk/global_template_files/homepage_css.css">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="15" topmargin="0" marginwidth="15" marginheight="0" onload="SearchForm.SearchText.focus();onLoad();" style="text-align: center">

<form runat="server">

<table width="99%" border="0" cellspacing="0" cellpadding="0" height="100%">
  <tr>
    <td height="16">
    <p align="left">
    <img src="http://website1.co.uk/global_template_files/images/space_ffffff.gif" width="6" height="16"></td>
  </tr>
  <tr>
    <td height="32" valign="top" bgcolor="#DDE9F5">
           
    <table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" id="table121" height="87" bordercolor="#DDE9F5">
  <tr>
   <td valign="top" width="180" bgcolor="#E3E9F8">
   <p align="left">
   <img border="0" src="http://website1.co.uk/global_template_files/images/foto_level3.jpg" width="171" height="85"></td>
   <td bgcolor="#DDE9F5" valign="top">
   <table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table122">
    <tr>
     <td width="1%">&nbsp;</td>
     <td vAlign="center"><!--table for search form-->
<SCRIPT>
phoneLink = "http://phonebook.novo.dk/phonebook/pers.asp?Initials=";
phoneSuffix="";
interLink = "http://www.google.co.uk/search?hl=en&q="
interSuffix="&meta=";
intraLink = "http://novogoogle.novo.dk/search?q="
intraSuffix="&site=default_collection&btnG=Search+IntraWeb&sort=date%3AD%3AL%3Ad1&output=xml_no_dtd&ie=UTF-8&oe=UTF-8&client=library&proxystylesheet=library";
thissiteLink = "http://novogoogle.novo.dk/search?q="
thissiteSuffix="&site=eunorth&btnG=Google+Search&sort=date%3AD%3AL%3Ad1&output=xml_no_dtd&ie=UTF-8&%3Fsite=eunorth&oe=UTF-8&client=eunorth&proxystylesheet=eunorth";


</SCRIPT>
     <font size="2">
     <table id="table123">
      <tr>
       <td>
    
       <FORM method="get" action="http://homeapp.website1.com/portal/hc/header_lt.asp" target="_blank" name="SearchForm">

       <p align="left"><font size="1">
       <asp:TextBox id="SearchText" size="10" runat="server" />

       </font></td>
       <td>
       <p align="left"><font size="1">
       <img height="6" src="http://website1.co.uk/global_template_files/images/space_dde9f5.gif" width="6"></font></td>
       <td noWrap align="left"><font size="1">Search in:</font></td>
       <td align="left"><font size="1">
       <img height="6" src="http://website1.co.uk/global_template_files/images/space_dde9f5.gif" width="10"></font></td>
       <td align="left">
       <a onclick="this.href=phoneLink+escape(document.SearchForm.SearchText.value)+phoneSuffix" href="#">
       <font size="1">Phonebook</font></a></td>
       <td align="left"><font size="1">
       <img height="6" src="http://website1.co.uk/global_template_files/images/space_dde9f5.gif" width="10"></font></td>
       <td align="left">
       <a onclick="this.href=intraLink+escape(document.SearchForm.SearchText.value)+intraSuffix" href="#">
       <font size="1">IntraWeb</font></a></td>
       <td align="left"><font size="1">
       <img height="6" src="http://website1.co.uk/global_template_files/images/space_dde9f5.gif" width="10"></font></td>
       <td align="left">
       <a onclick="this.href=interLink+escape(document.SearchForm.SearchText.value)+interSuffix" href="#">
       <font size="1">Internet</font></a></td>
       <td align="left"><font size="1">
       <img height="6" src="http://website1.co.uk/global_template_files/images/space_dde9f5.gif" width="10"></font></td>
       <td align="left">
     <font size="2"></form>
       <a onclick="this.href=thissiteLink+escape(document.SearchForm.SearchText.value)+thissiteSuffix" href="#">
       <font size="1">This Site</font></a></font></td>
       <td align="left">
       &nbsp;</td>
       <td align="left">
       <table cellpadding=0 cellspacing=0 height=100% id="table124" width="198"> <tr style="padding-right:1px">
        <td nowrap style="padding-bottom: 3px; padding-top: 1px; vertical-align: bottom" align=right class="ms-vb"> <span class='ms-SPLink'> <span class='ms-HoverCellInActive' onmouseover="this.className='ms-HoverCellActive'"; onmouseout="this.className='ms-HoverCellInActive'">
        <p align="left">
        <WebPartPages:SettingsLink runat="server"/> </span> </span>
        <WebPartPages:AuthenticationButton runat="server"/> &nbsp; </td></tr> </table> </td>
      </tr>
     </table>
     </font></td>
    </tr>
   </table>
   <p align="left">
   <font size="1" color="#DDE9F5">.</font><b><font size="2"><a href="http://preapp.website1.com/portal/">Novo Nordisk Intraweb
   </a>
   <font color="#003399">&gt;</font><a href="http://re.website1.com/">
   Europe</a> </font></b></td>
   <td style="border-color: #FFFFFF" bgcolor="#DDE9F5" valign="top" width="173">
   <p align="left">
   <a href="http://preapp.website1.com/portal/">
   <img border="0" src="http://website1.co.uk/global_template_files//images/nnlogo.gif" width="167" height="85" align="right"></a></td>
  </tr>
 </table>
           
    </td>
  </tr>
  <tr>
    <td valign="top">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
        <tr>
          <td width="1%" valign="top" bgcolor="#dde9f5">
            <table width="171" height="30" border="0" cellspacing="16" cellpadding="0">
              <tr>
                <td valign="top" height="14">
                  <div id="NN_menu">

                  <WebPartPages:WebPartZone id="{051BDDD1-0444-4D8F-ACCB-FFDBA089A12A}" runat="server" title="Zone 1">

 

 

 

 

 

 

 


   </WebPartPages:WebPartZone>
 

     <p align="left">
                  </div>
                </td>
              </tr>
            </table>
          </td>
          <td valign="top" width="98%">
            <table width="100%" height="100%" border="0" cellspacing="16" cellpadding="0">
              <tr>
                <td valign="top">
    <table id="table125" cellpadding="4" cellspacing="0" border="0" width="100%">
                <!--MSTableType="layout"--><tr>
                    <td id="_invisibleIfEmpty" name="_invisibleIfEmpty" valign="top" width="100%">
  <WebPartPages:WebPartZone runat="server" Title="loc:FullPage" ID="{3860B346-E13A-4433-8D34-329A0E6C1C14}">

 

 

 

 

 

 

  </WebPartPages:WebPartZone> </td>

                </tr>
                <script language="javascript">if(typeof(MSOLayout_MakeInvisibleIfEmpty) == "function") {MSOLayout_MakeInvisibleIfEmpty();}</script>
            </table>
    <p align="left">&nbsp;</p>
    </td>
               
              </tr>
              <tr>
                <td valign="bottom">
                  &nbsp;</td>
              </tr>
            </table>
          </td>
          <td align="right" width="1%" valign="top" bgcolor="#ffffff"><!-- IF YOU DON'T WANT RIGHT SIDE TOOLS ON YOUR PAGE, DELETE THE INCLUDE LINE BELOW-->
          
            <!-- DO NOT CHANGE CODE BELOW THIS LINE-->
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>


</form>

</body>

</html>

0
Dimitar Milushev
Telerik team
answered on 17 Jul 2006, 07:34 AM

Hello Mike,

We did some tests with the WebPart page templates, but SharePoint would not let us insert any WebParts in the WebPartZones, always throwing the following exception:

Exception Details: Microsoft.SharePoint.WebPartPages.WebPartPageUserException: No children of WebPartZone allowed.

Is there anything special that has to be done to get the template working? It will be nice if you can provide some information about your Sharepoint installation so we can reproduce the case as closely as possible. Do you use Sharepoint Portal Server or just Sharepoint Services, what service packs do you have installed, etc.?
Please excuse us for the extra loop as we require more detailed infromation to be able to provide a suitable solution.

Regards,
Digibothe telerik team
0
Mike
Top achievements
Rank 1
answered on 17 Jul 2006, 10:32 AM

Hi there,

I am using SPS2003 SP2 I think - nothing special at all.  I simply modified one of the custom templates and added in a couple of webpart zones using Frontpage 2003.

0
Dimitar Milushev
Telerik team
answered on 20 Jul 2006, 09:07 AM


Hi Mike,

This is currently not possible. A WebPart can be used in a lot of different situations and we are constantly striving to support them all. We'll continue investigating this and will try to fix the problem in the next version. Thank you for pointing this out!

All the best,
Digibo
the telerik team

Tags
RadEditor
Asked by
Mike
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Mike
Top achievements
Rank 1
Dimitar Milushev
Telerik team
Share this question
or