I am trying to figure out how to access the width property of a particular day element.
I am using the scheduler theme and using a radhostitem within a specialday in order to display a listbox with a clickable list of items for that date. I need to find a way to programatically set the width of the controls or else they interfere with the underlying cell. Or is there an easier way of implementing this functionality???
Dim c As New RadPanel
Dim tmpLabel As New Label
tmpLabel.BackColor = Color.Transparent
tmpLabel.Width = 75 ''''' THIS IS WHERE I NEED TO FIND DIMENSIONS OR MAYBE FOR THE RADPANEL ITSELF
tmpLabel.Text = Me.RadCalendar1.SpecialDays(0).Date.Day
c.Controls.Add(tmpLabel)
Dim tmpList As New ListBox
tmpList.Width = 90 ''''' THIS IS WHERE I NEED TO FIND DIMENSIONS
tmpList.Height = 90tmpList.Font = New System.Drawing.Font(FontFamily.GenericSansSerif, 8, FontStyle.Regular)tmpList.BorderStyle = BorderStyle.None
tmpList.Items.Add("TESTING")
tmpList.Items.Add("TESTING2")
tmpList.Items.Add("TESTING3")
c.Controls.Add(tmpList)
c.Controls(1).Location =
New System.Drawing.Point(3, 10)
Dim myTemplateItem As New RadHostItem(c)
Me.RadCalendar1.SpecialDays(0).TemplateItem = myTemplateItem