Skip to content

Instantly share code, notes, and snippets.

@braintreeps
Created March 1, 2011 15:55
Show Gist options
  • Save braintreeps/849328 to your computer and use it in GitHub Desktop.
Save braintreeps/849328 to your computer and use it in GitHub Desktop.
How to subclass a ASP.NET web control to render correctly for transparent redirect.
Public Partial Class WebUserControl1
Inherits System.Web.UI.WebControls.DropDownList
Public Overrides ReadOnly Property UniqueId() As String
Get
Return "credit_card__expiration_month"
End Get
End Property
End Class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment