Geeks With Blogs

Tangible Thoughts SharePoint, MOSS? and all the other questions October 2009 Entries
Whats wrong with this code?
[code] /// <summary> /// Gets or sets the site URL. /// </summary> /// <value>The site URL.</value> [WebBrowsable(true), WebDescription("Url of the site to process reports on"), WebDisplayName("Site Url"), Personalizable(Personalizat... public string SiteUrl { get { if (string.IsNullOrEmpty(siteU... { return SPContext.Current.Web.Url; } return siteUrl; } set { siteUrl = value; } } [/code] The above code snippet looks like a reasonable WebPart Propperty. In-fact ......

Posted On Thursday, October 15, 2009 12:00 PM

Copyright © Tariq | Powered by: GeeksWithBlogs.net | Join free