編輯

共用方式為


RadioButtonList.RenderWhenDataEmpty Property

Definition

Gets or sets a value that indicates whether the control is rendered if the data source has no data or if the control is not data-bound.

public:
 virtual property bool RenderWhenDataEmpty { bool get(); void set(bool value); };
[System.Web.UI.Themeable(true)]
public virtual bool RenderWhenDataEmpty { get; set; }
[<System.Web.UI.Themeable(true)>]
member this.RenderWhenDataEmpty : bool with get, set
Public Overridable Property RenderWhenDataEmpty As Boolean

Property Value

true if the control is rendered if the data source has no data or if the control is not data-bound; otherwise, false.

Attributes

Applies to