protected void sandbox_invoke_remove_multiple_onclick(p5.Container container, EventArgs e)
        {
            var literals = new List <p5.Literal> (container.ControlsOfType <p5.Literal> ());

            container.RemoveControlPersistent(literals [0]);
            container.RemoveControlPersistent(literals [1]);
        }
 protected void item_onclick(p5.Literal sender, EventArgs e)
 {
     if (sender.innerValue == "Are you sure?")
     {
         List.RemoveControlPersistent(sender);
         CurrentEdit  = null;
         Txt["value"] = "";
     }
     else
     {
         Txt["value"]      = sender.innerValue;
         CurrentEdit       = sender.ID;
         sender.innerValue = "Are you sure?";
     }
 }
        protected void sandbox_invoke_append_remove_onclick(p5.Container container, EventArgs e)
        {
            var literals = new List <p5.Literal> (container.ControlsOfType <p5.Literal> ());

            container.RemoveControlPersistent(literals [0]);
            var literal = container.CreatePersistentControl <p5.Literal> (null, 0);

            literal.Element    = "strong";
            literal.innerValue = "howdy world";
        }