Export (0) Print
Expand All

Add or Edit Custom Control Dialog Box and Add or Edit User Control Dialog Box

Applies To: Windows Server 2008 R2

Use the Add Custom Control and Edit Custom Control dialog boxes to specify or edit the tag prefix/namespace mapping for a custom control that will be used in multiple pages in an application. Use the Add User Control and Edit User Control dialog boxes to configure user controls, which are containers into which you can put markup and Web server controls.

For more information about user and custom controls, see ASP.NET User Controls Overview.

UI Element List

 

Element Name Description

Tag prefix

Sets the tag prefix assigned to the control, for example, <aspSample: …>

Namespace

Defines the namespace to which the custom control belongs. This is the same namespace that was specified in the application code.

This box is available only for custom controls.

Assembly

Sets the assembly name in which the custom control type is defined.

This box is available only for custom controls.

Tag Name

Specifies the tag name of the user control.

This box is available only for user controls.

User Control (.ascx) Path

Specifies the file path of the user control.

This box is available only for user controls.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft