[bcl] Remove more NET_2_0 checks from class libs
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / Panel.cs
index f808807a3644678e83abc80ddad24d8db64f4d3c..6a6f99a07b2640b6c20a71ea1e476ab4b3c94bf4 100644 (file)
@@ -54,9 +54,6 @@ namespace System.Web.UI.WebControls {
                        string image = BackImageUrl;
                        if (image != "") {
                                image = ResolveClientUrl (image);
-#if !NET_2_0 // see HtmlTextWriter.WriteStyleAttribute(string, string, bool) 
-                               image = String.Concat ("url(", image, ")");
-#endif
                                w.AddStyleAttribute (HtmlTextWriterStyle.BackgroundImage, image);
                        }