there is no attribute "border"
Posted
by ptahiliani
on Geeks with Blogs
See other posts from Geeks with Blogs
or by ptahiliani
Published on Wed, 10 Mar 2010 09:12:48 GMT
Indexed on
2010/03/11
4:40 UTC
Read the original article
Hit count: 276
Sometimes we got this error message when we try to validate our asp.net website on w3c. To solve this error you need to write the PreRender event. Here is the complete event:
Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
imgBtnGo.Style.Remove(HtmlTextWriterStyle.BorderWidth)
imgBtnGo.Attributes.Remove("border")
End Sub
© Geeks with Blogs or respective owner