Get SharePoint WebPart Qualifier

This method gets the webpart qualifier.

[csharp]

 public static string GetWPQualifierNumber(WebPart webpart)
{
        return ((webpart != null) ? webpart.Qualifier.Substring(3) : string.Empty);
}

[/csharp]

Share

Leave a Reply

Your email address will not be published. Required fields are marked *