| <div style="float: left; width: 20%; height: 100%;"> |
| <telerik:RadDockZone ID="DockZone_Left" runat="server" Skin="WebBlue" UniqueName="DockZone_Left" |
| BackColor="#3a6ea5" BorderStyle="None" Orientation="Vertical" Width="95%" Height="95%"> |
| <telerik:RadDock ID="Dock_Left_Top" runat="server" Height="48%" Skin="WebBlue" Width="100%" |
| UniqueName="Dock_Left_Top" DefaultCommands="None" BackColor="#3a6ea5" BorderStyle="None" > |
| <ContentTemplate> |
| <div style="text-align: center; width: 100%; height: 100%"> |
| <img src="Neurologica/Picture1.jpg" alt="Picture1" style="width: 160px; height: 120px" /> |
| </div> |
| </ContentTemplate> |
| </telerik:RadDock> |
| <telerik:RadDock ID="Dock_Left_Bottom" runat="server" Height="50%" Width="100%" Skin="WebBlue" |
| UniqueName="Dock_Left_Bottom" DefaultCommands="None" BackColor="#3a6ea5" BorderStyle="None" |
| Title="CereTomâ„¢ Clinical Use"> |
| <ContentTemplate> |
| <br /> |
| <div style="text-align: center"> |
| <img src="Neurologica/Picture3.jpg" alt="Picture3" style="width: 160px; height: 120px" /> |
| </div> |
| </ContentTemplate> |
| </telerik:RadDock> |
| </telerik:RadDockZone> |
| </div> |
| Partial Class Project | |
| Inherits System.Web.UI.UserControl | |
| Protected Sub nextButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles nextButton.Click | |
| UpdatePreview() | |
| GoToNextTab() | |
| End Sub | |
| Private Sub GoToNextTab() | |
| Dim tabStrip As RadTabStrip = Page.FindControl("RadTabStrip1") | |
| Dim FileUploadInfoTab As RadTab = tabStrip.FindTabByText("FileUpload") | |
| FileUploadInfoTab.Enabled = True | |
| FileUploadInfoTab.Selected = True | |
| GoToNextPageView() | |
| End Sub | |
| Private Sub GoToNextPageView() | |
| Dim multiPage As RadMultiPage = Page.FindControl("RadMultiPage1") | |
| Dim FileUploadInfoPageView As RadPageView = multiPage.FindPageViewByID("FileUpload") | |
| If FileUploadInfoPageView Is Nothing Then | |
| FileUploadInfoPageView = New RadPageView() | |
| FileUploadInfoPageView.ID = "FileUpload" | |
| multiPage.PageViews.Add(FileUploadInfoPageView) | |
| End If | |
| FileUploadInfoPageView.Selected = True | |
| End Sub | |
| Private Sub UpdatePreview() | |
| Dim previewControl As Control = Page.FindControl("previewControl") | |
| Dim ProjNameLabelPreview As Label = previewControl.FindControl("lblProjectName") | |
| ProjNameLabelPreview.Text = txtProjectName.Text | |
| Dim ProjDescriptionLabelPreview As Label = previewControl.FindControl("ProjDescriptionLabel") | |
| ProjDescriptionLabelPreview.Text = txtProjectDescription.Text | |
| Dim ReferenceLabelPreview As Label = previewControl.FindControl("ReferenceLabel") | |
| ReferenceLabelPreview.Text = txtReference.Text | |
| End Sub | |
| End Class | |
| <%@ Control Language="VB" AutoEventWireup="false" CodeFile="PreviewVB.ascx.vb" Inherits="Telerik.Web.Examples.TabStrip.ApplicationScenarios.Wizard.PreviewVB" %> | |
| <h2> | |
| Preview:</h2> | |
| <ul> | |
| <li style="text-align:left;font-weight:bold;"> | |
| <asp:Label runat="server" ID="lblProjectName"></asp:Label> | |
| </li> | |
| <li style="text-align:left;font-weight:bold;"> | |
| <asp:Label runat="server" ID="ProjDescriptionLabel"></asp:Label> | |
| </li> | |
| <li style="text-align:left;font-weight:bold;"> | |
| <asp:Label runat="server" ID="ReferenceLabel"></asp:Label> | |
| </li> | |
| </ul> | |
| <h3> | |
| Files uploaded | |
| </h3> | |
| <ul> | |
| <asp:Label ID="lblNoResults" runat="server" Visible="true">No uploaded files</asp:Label> | |
| <asp:Repeater ID="rpvalidResults" runat="server" Visible="false"><HeaderTemplate>Uploaded Files:<br /> | |
| </HeaderTemplate> | |
| <ItemTemplate> | |
| <%#DataBinder.Eval(Container.DataItem, "FileName")%> | |
| (<%#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>) <br /><br /> | |
| </ItemTemplate></asp:Repeater> | |
| </ul> | |
| Partial Class Default2 | |
| Inherits System.Web.UI.Page | |
| Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load | |
| If Not Page.IsPostBack Then | |
| AddTab("Project", True) | |
| Dim pageView As New RadPageView() | |
| pageView.ID = "Project" | |
| RadMultiPage1.PageViews.Add(pageView) | |
| AddTab("FileUpload", False) | |
| AddTab("TasksToFile", False) | |
| End If | |
| End Sub | |
| Private Sub AddTab(ByVal tabName As String, ByVal enabled As Boolean) | |
| Dim tab As New RadTab(tabName) | |
| tab.Enabled = enabled | |
| RadTabStrip1.Tabs.Add(tab) | |
| End Sub | |
| Protected Sub RadMultiPage1_PageViewCreated(ByVal sender As Object, ByVal e As RadMultiPageEventArgs) Handles RadMultiPage1.PageViewCreated | |
| Dim pageViewContents As Control = LoadControl(e.PageView.ID & ".ascx") | |
| pageViewContents.ID = e.PageView.ID & "userControl" | |
| e.PageView.Controls.Add(pageViewContents) | |
| End Sub | |
| End Class | |
Hello,
We use WSS 3.0 SP1 only not MOSS.
We have successfully installed and used RadEditor for MOSS 4.5.1 for couple months. We then tried to install RadEditor for MOSS 5.0.1 following precisely the installation instructions (ASP.NET AJAX Extensions 1.0 then the RadEditor Solution).
We had no problem using "Telerik RadEditor for MOSS" Web Part, but we could not make it work in List Items.
We made sure to log as an administrator when we enabled the Features, so that the TelerikRadEditor.ascx gets copied to 12\TEMPLATE\CONTROLTEMPLATES folder as explained here, and we checked: it was successfully copied.
However, we still had WSS default Rich text Editor.
The Sharepoint Log file gave me a clue : "Load control template file /_controltemplates/TelerikRadEditor.ascx failed: Could not load file or assembly 'Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. "
'Microsoft.SharePoint.Publishing' is not a WSS Assembly, so TelerikRadEditor.ascx, used in List Items cannot work as is on WSS!
I manually edited the \TEMPLATE\CONTROLTEMPLATES TelerikRadEditor.ascx to remove the reference to this assembly and removed :
| <%@ Register TagPrefix="CMS" Assembly="Microsoft.SharePoint.Publishing,... |
and removed the control which was using the CMS reference :
| <div id="originalEditorContainer" runat="server"> |
| <CMS:HtmlEditor ID="RichHtmlField" runat="server" /> |
| </div> |