This question is locked. New answers and comments are not allowed.
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"> </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.
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"> </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.