Through very much trial and error I have discovered a repeatable issue/bug with the RadTreeView inside of a RadWindow. This issue occurs in IE9 and the latest Chrome, I have not tried FireFox yet.
Version of Telerik.Web.UI is 2012.2.607.35
When placing a RadTreeView inside of a RadWindow's ContentTemplate, if any of the RadTreeNodes text property contains the character sequence "trial" the contents of the RadWindow are displayed at the bottom of the page. After clicking the RadWindow's OpenerElement, the contents disappear from the bottom of the page and appear correctly inside the RadWindow.
Simply change any of the nodes text property to something that does not contain the word "trial" everything works properly. I am including simple code blocks below that should reproduce the problem. Note that there is a PopulateNodes() subroutine in the code-behind page; this issue occurs when adding nodes to the RadTreeView programmatically as well.
Please help with this very bizarre bug. I am happy to provide any additional information you need to reproduce this problem.
aspx page:
code-behind:
Version of Telerik.Web.UI is 2012.2.607.35
When placing a RadTreeView inside of a RadWindow's ContentTemplate, if any of the RadTreeNodes text property contains the character sequence "trial" the contents of the RadWindow are displayed at the bottom of the page. After clicking the RadWindow's OpenerElement, the contents disappear from the bottom of the page and appear correctly inside the RadWindow.
Simply change any of the nodes text property to something that does not contain the word "trial" everything works properly. I am including simple code blocks below that should reproduce the problem. Note that there is a PopulateNodes() subroutine in the code-behind page; this issue occurs when adding nodes to the RadTreeView programmatically as well.
Please help with this very bizarre bug. I am happy to provide any additional information you need to reproduce this problem.
aspx page:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="IndustrialBug.aspx.vb" Inherits="IndustrialBug" %><!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"> <telerik:RadScriptManager ID="rsManager" runat="server"></telerik:RadScriptManager> <asp:LinkButton ID="cmdOpen" runat="server">Open Radwin</asp:LinkButton> <telerik:RadWindow ID="rwinSelectStores" runat="server" > <ContentTemplate> <telerik:RadTreeView ID="rtvStores" runat="server"> <Nodes> <telerik:RadTreeNode Text="Top node" Expanded="true"> <Nodes> <telerik:RadTreeNode Text="Under the top node" Expanded="true"> <Nodes> <telerik:RadTreeNode Text="Node contains trial" Expanded="true"></telerik:RadTreeNode> </Nodes> </telerik:RadTreeNode> </Nodes> </telerik:RadTreeNode> </Nodes> </telerik:RadTreeView> </ContentTemplate> </telerik:RadWindow> </form></body></html>code-behind:
Imports Telerik.Web.UIPartial Class IndustrialBug Inherits System.Web.UI.Page Private Sub PopulateNodes() rtvStores.Nodes.Clear() Dim nTop As New RadTreeNode() Dim nSub1 As New RadTreeNode() Dim nBottom As New RadTreeNode() nTop.Text = "Top node here" nTop.Expanded = True nTop.Checked = False rtvStores.Nodes.Add(nTop) nSub1.Text = "Trial" nSub1.Expanded = True nSub1.Checked = False nTop.Nodes.Add(nSub1) nBottom.Text = "Bottom node" nBottom.Expanded = True nBottom.Checked = False nSub1.Nodes.Add(nBottom) End Sub Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load rwinSelectStores.OpenerElementID = cmdOpen.ClientID 'PopulateNodes() End SubEnd Class