Hello all,
I'm developing custom module and trying to use DNNTreeView which uses Telerik RadTreeView. I'm using DNN wrapper and not the Telerik control, but I cannot find the all wrapped objects. Part of ASCX control:
<%@ Register TagPrefix="dnnweb" Namespace="DotNetNuke.Web.UI.WebControls" Assembly="DotNetNuke.Web" %>
<asp:UpdatePanel ID="uptest" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<dnnweb:DnnTreeView ID="AdvancedTreeView" runat="server" OnNodeExpand="menutreeView_NodeExpand" OnNodeCollapse="menutreeView_NodeCollapse" EnableViewState="true" />
</ContentTemplate>
</asp:UpdatePanel>
We use wrappers:
RadTreeView -> DnnTreeView
RadTreeNode -> DnnTreeNode
In code behind there is no wrapper for Telerik.Web.UI.RadTreeNodeEventArgs.
Example:
protected void menutreeView_NodeExpand(object o, Telerik.Web.UI.RadTreeNodeEventArgs e)
{
DnnTreeNode nodeClicked = (DnnTreeNode)e.Node;
nodeClicked.Nodes.Clear();
}
Is there a Telerik.Web.UI.RadTreeNodeEventArgs or Telerik.Web.UI.TreeNodeExpandMode wrapper?