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