| function GetRadWindow() | |
| { | |
| var oWindow = null; | |
| if (window.radWindow) oWindow = window.radWindow; | |
| else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; | |
| return oWindow; | |
| } | |
| function CloseWindow() | |
| { | |
| var oWindow = GetRadWindow(); | |
| oWindow.close(); | |
| } |
RadEditor1.CssClasses.Clear()
... and
RadEditor1.CssClasses.Add("Links class ", "a.link")
... and
RadEditor1.CssFiles =
... and
ContentAreaCssFile="~\CSS\Login.css"
... and
editing the EditorContentArea.css file.
nothing works! the background image is still there and the "Css Styles" drop down is always filled with lots of useless radeditor styles.
My radEditor declaration is as simple as it gets:
<telerik:RadEditor runat="server" ID="RadEditor1" EditModes="All" Height="500px" Width="100%" Visible="true">
</telerik:RadEditor>
I didnt have any issues with this at all with the non-prometheus version. I only wanted to switch because this one seems to load so fast.
any help gratefully accepted.
rob


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body >
<form id="form1" runat="server">
<div id="divID">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<script type="text/javascript">
function hideToolTip()
{
var tooltip = $get("RadToolTip1");
tooltip.hide();
}
</script>
<telerik:RadToolTip ID="RadToolTip1" runat="server"
TargetControlID="link1" IsClientID="true"
Text="Tool Tool Tool" RelativeTo="Mouse"
ShowEvent="OnClick" ManualClose="true" ></telerik:RadToolTip>
<input type="button" id="b2" name="Hide" value="Hide" onclick="hideToolTip();" />
<a href="#" id="link1">Link</a>
</div>
</form>
</body>
</html>

LegendDisplayMode="ItemLabels"
I cannot find this on the new Prometheus control?
I want a pie chart with a dynamic number of elements that lists all item in thg legend with their colour, name and value.
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="300px">
<telerik:RadTextBox ID="RadTextBox1" runat="server"></telerik:RadTextBox>
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /><br />
</telerik:RadAjaxPanel>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="Button1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
Codebehind:
protected void Button1_Click(object sender, EventArgs e) {
Button1.Text = RadTextBox1.Text;
}
The first time the button is clicked, the text from the RadTextBox is set as the button's caption. Any subsequent edit of the box and click on the button will not update the button caption - the value returned from the RadTextBox1.Text stays the same as the first click. What am I doing wrong?
Regards,
Arild