Hello guys, i have been having a problem with this and been on the forums all day to no avail. i have a multivew with a tree that is a usercontrol and a RadAjaxManager for link buttons. When i set enable ajax to false, it works so i know its an ajax issue. I am not using any update panels. i keep getting this error when i click my link button:
Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_ContentPlaceHolderMain_ctl00_ContentPlaceHolderMain_ParentTreePanelPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.
Snippet:
^format code block added a bunch of 'br's
i have also tried putting the tree in a panel as suggested on some forum post already
Thanks
Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_ContentPlaceHolderMain_ctl00_ContentPlaceHolderMain_ParentTreePanelPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.
Snippet:
<%@ Page Language="C#" MasterPageFile="~/DEP-tree.master" AutoEventWireup="True"<br>
Inherits="DEPSite.Management.EntityDefinitions" Title="DEP Element Definitions"<br>
CodeBehind="EntityDefinitions.aspx.cs" %><br>
<br><%@ Register Src="~/UserControls/EntityTreeUC.ascx" TagName="EntityTree" TagPrefix="uc2" %>
<br><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<br><br><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderSide1" runat="Server"><br>
<uc2:EntityTree ID="EntitySelectionTree" runat="server" ShowEntityStatus="true" SelectFirstNode="true" />
<br></asp:Content><br><br> <telerik:RadAjaxManager runat="server" ID="AjaxManager" EnableAJAX="true">
<br> <AjaxSettings><br><telerik:AjaxSetting AjaxControlID="ParentLinkButton">
<br> <UpdatedControls>
<br> <telerik:AjaxUpdatedControl ControlID="ParentTree"/>
<br> </UpdatedControls><br> </telerik:AjaxSetting>
<br></AjaxSettings><br>
<br><asp:View ID="ParentView" runat="server">
<br> <uc2:EntityTree ID="ParentTree" runat="server" ShowEntityStatus="true" SelectFirstNode="true" />
<br> </asp:View><br>i have also tried putting the tree in a panel as suggested on some forum post already
Thanks