Problem:
I just upgraded from an older 2008 version to the latest Q2 2009 only to discover that the RadSpltter is no longer sizing to the full screen height. This has broken all my current solutions implemented using the splitter to control page layout. I upgraded because the older 2008 version was broken for IE8 forcing me to uninstall IE8 and reinstall IE7...this is blocking my deployment of a new solution so any help would be appreciated.
System:
Windows XP Professional with SP3
Internet Explorer 7 with all patches and updates.
Visual Studio 2008 with SP1 and the 3.5 SP1 .NET Framework
SQL Server 2008 with latest SP and all patches
Telerik RadControls for ASP.NET AJAX Q2 2009 NET35
Repro Steps:
Expected:
The RadSplitter to automatically resize to the browser such that the full page appears red.
Actual:
The RadSplitter resizes to the browser width but the height remains fixed at about 400 pixels. Manually setting the width and height to '100%' has no effect.
I have a problem with a RadTreeView when I use dir="rtl". I 'd like to attach a very simple project to show you what is a problem but I don't see here this option. (Also I don' see how change colors in this editor). So I'll try to describe a problem.
I have the following page:
<%
@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%
@ Register Assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
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 runat="server">
<title></title>
</
head>
<
body>
<form id="form1" runat="server" method="post">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div>
<telerik:RadTreeView ID="RadTreeView1" runat="server" dir="rtl"
DataSourceID="XmlDataSource1">
<DataBindings>
<telerik:RadTreeNodeBinding DataMember="MenuItem" TextField="Text"
ValueField="Node_Id" />
</DataBindings>
</telerik:RadTreeView>
<asp:XmlDataSource runat="server" ID="XmlDataSource1" DataFile="tree.xml" />
</div>
</form>
</
body>
</
html>
-------------------------------------------End of the page default.aspx------------------------------------
where file tree.xml is:
-------------------------------------file tree.xml---------------------------------------
<
root>
<
MenuItem Node_Id="1" Text="Level 1">
<
MenuItem Node_Id="2" Text="Level 2" >
</
MenuItem>
</
MenuItem>
</
root>
-------------------------------------end of file tree.xml---------------------------------------
When I run the page I look firstly collapsed tree in the right side of the screen. But when mouse is found over "plus" of the tree this plus disappears so I can' t open the tree. If I cancel option dir="rtl" then I see the tree in the left side of he screen and I can open it and see sublevels.
Is this a bug or I missed something? Thank you
Evgeny
There have been several posts related to this issue for earlier versions of IE but I am using IE8 and still getting this problem. I have an Editor on an aspx page. This page is opened in a new window when requested via javascript on the opening page. After the form has loaded several times successfully the next load will not finish (locks up) and not only is this new window locked up, but the browser that opened the new window is hung and must be closed. This is a very simple page. I have debug="false" in the web.config.
Here is my code behind:
Imports System.Web.HttpResponse
Imports
System.Web.HttpRequest
Imports
System.Web.HttpApplicationState
Imports
System.IO
Imports
System.Xml
Imports
System.Data
Imports
System.Data.OleDb
Imports
code
Imports
System.Diagnostics
Imports
System.Web
Partial
Class HTMLEditor
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim OpeningForm As String = "" & Request.QueryString("form")
Dim Script As String = ""
Script =
"function CloseWindow(){ " & vbCrLf
Script +=
"window.close(); " & vbCrLf
Script +=
"return true; " & vbCrLf
Script +=
"} " & vbCrLf
Script +=
"function UpdateOpener(){ " & vbCrLf
Script +=
"var strValue = $find(""" & "RadEditor1" & """).get_html();" & vbCrLf
Script +=
"window.opener.document." & OpeningForm.ToString.Trim & ".Data.value = strValue;" & vbCrLf
Script +=
"window.close(); " & vbCrLf
Script +=
"return true; " & vbCrLf
Script +=
"} " & vbCrLf
Script +=
"function GetOpenerContent(){ " & vbCrLf
Script +=
" var strValue = window.opener.document." & OpeningForm.ToString.Trim & ".Data.value; " & vbCrLf
Script +=
" $find(""" & "RadEditor1" & """).set_html(strValue); " & vbCrLf
Script +=
" return true; " & vbCrLf
Script +=
"} " & vbCrLf
If ClientScript.IsClientScriptBlockRegistered(Page.GetType(), "MyScriptTransfer") = False Then
ClientScript.RegisterClientScriptBlock(Page.GetType(),
"MyScriptTransfer", Script.ToString, True)
End If
Button4.Attributes.Add(
"onclick", "UpdateOpener();")
Button5.Attributes.Add(
"onclick", "CloseWindow();")
End Sub
Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
'RadEditor1.Content = ""
End Sub
Protected Sub Button5_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button5.Click
End Sub
Protected Sub Button4_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button4.Click
End Sub
End
Class
Here is my html:
<%
@ Page Language="VB" AutoEventWireup="false" CodeFile="HTMLEditor.aspx.vb" Inherits="HTMLEditor" Debug="false" %>
<%
@ 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 runat="server">
<title>Preference HTML Editor</title>
</
head>
<
body runat="server" id="bodytag">
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" ScriptMode="Release">
</telerik:RadScriptManager>
<div>
<asp:Table ID="Table1" runat="server" Width="600">
<asp:TableRow Width="600">
<asp:TableCell Width="600" HorizontalAlign="Center" >
<telerik:RadEditor ID="RadEditor1" Runat="server" OnClientLoad="GetOpenerContent" width="600" >
<Content>
</Content>
</telerik:RadEditor>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow Width="600">
<asp:TableCell Width="600" HorizontalAlign="Center" >
<asp:Button ID="Button4" onclick="Button4_Click" runat="server" Text="Save" />
<asp:Button id="Button5" onclick="Button5_Click" runat="server" text="Cancel" ></asp:Button>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
<asp:TextBox ID="TextBox1" runat="server" visible="false"></asp:TextBox>
</div>
</form>
</
body>
</
html>

| <httpHandlers> |
| <remove path="*.asmx" verb="*" /> |
| <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> |
| <add path="*.xml" verb="*" type="System.Web.HttpForbiddenHandler" /> |
| <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" /> |
| <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" /> |
| <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /> |
| <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> |
| <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /> |
| <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> |
| </httpHandlers> |
| <httpModules> |
| <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" /> |
| <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> |
| </httpModules> |
| <system.webServer> |
| <validation validateIntegratedModeConfiguration="false" /> |
| <modules> |
| <remove name="ScriptModule" /> |
| <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" /> |
| <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> |
| </modules> |
| <handlers> |
| <remove name="WebServiceHandlerFactory-Integrated" /> |
| <remove name="ScriptHandlerFactory" /> |
| <remove name="ScriptHandlerFactoryAppServices" /> |
| <remove name="ScriptResource" /> |
| <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> |
| <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> |
| <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> |
| <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> |
| <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> |
| <add name="ChartImage_axd" verb="*" preCondition="integratedMode" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" /> |
| <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /> |
| </handlers> |
| </system.webServer> |
| RadDock radDock = new RadDock(); |
| radDock.DockMode = DockMode.Docked; |
| radDock.OnClientInitialize = "SetHandleDock"; |
| radDock.DockHandle = DockHandle.None; |
| radDock.Title = lzContent.Title ; |
| radDock.UniqueName = Guid.NewGuid().ToString(); |
| radDock.Width = Unit.Pixel(100); |
| radDock.ID = lzContent.LayoutZoneContentId.ToString(); |
| //if banner |
| if (lzContent.LayoutZoneContentType.LayoutZoneContentTypeId == 1) |
| { |
| System.Web.UI.WebControls.Image img = new System.Web.UI.WebControls.Image(); |
| img.ID = "radDock" + lzContent.LayoutZoneContentId; |
| radDock.ContentContainer.Controls.Add(img); |
| } |
RadGrid.DataSource = <list>;
RadGrid.DataBind();