This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Compiles and returns the type of the UserControl object that is specified by the virtual path.
Assembly: System.Web (in System.Web.dll)
Additionally, if the UserControl object that is referenced by the virtual path is marked as a no-compile control, an HttpException exception will be thrown. To force a UserControl to be compiled, set the compilation mode attribute in its @ Control directive to the Always field. To set the compilation mode for pages and controls across an application, set the compilationMode attribute of the pages Element (ASP.NET Settings Schema) in the Web.config file.