Matthew Webster
Member
Hi guys,
Could someone please help - this is really getting me down...
I have been using the TreeView class in the Microsoft WebControls and now Ive tried to subclass it. I have:
Built and installed the .dll and everything required to get to use the TreeView in my pages.
Created a new Web Project in my solution.
Added a reference to the Microsoft.Web.UI.WebControls.dll in my projects \bin.
Put a
using Microsoft.Web.UI.WebControls;
line in my class.
Put the line
public class TreeRow : Microsoft.Web.UI.WebControls.TreeNode
in my code file TreeRow.cs.
As far as I know this is the correct thing to do. But, I am continuously getting the error:
Referenced class Core.TreeRow has base class or interface Microsoft.Web.UI.WebControls.TreeNode definaed in an assembly that is not referenced. You must add a reference to assembly Microsoft.Web.UI.WebControls.
What is really annoying me is that the References for that project DO have a reference to Microsoft.Web.UI.WebControls.
All I want to do is subclass TreeNode. Please help?
Best regards to all,
Matthew.
Could someone please help - this is really getting me down...
I have been using the TreeView class in the Microsoft WebControls and now Ive tried to subclass it. I have:
Built and installed the .dll and everything required to get to use the TreeView in my pages.
Created a new Web Project in my solution.
Added a reference to the Microsoft.Web.UI.WebControls.dll in my projects \bin.
Put a
using Microsoft.Web.UI.WebControls;
line in my class.
Put the line
public class TreeRow : Microsoft.Web.UI.WebControls.TreeNode
in my code file TreeRow.cs.
As far as I know this is the correct thing to do. But, I am continuously getting the error:
Referenced class Core.TreeRow has base class or interface Microsoft.Web.UI.WebControls.TreeNode definaed in an assembly that is not referenced. You must add a reference to assembly Microsoft.Web.UI.WebControls.
What is really annoying me is that the References for that project DO have a reference to Microsoft.Web.UI.WebControls.
All I want to do is subclass TreeNode. Please help?
Best regards to all,
Matthew.