public void Run(WebForm webForm, JQElement hostElement) { CreateApplication(hostElement); //Create containers webForm.InternalJQElement.AddClass("webform"); //Set class to allow user to style the form itself webForm.ContainerElement = _formHost.DomElement; //Set container to new element }
public void Run(WebForm webForm, string hostElementId) { Run(webForm, new JQElement(Document.GetElementById(hostElementId))); }