WebUtils.RenderUserControl

Renders a user control into a string into a string.

public static string RenderUserControl(string userControlVirtualPath,
	bool includePostbackControls,
	object data)

Parameters

userControlVirtualPath

includePostbackControls
If false renders using RenderControl, otherwise uses Server.Execute() constructing a new form.

data
Optional Data parameter that can be passed to the User Control IF the user control has a Data property.

Overloads:


See also:

Class WebUtils

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic