there is no attribute "border"
- by ptahiliani
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