This is a migrated thread and some comments may be shown as answers.

[Solved] TreeView and Grid in one Page

0 Answers 98 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Beethoven124
Top achievements
Rank 1
Beethoven124 asked on 31 May 2010, 09:39 AM
Hi,

in my Site.Master there is this code.

<div id="wrapper">
   <div id="nav">
      <% Html.RenderPartial("UserControls/TreeNav"); %>
   </div>
   <div id="main">
      <asp:ContentPlaceHolder ID="MainContent" runat="server" />
   </div>
   <div id="footer">&nbsp;</div>
</div>...

In my UserControls/TreeView.ascx is the Telerik().TreeView().Name("TreeView") Control.
When is start the application the TreeView control is on the main page and it works fine without other controls. But when I load a view in the MainContent (in my example on the View there is a Grid), i can´t collapse/expand my TreeView. I can´t find the error. What´s going wrong? My Grid is still working with the TreeView but the TreeView is only working without the Grid. And i got no errors.

The Source in the Dinners/Index.aspx View:

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Index</h2>
    <% Html.RenderPartial("UserControls/StyleList"); %>
    <% Html.RenderPartial("UserControls/Grid"); %>
</asp:Content>

Hope you can help me.
Thx Beethoven

I Have solved the problem. I downloaded the jQuery validation plugin 1.7.
Tags
TreeView
Asked by
Beethoven124
Top achievements
Rank 1
Share this question
or