So, I have a User Control that I've created and added some properties onto. Currently, when the property is set I am changing the value of a literal that is on the page. I was wondering if there was a command like the DataBinder that would allow you to put these values on the page without the Literal's and/or if there was a preferred method for doing this?
Private _fontSize As Integer = 12
''' <summary>
''' The font size to use for the control.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public Property FontSize() As Integer
Get
Return _fontSize
End Get
Set(ByVal value As Integer)
_fontSize = value
litFontSize.Text = _fontSize
End Set
End Property
Go to the complete details ...