![]() ![]() Gets a value that indicates whether the server control's child controls have been created. Gets or sets the border width of the Web server control. Gets or sets the border style of the Web server control. Gets or sets the border color of the Web control. Gets the control that contains this control's data binding. Gets or sets the background color of the Web server control. Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. Gets the browser-specific adapter for the control. Gets or sets the access key that allows you to quickly navigate to the Web server control. Initializes a new instance of the ScriptControl class in a derived class. ![]() You can add as many descriptors and types as necessary to any class that you derive from ScriptControl. This enables a ScriptControl to work inside a closed WebPart control. The Render method makes sure that ScriptDescriptor objects are not rendered unless the ScriptControl itself is rendered. This includes registering ScriptDescriptor objects for the ScriptControl when the Render method is called. The ScriptControl base class also makes sure that the derived control calls methods of the ScriptManager control to register script during the Render event. The ScriptControl base class tests the page for a ScriptManager control during the PreRender stage of the derived control. Instead, you derive a class based on this abstract class. The ScriptControl is an abstract class, which you cannot instantiate directly. The WebControl class is a base class for ASP.NET Web server controls. ScriptControl inherits from the WebControl class and implements the IScriptControl interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |