Share via


ManageLinksControl.GenerateHtmlForItemIcon Method

Generates the HTML for the edit link icon and check box for the specified DataRow in the search result set.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Overrides Function GenerateHtmlForItemIcon ( _
    oneDataRow As DataRow, _
    iIndexOfItemInDataSet As Integer, _
    iIndexOfItemInGroup As Integer, _
    strElemIDPrefix As String _
) As String
'Usage
Dim oneDataRow As DataRow
Dim iIndexOfItemInDataSet As Integer
Dim iIndexOfItemInGroup As Integer
Dim strElemIDPrefix As String
Dim returnValue As String

returnValue = Me.GenerateHtmlForItemIcon(oneDataRow, _
    iIndexOfItemInDataSet, iIndexOfItemInGroup, _
    strElemIDPrefix)
protected override string GenerateHtmlForItemIcon(
    DataRow oneDataRow,
    int iIndexOfItemInDataSet,
    int iIndexOfItemInGroup,
    string strElemIDPrefix
)

Parameters

  • iIndexOfItemInGroup
    Type: System.Int32

    The index of a link item in a group when grouping is enabled. This index is used to expand and collapse groups of results.

  • strElemIDPrefix
    Type: System.String

    This element is used for HTML automation and is reserved for internal use only.

Return Value

Type: System.String
The string that contains the HTML for the edit link icon and check box to be displayed for each matching link item.

Remarks

This override adds the check box and edit link for each row in the search result set.

See Also

Reference

ManageLinksControl Class

ManageLinksControl Members

Microsoft.SharePoint.Portal.WebControls Namespace