BUG - Repeatable issue with RadTreeview/RadWindow

2 posts, 0 answers
  1. Aaron Gibbs
    Aaron Gibbs avatar
    23 posts
    Member since:
    Dec 2007

    Posted 02 Jan 2013 Link to this post

    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:
    <%@ 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">
     
    <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.UI
     
    Partial 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 Sub
    End Class

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 03 Jan 2013 Link to this post

    Hi,

    I was able to replicate the issue under the telerik version 2012.2.607.35. I tried to replicate the issue in the latest version but no avail. Please try updating to the latest version of telerik controls.

    Hope this helps.

    Regards,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top