combit List & Label 24 - .NET Online Web Help
ListLabelMvcWebDesigner Method
Example 


combit.ListLabel24.Web.WebDesigner.Server Namespace > WebDesignerServer Class : ListLabelMvcWebDesigner Method
Instance of the HtmlHelper rendering the page. Within Razor views, this is usually "this.Html".
Contains all WebDesignerOptions which was set.
Renders a bootstrapper that will launch the Web Designer application with the specified List & Label project.
Syntax
'Declaration
 
Public Shared Function ListLabelMvcWebDesigner( _
   ByVal html As HtmlHelper, _
   ByVal designerOptions As WebDesignerOptions _
) As MvcHtmlString
public static MvcHtmlString ListLabelMvcWebDesigner( 
   HtmlHelper html,
   WebDesignerOptions designerOptions
)
public:
static MvcHtmlString^ ListLabelMvcWebDesigner( 
   HtmlHelper^ html,
   WebDesignerOptions^ designerOptions
) 

Parameters

html
Instance of the HtmlHelper rendering the page. Within Razor views, this is usually "this.Html".
designerOptions
Contains all WebDesignerOptions which was set.
Remarks

Limitations in the Web Designer
General limitations in the Web Designer as compared to the normal Designer:


There are also additional restrictions in the Web Designer if the repository mode (see also combit.ListLabel24.Repository) is not used:

Example
@{
    Layout = null;
    WebDesignerOptions options = new WebDesignerOptions()
    {
        DataSource = Model.DataSource,
        ProjectType = Model.ProjectType,
        ProjectFile = Model.ProjectFile,
        TempDirectory = Server.MapPath("~/designer_temp")
    };
}
 
<div>
    @combit.ListLabel24.Web.WebDesigner.Server.WebDesignerServer.ListLabelMvcWebDesigner(Html, options)
</div>
@Code
    Layout = Nothing
    Dim options = New WebDesignerOptions With { _
	    .DataSource = Model.DataSource, _
	    .ProjectType = Model.ProjectType, _
	    .ProjectFile = Model.ProjectFile, _
	    .TempDirectory = Server.MapPath("~/designer_temp") _
    }
End Code
<div>
	@combit.ListLabel24.Web.WebDesigner.Server.WebDesignerServer.ListLabelMvcWebDesigner(Html, options)
</div>>
Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

WebDesignerServer Class
WebDesignerServer Members