wsyeager
Centurion
I have the following code that places some text for a specific day on the Calendar control:
<code>
strNewDescription = ControlChars.NewLine & strNewDescription
Dim lblTimeOffDay As Label = New Label
lblTimeOffDay.Text = strNewDescription
e.Cell.Controls.Add(lblTimeOffDay)
</code>
However, I would like the text to begin on a new line UNDERNEATH the day number shown in the calendar. So, instead of having something like this:
14 abc
I would like it to read like this:
14
abc
I tried placing the ControlChars.NewLine and ControlChars.CrLf and also "\n" to the beginning of the description, but it still comes out like :
14 abc
Does anyone know how I can start the label underneath the day of the month?
<code>
strNewDescription = ControlChars.NewLine & strNewDescription
Dim lblTimeOffDay As Label = New Label
lblTimeOffDay.Text = strNewDescription
e.Cell.Controls.Add(lblTimeOffDay)
</code>
However, I would like the text to begin on a new line UNDERNEATH the day number shown in the calendar. So, instead of having something like this:
14 abc
I would like it to read like this:
14
abc
I tried placing the ControlChars.NewLine and ControlChars.CrLf and also "\n" to the beginning of the description, but it still comes out like :
14 abc
Does anyone know how I can start the label underneath the day of the month?