I try to use the RadTreeview as a property in the class like this
}
But I get the error
Error 1 The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. D:\Projects\Henry's Work area\NIAMS.GlobalNav\NIAMS.GlobalNavAndFooterAdmnSettings\NIAMSGlobalNavFootersetng.cs 21 28 NIAMS.GlobalNavAndFooterAdmnSettings
When I use RadTreeview as variable it works lik this
public class ClassName: WebAdminPageBase
{
public RadTreeView trvGlobalNavFooter { get; set; }
...
}
But I get the error
Error 1 The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. D:\Projects\Henry's Work area\NIAMS.GlobalNav\NIAMS.GlobalNavAndFooterAdmnSettings\NIAMSGlobalNavFootersetng.cs 21 28 NIAMS.GlobalNavAndFooterAdmnSettings
When I use RadTreeview as variable it works lik this
protected override void OnLoad(EventArgs e)
{
RadTreeView trvGlobalNavFooter = new RadTreeView();
...
}
The problem is that I need to use RadTreeview as a property. How Can I fix this problem??
Thx
HANK