2012-10-01 03:57:57 +05:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Web;
|
2013-02-05 05:43:38 +06:00
|
|
|
|
using umbraco.cms.presentation.Trees;
|
2012-10-01 03:57:57 +05:00
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.UI.Umbraco
|
|
|
|
|
|
{
|
2013-02-05 05:43:38 +06:00
|
|
|
|
[Obsolete("Used the TreeControl control instead. This does however get used by the TreeService when requesting the tree init url.")]
|
|
|
|
|
|
public partial class TreeInit : Pages.UmbracoEnsuredPage
|
2012-10-01 03:57:57 +05:00
|
|
|
|
{
|
2013-02-05 05:43:38 +06:00
|
|
|
|
protected override void OnLoad(EventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
base.OnLoad(e);
|
|
|
|
|
|
TreeParams = TreeRequestParams.FromQueryStrings().CreateTreeService();
|
|
|
|
|
|
DataBind();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected TreeService TreeParams { get; private set; }
|
2012-10-01 03:57:57 +05:00
|
|
|
|
}
|
|
|
|
|
|
}
|