wsyeager Posted March 14, 2005 Posted March 14, 2005 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? Quote Thanks, Bill Yeager (MCP, BCIP) Microsoft Certified Professional Brainbench Certified Internet Professional, .Net Programmer, Computer Programmer YeagerTech Consulting, Inc.
Administrators PlausiblyDamp Posted March 14, 2005 Administrators Posted March 14, 2005 Have you tried putting a between them? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
wsyeager Posted March 14, 2005 Author Posted March 14, 2005 Thanks --- that worked....... Have you tried putting a <BR> between them? Quote Thanks, Bill Yeager (MCP, BCIP) Microsoft Certified Professional Brainbench Certified Internet Professional, .Net Programmer, Computer Programmer YeagerTech Consulting, Inc.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.