Hello community
My RadTreeView works with ServerSideCallbacks. In a demo for myself I add a UserControl as a node to the TreeView - which works fine as long as I do not use Telerik components.
However, as soon as I use telerik components in the UserControl I get an error that " " is not a registered client script control.
How I use it:
Part of the UserControl itself:
I'd definitely appreciate any kind of help!
Thanks in advance
Best
Roman
My RadTreeView works with ServerSideCallbacks. In a demo for myself I add a UserControl as a node to the TreeView - which works fine as long as I do not use Telerik components.
However, as soon as I use telerik components in the UserControl I get an error that " " is not a registered client script control.
How I use it:
protected void UrlTreeView_NodeExpand(object sender, RadTreeNodeEventArgs e) |
{ |
RadTreeNode onDemandNode = new RadTreeNode(); |
SubdomainProperties sp = LoadControl("~/Controls/SubdomainProperties.ascx") as SubdomainProperties; |
onDemandNode.Controls.Add(sp); |
//Configure the node to populate on demand as well |
onDemandNode.ExpandMode = TreeNodeExpandMode.ServerSideCallBack; |
//Add the node as a child of the currently expanded node |
e.Node.Nodes.Add(onDemandNode); |
e.Node.Expanded = true; |
} |
Part of the UserControl itself:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SubdomainProperties.ascx.cs" |
Inherits="XSite.XIS.Web.UI.Controls.SubdomainProperties" %> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<asp:Panel ID="subdomainPropertiesPanel" runat="server" style="padding:10px;"> |
... |
<telerik:RadDateInput runat="server"></telerik:RadDateInput> |
... |
</asp:Panel> |
I'd definitely appreciate any kind of help!
Thanks in advance
Best
Roman