Shunde.NET Framework Class Library

WebUtils.RenderControlToString Method 

Renders a control to a string. Useful for things such as using a control to create HTML for an email

public static string RenderControlToString(
   Control control
);

Parameters

Control

Return Value

The HTML as a string of the control

See Also

WebUtils Class | Shunde.Utilities Namespace