Hi,
In my main website I am getting an odd issue with the RadEditor. The background panel does not stretch all the way down the height of it. This is visible in the attached image. The top part of the image shows a test website that I made and it works. The bottom part of the image shows the problem (1a & 1b in the image). Any ideas what could be causing this odd issue?
Also what is the thing shown in position 2.
My code for the editor is shown below.
Regards,
Jon
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="NJC.Amonet.Web.WebForm1" %> <!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 runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <telerik:RadScriptManager ID="uxRadScriptManager" runat="server"></telerik:RadScriptManager> <telerik:RadStyleSheetManager ID="uxRadStyleSheetManager" Runat="server"></telerik:RadStyleSheetManager> <telerik:RadEditor ID="RadEditor1" Runat="server" width="400px" height="100px"></telerik:RadEditor> </div> </form> </body> </html> 
I load a pop-up window fromone of my pages and based on certain action in the pop-up I need to close the pop-up and refresh data on the parent page.
I used the functionality as shown in the demo - http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window
I was able to send back arguments to the parent page and the ajaxrequest is initiated. But as soon the page is posted back my pop-up window shows up again. If I comment the code to initiate the ajaxrequest everything looks ok.
Below is the code I am using:
On Parent Page: function OnClientClose(args) { var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>"); var arg = args.argument if (arg) { ajaxManager.ajaxRequest("Refresh"); } else { } } Window declaration on parent page: <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Behavior="None" ShowContentDuringLoad="false" Width="900px"> <Windows> <telerik:RadWindow ID="RadWindowSelectPolicyRole" runat="server" DestroyOnClose="false" Title="Activity" OnClientClose="OnClientClose" Behavior="None" ReloadOnShow="true" ShowContentDuringLoad="false" Width="975px" Height="545px" Modal="true" /> </Windows> </telerik:RadWindowManager> code-behind: Protected Sub manager_AjaxRequest(ByVal sender As Object, ByVal e As AjaxRequestEventArgs) If e.Argument = "Refresh" Then PopulateAdditionalContacts() End If End Sub on my dialog page I close the window like this: function CloseWindowOnSuccess() { var oWnd = GetRadWindow(); if (oWnd != null) { oWnd.argument = "Refresh"; oWnd.close(); } } RadNumericTextBox txtCostBasis = dataItem.FindControl("txtCostBasis") as RadNumericTextBox; txtCostBasis.Type = NumericType.Currency; txtCostBasis.NumberFormat.DecimalDigits = 2; txtCostBasis.NumberFormat.DecimalSeparator = "."; txtCostBasis.NumberFormat.GroupSeparator = ","; txtCostBasis.NumberFormat.GroupSizes = 3; txtCostBasis.NumberFormat.NegativePattern = "$ -n"; txtCostBasis.NumberFormat.PositivePattern = "$ n"; txtCostBasis.Culture = new CultureInfo("en-US");Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; .NET4.0C; .NET4.0E)
Timestamp: Wed, 22 Dec 2010 14:14:10 UTC
<
asp:TextBox ID="DateTextBox" runat="server" Width="80" autocomplete="off" /><br /><br />
<asp:Panel ID="Panel1" runat="server" CssClass="popupControl">
<table style="width:310px;">
<tr>
<td style="white-space:nowrap;width:200px;vertical-align:top;">
Header Colour:
</td>
<td>
<telerik:RadColorPicker runat="server" ID="RadColorHeader" PaletteModes="All"
SelectedColor="98, 108, 137">
</telerik:RadColorPicker>
</td>
</tr>
</table>
</asp:Panel>
<ajaxToolkit:PopupControlExtender ID="PopupControlExtender1" runat="server"
TargetControlID="DateTextBox"
PopupControlID="Panel1"
Position="Right" />
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestForm.aspx.cs" Inherits="TestForm" %><!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 runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div> <asp:ScriptManager runat="server" ID="sm" /> <telerik:RadAjaxManager runat="server" ID="ram"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="chkBox"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="pnlAjaxHandle" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <asp:CheckBox runat="server" ID="chkBox" Text="Show" AutoPostBack="true" /> <asp:Panel runat="server" ID="pnlAjaxHandle"> <telerik:RadAsyncUpload runat="server" ID="upload" /> </asp:Panel> <asp:Button runat="server" ID="button" Text="Submit" /> </div> </form></body></html>public partial class TestForm : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { upload.Visible = chkBox.Checked; }}