다음을 통해 공유


AssetUrlSelector Members

Include Protected Members
Include Inherited Members

Renders an HTML input field and button or generates ECMAScript that opens the Asset Picker dialog box used to select a link or image URL from a site collection.

The AssetUrlSelector type exposes the following members.

Constructors

  Name Description
Public method AssetUrlSelector Initializes a new instance of a AssetUrlSelector object.

Top

Properties

  Name Description
Public property AccessibilityName Gets or sets the string that appears as the Microsoft Active Accessibility (MSAA) name used by Web user interface (UI) accessibility tools.
Public property AccessKey (Inherited from WebControl.)
Protected property Adapter (Inherited from Control.)
Public property AllowExternalUrls A flag that determines whether the AssetUrl() value is validated to ensure that it is in the current site collection.
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property AssetPickerButtonVisible Determines whether the button control used to open the Asset Picker dialog box is rendered.
Public property AssetTextClientID Gets or sets the client identifier (ID) used to find the HTML element for the URL value returned from the Asset Picker dialog box.
Public property AssetUrl Gets or sets the URL that the user has typed or selected and enters it in the Asset URL text box.
Public property AssetUrlClientID Gets or sets the client identifier (ID) used to find the HTML element for the URL value returned from the Asset Picker dialog box.
Public property AssetUrlTextBoxVisible Determines whether the text box for the AssetUrl property is rendered.
Public property Attributes (Inherited from WebControl.)
Public property AutoPostBack Determines whether the page automatically posts information back to the server whenever the Asset Picker dialog box returns a value or when the user presses the ENTER or TAB key in the Asset URL text box.
Public property BackColor (Inherited from WebControl.)
Public property BindingContainer (Inherited from Control.)
Public property BorderColor (Inherited from WebControl.)
Public property BorderStyle (Inherited from WebControl.)
Public property BorderWidth (Inherited from WebControl.)
Public property ButtonType Gets or sets the style for the Asset Picker button.
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientCallback Gets or sets a client ECMAScript (JavaScript, JScript) string that specifies a function to call when the Asset Picker dialog box returns a value.
Public property ClientID (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Protected property Context (Inherited from Control.)
Public property Controls (Inherited from Control.)
Public property ControlStyle (Inherited from WebControl.)
Public property ControlStyleCreated (Inherited from WebControl.)
Public property CssClass (Inherited from WebControl.)
Public property CssTextBox Gets or sets the cascading style sheets (CSS) class for the Asset URL text box.
Public property DecodeUrlPath Determines if the path of the URL value, up to any number sign (#) or question mark (?) character, is URL-decoded before the AssetUrl property returns it.
Public property DefaultOpenLocationUrl Gets or sets the URL to a location in this site collection to add to the top of the Look In section of the Asset Picker dialog box.
Public property DefaultToLastUsedLocation Determines whether the last stored location is used to determine the initial location when the Asset Picker dialog box opens.
Protected property DesignMode (Inherited from Control.)
Public property DisplayLookInSection Determines whether the Look In section is hidden when the Asset Picker dialog box is opened.
Public property Enabled (Inherited from WebControl.)
Public property EnableTheming (Inherited from WebControl.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Public property Font (Inherited from WebControl.)
Public property ForeColor (Inherited from WebControl.)
Public property HasAttributes (Inherited from WebControl.)
Protected property HasChildViewState (Inherited from Control.)
Public property Height (Inherited from WebControl.)
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property IsEnabled (Inherited from WebControl.)
Protected property IsTrackingViewState (Inherited from Control.)
Public property IsUrlRequired Determines if the AssetUrl value is validated to ensure that it is not empty.
Protected property IsViewStateEnabled (Inherited from Control.)
Protected property LoadViewStateByID (Inherited from Control.)
Public property MaxLength Gets or sets the maximum character length for the asset URL text box.
Public property NamingContainer (Inherited from Control.)
Public property OverrideDialogDescription Gets or sets instructional description text displayed in the upper area of the Asset Picker dialog box.
Public property OverrideDialogFeatures Gets or sets the window features string used when the Asset Picker dialog box opens.
Public property OverrideDialogImageUrl Gets or sets the URL to the image that appears at the top of the Asset Picker dialog box.
Public property OverrideDialogTitle Gets or sets the title text of the Asset Picker dialog box.
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property PickerButtonImage Gets and sets the URL for the image when ButtonType is set to ButtonType.Image. Uses a default image when none is specified.
Public property PickerButtonText Gets or sets the text for the button used to open the Asset Picker dialog box.
Public property PickerTextBoxWidth
Public property PrimaryInputControl This member is reserved for internal use and is not intended to be used directly from your code.
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from WebControl.)
Public property Style (Inherited from WebControl.)
Public property TabIndex (Inherited from WebControl.)
Protected property TagKey (Inherited from WebControl.)
Protected property TagName (Inherited from WebControl.)
Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property ToolTip (Inherited from WebControl.)
Public property UniqueID (Inherited from Control.)
Public property UseImageAssetPicker Determines if the Asset Picker dialog box is opened for the purpose of selecting an image URL.
Public property ValidateUrl Determines if the AssetUrl property value is validated to ensure that it is safe and valid.
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible (Inherited from Control.)
Public property Width (Inherited from WebControl.)

Top

Methods

  Name Description
Protected method AddAttributesToRender (Inherited from WebControl.)
Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method ApplyStyle (Inherited from WebControl.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
Protected method BuildProfileTree (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Public method CopyBaseAttributes (Inherited from WebControl.)
Protected method CreateChildControls Creates the child controls. (Overrides Control.CreateChildControls().)
Protected method CreateControlCollection (Inherited from Control.)
Protected method CreateControlStyle (Inherited from WebControl.)
Public method DataBind() (Inherited from Control.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method Dispose (Inherited from Control.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindControl(String) (Inherited from Control.)
Protected method FindControl(String, Int32) (Inherited from Control.)
Public method Focus (Inherited from Control.)
Public method GetClientLaunchPickerReference() Generates a client ECMAScript (JavaScript, JScript) string that opens the Asset Picker dialog box with the configuration specified by the properties of this control.
Public method GetClientLaunchPickerReference(String) Generates a client ECMAScript (JavaScript, JScript) string used to open the Asset Picker dialog box with the configuration specified by the properties of this control.
Protected method GetDesignModeState (Inherited from Control.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadViewState (Inherited from WebControl.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MergeStyle (Inherited from WebControl.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnDataBinding (Inherited from Control.)
Protected method OnInit (Inherited from Control.)
Protected method OnLoad Overrides base onload and adds CssRegistration. (Overrides Control.OnLoad(EventArgs).)
Protected method OnPreRender Initializes the child controls and registers client-side script. (Overrides Control.OnPreRender(EventArgs).)
Protected method OnUnload (Inherited from Control.)
Protected method OpenFile (Inherited from Control.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RemovedControl (Inherited from Control.)
Protected method Render (Inherited from WebControl.)
Public method RenderBeginTag (Inherited from WebControl.)
Protected method RenderChildren (Inherited from Control.)
Protected method RenderContents Renders contents written by the HtmlTextWriter object. (Overrides WebControl.RenderContents(HtmlTextWriter).)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Public method RenderEndTag (Inherited from WebControl.)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from WebControl.)
Protected method SetDesignModeState (Inherited from Control.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from WebControl.)

Top

Events

  Name Description
Public event AssetUrlChanged Event that occurs when the Asset Picker dialog box returns a value and AutoPostBack is set to true.
Public event DataBinding (Inherited from Control.)
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event PreRender (Inherited from Control.)
Public event Unload (Inherited from Control.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IPostBackEventHandler.RaisePostBackEvent Called by ASP.NET when the AssetUrlSelector control raises a postback event on the client.
Explicit interface implemetationPrivate method IParserAccessor.AddParsedSubObject (Inherited from Control.)
Explicit interface implemetationPrivate property IControlBuilderAccessor.ControlBuilder (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.DataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.Expressions (Inherited from Control.)
Explicit interface implemetationPrivate method IAttributeAccessor.GetAttribute (Inherited from WebControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.GetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.HasDataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.HasExpressions (Inherited from Control.)
Explicit interface implemetationPrivate method IAttributeAccessor.SetAttribute (Inherited from WebControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetOwnerControl (Inherited from Control.)
Explicit interface implemetationPrivate property IControlDesignerAccessor.UserData (Inherited from Control.)

Top

See Also

Reference

AssetUrlSelector Class

Microsoft.SharePoint.Publishing.WebControls Namespace