RadTreeView with nodes doing NavigateUrl

Thread is closed for posting
4 posts, 0 answers
  1. Kevin Perkins
    Kevin Perkins avatar
    2 posts
    Member since:
    Feb 2009

    Posted 30 Mar 2009 Link to this post

    We are building a website that has RadTreeView with nodes that are calling aspx pages via NavigateUrl. Below is the website code and three sample aspx pages. It uses RadTreeView, RadMultiPage, RadSplitters and RadPanelBars.

     

     

     

    To make it simple, I stripped out all of our software to just have aspx pages with just titles.

    I have noticed 2 issues.

    1. If the splitter bar is moved over the text associated with a RadTreeNode, our main pane,  rpContent, does not over-ride the text. This causes the pane to contain both its text and the text associated with the RadTreeNode.

    2. When going from one aspx page to another aspx page, the website flutters and goes blank before showing the new aspx page. I have used an ajaxmanager to keep stop a aspx page from going blank when interfacing between the aspx page and an api.
    Can an ajaxmanager be used for the type of master page we are using so that transitioning between pages will not causing the website to go blank?

    Thanks
    Kevin

     

     

    website code

     

    <%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %> 
     
    <%@ 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>Policy Administration Support Site (PASS)</title> 
        <link rel="stylesheet" href="styles/cof.css" type="text/css" /> 
        <asp:ContentPlaceHolder ID="head" runat="server">  
        </asp:ContentPlaceHolder> 
    </head> 
    <body scroll="no" id="cfbody">  
     
        <script type="text/javascript" src="scripts/cof.js"></script> 
     
        <form runat="server" style="height: 100%;">  
        <telerik:RadScriptManager ID="ScriptManager" runat="server" /> 
        <telerik:RadSplitter ID="spltWrapper" runat="server" Skin="Office2007" Orientation="Horizontal" 
            Width="100%" Height="100%" VisibleDuringInit="false">  
            <telerik:RadPane runat="server" ID="pnTop" Height="31px">  
                <asp:Panel ID="pnlTop" runat="server" CssClass="pnlTop">  
                </asp:Panel> 
            </telerik:RadPane> 
            <telerik:RadPane runat="server" ID="pnBottom" Height="100%" Width="100%" Scrolling="None">  
                <telerik:RadSplitter ID="spltMain" runat="server" Skin="Outlook" Orientation="Vertical" 
                    Width="100%" Height="100%">  
                    <telerik:RadPane ID="Pane1" runat="server" Width="200px" Scrolling="None">  
                        <div id="pageWrapper">  
                            <telerik:RadMultiPage ID="rmpNav" runat="server" SelectedIndex="0" Width="100%" BackColor="White">  
                                <telerik:RadPageView ID="rpvPolicy" runat="server">  
                                    <div class="pnlHeader">  
                                        Policy Owner Services</div> 
                                    <telerik:RadTreeView ID="rtvPolicy" runat="server" Skin="Office2007">  
                                        <Nodes> 
                                            <telerik:RadTreeNode Text="Beneficiary Maintenance" Expanded="true" runat="server">  
                                                <Nodes> 
                                                    <telerik:RadTreeNode Text="Maintain Benes" NavigateUrl="AddBeneficiaries.aspx" ImageUrl="Img/notes.gif" 
                                                        runat="server" /> 
                                                    <telerik:RadTreeNode Text="Maintain Bene Classes" NavigateUrl="BeneClasses.aspx" 
                                                        ImageUrl="Img/notes.gif" runat="server" /> 
                                                    <telerik:RadTreeNode Text="Maintain Bene Relationships" NavigateUrl="BeneRelationships.aspx" 
                                                        ImageUrl="Img/notes.gif" runat="server" /> 
                                                </Nodes> 
                                            </telerik:RadTreeNode> 
                                        </Nodes> 
                                    </telerik:RadTreeView> 
                                </telerik:RadPageView> 
                            </telerik:RadMultiPage> 
                            <telerik:RadPanelBar ID="rpbNav" runat="server" ExpandMode="SingleExpandedItem" OnClientItemClicking="OnClientItemClicking" 
                                Skin="Office2007" Width="100%" CssClass="pnlBarStyle">  
                                <Items> 
                                    <telerik:RadPanelItem Text="Policy Owner Services" Expanded="True" ImageUrl="Img/notes.gif">  
                                    </telerik:RadPanelItem> 
                                </Items> 
                            </telerik:RadPanelBar> 
                        </div> 
                    </telerik:RadPane> 
                    <telerik:RadSplitBar ID="spBarMain" runat="server" CollapseMode="Forward" /> 
                    <telerik:RadPane ID="rpContent" runat="server" Width="100%">  
                        <asp:Panel runat="server" ID="pnlContent">  
                            <asp:ContentPlaceHolder ID="ContentBody" runat="server" /> 
                        </asp:Panel> 
                    </telerik:RadPane> 
                </telerik:RadSplitter> 
            </telerik:RadPane> 
        </telerik:RadSplitter> 
        </form> 
    </body> 
    </html> 
     

     aspx pages

    1 <%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="AddBeneficiaries.aspx.vb" Inherits="AddBeneficiaries" %> 
    2  
    3 <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
    4 <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> 
    5    
    6 <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">  
    7 </asp:Content> 
    8 <asp:Content ID="Content2" ContentPlaceHolderID="ContentBody" Runat="Server">  
    9     <asp:Label ID="Label1" runat="server" Text="Maint. Benes" Font-Bold="True" 
    10         Font-Size="Large"></asp:Label> 
    11     <br /> 
    12     <br /> 
    13     <br />          
    14 </asp:Content> 
    15  
    16  
    17 <%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="BeneClasses.aspx.vb" Inherits="BeneClasses" %> 
    18  
    19 <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">  
    20 </asp:Content> 
    21 <asp:Content ID="Content2" ContentPlaceHolderID="ContentBody" Runat="Server">  
    22     <asp:Label ID="Label1" runat="server" Text="Maintain Bene Classes" Font-Bold="True"   
    23         Font-Size="Large" ></asp:Label> 
    24 </asp:Content> 
    25  
    26  
    27 <%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="BeneRelationships.aspx.vb" Inherits="BeneRelationships" %> 
    28  
    29 <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">  
    30 </asp:Content> 
    31 <asp:Content ID="Content2" ContentPlaceHolderID="ContentBody" Runat="Server">  
    32     <asp:Label ID="Label1" runat="server" Text="Maintain Bene Relationships" Font-Bold="True" 
    33         Font-Size="Large"></asp:Label> 
    34 </asp:Content> 
    35  
    36  

    aspx.vb

    1  
    2 Imports System.Data  
    3 Imports System.Data.SqlClient  
    4 Imports Telerik.Web.UI  
    5 Partial Class AddBeneficiaries  
    6     Inherits System.Web.UI.Page  
    7  
    10     Protected Shadows Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load  
    13     End Sub  
    14    
    15  
    16 End Class  
    17  
    18  
    19 Imports System.Data  
    20 Imports Telerik.Web.UI  
    21 Partial Class BeneClasses  
    22     Inherits System.Web.UI.Page  
    23  
    24     Protected Shadows Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load  
    25     End Sub  
    26  
    27 End Class  
    28  
    29  
    30 Imports System.Data  
    31 Imports Telerik.Web.UI  
    32 Partial Class BeneRelationships  
    33     Inherits System.Web.UI.Page  
    34  
    35     Protected Shadows Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load  
    36     End Sub  
    37  
    38 End Class  
    39  

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 02 Apr 2009 Link to this post

    Hello Kevin,

    I guess that the first issue is solved in the support ticket, right?

    I am not able to reproduce the second issue with the page transitions. Could you please send us a live url where we can observe it? Thank you

    All the best,
    Yana
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kevin Perkins
    Kevin Perkins avatar
    2 posts
    Member since:
    Feb 2009

    Posted 02 Apr 2009 Link to this post

    Yana

    Yes the first item was fixed by Support ID:201877 -- RadSplitter not overriding RadPanelBar text or text contain in RadPanelItem. The second item I reply to RE: Support ID:201893 -- RadTreeView performance when navigating to URL. Basically what I am having problems with is being able to generate a loading panel whenever we go to an aspx page.

    Because of the RadSplitter, RadPanes, RadMultiPage, RadTreeView, RadSplitBar, and others, I am having a difficult time setting up the proper AjaxSetting of a RadAjaxManager for showing a loading panel.

    Since our urls are internal, there is no live url possible. But the problem is setting up the RadAjaxManager.

    Thanks
    Kevin
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 06 Apr 2009 Link to this post

    Hello Kevin,

    It seems that issue is fixed in the other support ticket. Is this the case?

    Kind regards,
    Yana
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top