/// <summary>
        /// Replaces the content of the element.
        /// </summary>
        /// <param name="renderOptions">Defines what to render</param>
        /// <example>
        /// The following example uses nvelocity syntax:
        /// <code>
        /// $page.el('elementid').ReplaceHtml("%{partial='shared/newmessage.vm'}")
        /// </code>
        /// </example>
        public void ReplaceHtml(object renderOptions)
        {
            generator.CodeGenerator.ReplaceTailByPeriod();

            generator.CodeGenerator.Call("update", generator.Render(renderOptions));
        }