PagesSection.ClientIDMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the default algorithm that is used to generate a control's identifier.
public:
property System::Web::UI::ClientIDMode ClientIDMode { System::Web::UI::ClientIDMode get(); void set(System::Web::UI::ClientIDMode value); };
[System.Configuration.ConfigurationProperty("clientIDMode", DefaultValue=System.Web.UI.ClientIDMode.Predictable)]
public System.Web.UI.ClientIDMode ClientIDMode { get; set; }
[<System.Configuration.ConfigurationProperty("clientIDMode", DefaultValue=System.Web.UI.ClientIDMode.Predictable)>]
member this.ClientIDMode : System.Web.UI.ClientIDMode with get, set
Public Property ClientIDMode As ClientIDMode
Property Value
A value that indicates how the value in the ClientID property is generated. The default value is Predictable.
- Attributes
Remarks
You use the ClientIDMode property to set the default value for a whole Web site. You can override this value for an individual Web page or for individual controls.