Exemple #1
0
        private void Page_Load(object sender, System.EventArgs e)
        {
            this.EnableViewState = false;
            Node    n = (Node)Context.Items["currentNode"];
            Control c = TemplateLoader.GetTemplate(n);

            controlHolder.Controls.Add(c);
            Response.Expires = 0;
        }