This documentation is archived and is not being maintained.

GridView::ClientIDRowSuffix Property

Gets or sets the names of the data fields whose values are appended to the ClientID property value to uniquely identify each instance of a data-bound control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

virtual property array<String^>^ ClientIDRowSuffix {
	array<String^>^ get ();
	void set (array<String^>^ value);
<asp:GridView ClientIDRowSuffix="value" />

Property Value

Type: array<System::String>
The names of the data fields whose values are used to uniquely identify each instance of a data-bound control when ASP.NET generates the ClientID value.



To prevent naming conflicts when multiple instances of a control are rendered in multiple rows of a GridView control, ASP.NET generates a unique ClientID value for each instance. You specify how the ClientID value is generated by setting the ClientIDMode property. If you set the ClientIDMode property to Predictable, ASP.NET will generate the ClientID by appending a suffix that is derived from the data field or fields that are specified in ClientIDRowSuffix. If ClientIDRowSuffix is not set, the suffix is a sequential number.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.