OK, heres the deal... We are using SharePoint as a Web Content Management System.... So we have 1 master page with a few different Page Layouts created... We are using the Telerik Lite Editor... I have dissalowed the use of different font colors, font sizes, etc for our main system...
Now we have a request to have a different design (different master page), and in this I would like to give the users a little more flexibility... I dont mind if they use different fonts, colors, etc...
Both sites will be under the same domain... different subsites...
So basically my question is... Can I have the Telerik Lite Editor installed to handle one subsite to not allow the user to choose fonts, etc... and then in a different subsite allow the user to control fonts??
Let me know if this is not clear and you need more clarification...

| <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional"> |
| <ContentTemplate> |
| <radG:RadGrid ID="WorkItemsGrid" runat="server" AllowSorting="True" |
| AutoGenerateColumns="False" DataSourceID="WorkItemsObjectDataSource" EnableAJAX="True" EnableAJAXLoadingTemplate="True" LoadingTemplateTransparency="50" |
| GridLines="None" AllowMultiRowSelection="True" Width="100%" OnItemCommand="WorkItemsGrid_ItemCommand" OnItemDataBound="WorkItemsGrid_ItemDataBound"> |
| <ClientSettings> |
| <Selecting AllowRowSelect="True" /> |
| <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="200px" /> |
| <ClientEvents OnGridCreated="GridCreated" /> |
| </ClientSettings> |
| <MasterTableView DataSourceID="WorkItemsObjectDataSource" CommandItemDisplay="Top" DataKeyNames="RequestID" |
| NoMasterRecordsText="No Work Items available."> |
| <SortExpressions> |
| <radG:GridSortExpression FieldName="SubmittedOn" SortOrder="ascending" /> |
| </SortExpressions> |
| <CommandItemStyle HorizontalAlign="Right" /> |
| <CommandItemTemplate> |
| <asp:LinkButton ID="WorkItemsRefreshButton" runat="server" CommandName="RebindGrid"><img style="border:0px" alt="" src="~/Images/Refresh.gif" runat="server" /> Refresh </asp:LinkButton> |
| <asp:LinkButton ID="ReleaseRequestButton" runat="server" CommandName="ReleaseRequest"><img style="border:0px" alt="" src="~/Images/cancel.gif" runat="server" />Release</asp:LinkButton> |
| </CommandItemTemplate> |
| <Columns> |
| <radG:GridButtonColumn DataTextField="RequestID" HeaderText="ReqID" UniqueName="RequestID" CommandName="ProcessRequest" ButtonType="LinkButton"> |
| <ItemStyle Width="5%" /> |
| <HeaderStyle Width="5%" /> |
| </radG:GridButtonColumn> |
| <radG:GridButtonColumn DataTextField="ClientName" HeaderText="Client Name" UniqueName="ClientName" CommandName="ProcessRequest" ButtonType="LinkButton" > |
| <ItemStyle Width="10%" /> |
| <HeaderStyle Width="10%" /> |
| </radG:GridButtonColumn> |
| <radG:GridBoundColumn AllowFiltering="False" DataField="ReqAttorney" Groupable="False" |
| HeaderText="Req Attorney" UniqueName="ReqAttorney"> |
| <ItemStyle Width="10%" /> |
| <HeaderStyle Width="10%" /> |
| </radG:GridBoundColumn> |
| <radG:GridBoundColumn DataField="Requestor" HeaderText="Requestor" ReadOnly="True" |
| UniqueName="Requestor"> |
| <ItemStyle Width="10%" /> |
| <HeaderStyle Width="10%" /> |
| </radG:GridBoundColumn> |
| <radG:GridBoundColumn DataField="ReqOffice" HeaderText="Office" ReadOnly="True" UniqueName="ReqOffice"> |
| <ItemStyle Width="5%" /> |
| <HeaderStyle Width="5%" /> |
| </radG:GridBoundColumn> |
| <radG:GridBoundColumn DataField="ReqType" HeaderText="Request Type" UniqueName="ReqType"> |
| <ItemStyle Width="15%" /> |
| <HeaderStyle Width="15%" /> |
| </radG:GridBoundColumn> |
| <radG:GridBoundColumn DataField="ReqStatus" HeaderText="Status" UniqueName="ReqStatus"> |
| <ItemStyle Width="14%" /> |
| <HeaderStyle Width="14%" /> |
| </radG:GridBoundColumn> |
| <radG:GridBoundColumn DataField="SubmittedOn" HeaderText="Submitted" ReadOnly="True" |
| UniqueName="SubmittedOn" DataFormatString="{0:g}"> |
| <ItemStyle Width="14%" /> |
| <HeaderStyle Width="14%" /> |
| </radG:GridBoundColumn> |
| <radG:GridBoundColumn DataField="ClaimedOn" HeaderText="Claimed On" UniqueName="ClaimedOn" DataFormatString="{0:g}"> |
| <ItemStyle Width="14%" /> |
| <HeaderStyle Width="14%" /> |
| </radG:GridBoundColumn> |
| <radG:GridBoundColumn DataField="ClaimedBy" HeaderText="Claimed By" UniqueName="ClaimedBy" Visible="false"> |
| <ItemStyle Width="10%" /> |
| <HeaderStyle Width="10%" /> |
| </radG:GridBoundColumn> |
| <radG:GridClientSelectColumn UniqueName="SelectRequest" > |
| <ItemStyle Width="3%" /> |
| <HeaderStyle Width="3%" /> |
| </radG:GridClientSelectColumn> |
| </Columns> |
| <ExpandCollapseColumn Visible="False"> |
| <HeaderStyle Width="19px" /> |
| </ExpandCollapseColumn> |
| <RowIndicatorColumn Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </RowIndicatorColumn> |
| </MasterTableView> |
| </radG:RadGrid> |
| <telerik:RadToolTipManager ID="AlertToolTipManager" runat="server" OnAjaxUpdate="AlertToolTipManager_OnAjaxUpdate" RelativeTo="Element" Height="100%" Skin="WebBlue" Animation="None" Position="MiddleRight" MouseTrailing="false" OffsetY="-20"> |
| </telerik:RadToolTipManager> |
| </ContentTemplate> |
| </asp:UpdatePanel> |
| protected void AlertToolTipManager_OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args) |
| { |
| int index = args.TargetControlID.LastIndexOf("_"); |
| string reqID = args.TargetControlID.Substring(index + 1); |
| Control ctrl = Page.LoadControl("~/Parts/AlertToolTip.ascx"); |
| args.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl); |
| AlertToolTip alert = (AlertToolTip)ctrl; |
| alert.ReqID = int.Parse(reqID); |
| } |
| protected void WorkItemsGrid_ItemDataBound(object sender, GridItemEventArgs e) |
| { |
| if (e.Item.ItemType == GridItemType.AlternatingItem || e.Item.ItemType == GridItemType.Item) |
| { |
| DataRowView requestRowView = e.Item.DataItem as DataRowView; |
| if (requestRowView != null) |
| { |
| int reqID = (int)requestRowView["RequestID"]; |
| GridDataItem gridItem = e.Item as GridDataItem; |
| string controlID = "WorkReqAlert_" + reqID.ToString(); |
| gridItem["ReqStatus"].Text += GetHTMLCodeForAlert(controlID,reqID); |
| ToolTipTargetControl target = new ToolTipTargetControl(controlID, true); |
| AlertToolTipManager.TargetControls.Add(target); |
| } |
| } |
| } |
| private string GetHTMLCodeForAlert(string controlID,int reqID) |
| { |
| string dataFormatString = "<img id='" + controlID + "' src='../Images/Email_Read.gif'>"; |
| return dataFormatString; |
| } |
I just downloaded and implemented the recently released build of Prometheus. The tooltip however does not seem to render properly (skin and position) in Firefox OR Safari. It works fine in IE7.
Please go here for an example:
http://www.printrunner.com/business-cards.aspx
Mouse over the blue question marks on the right side of the screen. A tooltip with the "Telerik" skin should appear. Compare Firefox to IE7.
The tooltips are dynamically created using a loop with the following code for each tooltip:
| Dim ToolTip As New RadToolTip |
| ToolTip.IsClientID = True |
| ToolTip.TargetControlID = "question" & lstData.ID |
| ToolTip.Skin = "Telerik" |
| ToolTip.ShowEvent = ToolTipShowEvent.OnMouseOver |
| ToolTip.Text = sHTML |
| ToolTip.RelativeTo = ToolTipRelativeDisplay.Element |
| ToolTip.Position = ToolTipPosition.MiddleLeft |
| ToolTip.ManualClose = False |
| ToolTip.Width = 375 |
| ToolTip.AutoCloseDelay = 60000 |
| ToolTip.HideDelay = 500 |
| ToolTip.ShowDelay = 0 |
selected.ParentNode.Nodes.Remove(selected);
and
selected.Remove();
inside of the OnContextMenuItemClick handler, but neither method removes the node on the client side. Is there a correct way to remove nodes through a callback?
Thanks
