L
Lance
Hi Guys.
Im trying to catch the postback event for a control that
Inherits from the System.Web.UI.Webcontrols.DropDownList
Ive used the code below for controls inherited from
System.Web.UI.Controls
But it dosnt work when I inherit from dropdownlist.
Any ideas?
Imports System
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.ComponentModel
Imports System.Collections.Specialized
Public Class SlaveDDL
Inherits System.Web.UI.Control
Implements IPostBackDataHandler
Public Overridable Function LoadPostData(ByVal
postDataKey As String, ByVal values As
NameValueCollection) As Boolean Implements
IPostBackDataHandler.LoadPostData
Dim str As String = "Load the posted data"
Return True
End Function
Public Overridable Sub RaisePostDataChangedEvent()
Implements IPostBackDataHandler.RaisePostDataChangedEvent
End Sub
End Class
Im trying to catch the postback event for a control that
Inherits from the System.Web.UI.Webcontrols.DropDownList
Ive used the code below for controls inherited from
System.Web.UI.Controls
But it dosnt work when I inherit from dropdownlist.
Any ideas?
Imports System
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.ComponentModel
Imports System.Collections.Specialized
Public Class SlaveDDL
Inherits System.Web.UI.Control
Implements IPostBackDataHandler
Public Overridable Function LoadPostData(ByVal
postDataKey As String, ByVal values As
NameValueCollection) As Boolean Implements
IPostBackDataHandler.LoadPostData
Dim str As String = "Load the posted data"
Return True
End Function
Public Overridable Sub RaisePostDataChangedEvent()
Implements IPostBackDataHandler.RaisePostDataChangedEvent
End Sub
End Class