Mega Code Archive
Applying the TypeConverter attribute to a property (VB)
Imports System.ComponentModel
Imports System.Web.UI
{0}:WebCustomControl1>")> _
Public Class WebCustomControl1
Inherits System.Web.UI.WebControls.WebControl
Dim _text As String
Dim _bookid As Guid
_
Property [Text]() As String
Get
Return _text
End Get
Set(ByVal Value As String)
_text = Value
End Set
End Property
_
_
_
_
Property BookId() As System.Guid
Get
Return _bookid
End Get
Set(ByVal Value As System.Guid)
_bookid = Value
End Set
End Property
Protected Overrides Sub Render(ByVal output As System.Web.UI.HtmlTextWriter)
output.RenderBeginTag(HtmlTextWriterTag.Input)
output.RenderEndTag()
End Sub
End Class