I am using Telerik’s RadTreeView control to navigate through data, and as a node in the treeview is clicked the “Detail” panel on the page is supposed to update using AJAX with information about the clicked node. Part of that information is a dynamically added GoView control (either an org chart or a flow chart, depending on the type of the object described in the treeview node).
My problem is this: If I place the user control that creates the GoView into an asp:UpdatePanel and list the RadTreeView as a Trigger, then I get an “Object Expected” error in the Microsoft JScript editor when the page is displayed.
the error highlighting, in the debugger, is at these lines:
Here is the UpdatePanel code:
<asp:UpdatePanel ID=“UpdatePanel1” runat=“server” UpdateMode=“Conditional” >
<elmnt:element ID=“elmnt” targetURL=“explore.aspx” runat=“server” />
<asp:AsyncPostBackTrigger ControlID=“RadTreeView1” EventName=“NodeClick” />
If I remove the section, then everything loads without a problem. If I put the section back in and remove the GoView control from the page, everything loads just fine as well.
I have posted this problem in the Telerik forums as well because I am not sure what the cause of the problem is…it probably isn’t with either control individually, but the the way I am trying to combine their use.
Does anyone have any ideas as to how I can identify the cause of this?
Thanks for any advice you can give.