FormViewDesigner.GetEmptyDesignTimeHtml Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the markup text that is used to render a placeholder for the associated control at design time.
protected:
override System::String ^ GetEmptyDesignTimeHtml();
protected override string GetEmptyDesignTimeHtml ();
override this.GetEmptyDesignTimeHtml : unit -> string
Protected Overrides Function GetEmptyDesignTimeHtml () As String
Returns
A String containing markup text that renders to a placeholder on the design surface.
Remarks
If the markup for the FormView control does not include one of the item templates, the GetDesignTimeHtml method calls the GetEmptyDesignTimeHtml method, which generates the markup for a placeholder that contains instructions on how to edit template content and a message that an item template is required.