Skip to content

Instantly share code, notes, and snippets.

@JayDouglass
Created May 14, 2013 20:36
Show Gist options
  • Save JayDouglass/5579303 to your computer and use it in GitHub Desktop.
Save JayDouglass/5579303 to your computer and use it in GitHub Desktop.
Used by GridView.vb
Namespace Controls
Public Class PagerLinkButton
Inherits LinkButton
Dim _container As IPostBackContainer
Public Sub New(container As IPostBackContainer)
_container = container
End Sub
Protected Overrides Sub Render(writer As HtmlTextWriter)
MyBase.Render(writer)
End Sub
Protected Overrides Function GetPostBackOptions() As PostBackOptions
Return _container.GetPostBackOptions(Me)
End Function
Public Overrides Property CausesValidation() As Boolean
Get
Return False
End Get
Set(value As Boolean)
End Set
End Property
'Protected Overrides Sub RenderContents(writer As HtmlTextWriter)
'End Sub
End Class
End Namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment