Hi,
I am creating a timesheet web page that uses 2 timepickers in a user control (time in & time out). I do not want to load separate time view controls for each time picker as 2X4X7=56 timeview controls would have to be created.
I used the documentation to code a radTimeView and add it to a placeholde.controls collect then set the SharedTimeView property to the newly created radTimeView and everthing seems to be working OK but when I click on the popupbutton...no timeview.
Code for creating shared calendar:
Dim popTime As New RadTimeView
popTime.ID = "sharedDynamicTimeView"
popTime.Skin = "Office2007"
sharedPopupPlaceHolder.Controls.Add(popTime)
Code for assigning popup:
uc.SharedTimeView = popUpTime
Where uc=usercontrol & I have a property in the control:
Public WriteOnly Property SharedTimeView() As RadTimeView
Set(ByVal value As RadTimeView)
Me.RadTimePickerIn.SharedTimeView = value
Me.RadTimePickerOut.SharedTimeView = value
End Set
End Property
There is no mention of any extra coding to get up the timeview window...so what do I do now ????
Regard
Roger
I am creating a timesheet web page that uses 2 timepickers in a user control (time in & time out). I do not want to load separate time view controls for each time picker as 2X4X7=56 timeview controls would have to be created.
I used the documentation to code a radTimeView and add it to a placeholde.controls collect then set the SharedTimeView property to the newly created radTimeView and everthing seems to be working OK but when I click on the popupbutton...no timeview.
Code for creating shared calendar:
Dim popTime As New RadTimeView
popTime.ID = "sharedDynamicTimeView"
popTime.Skin = "Office2007"
sharedPopupPlaceHolder.Controls.Add(popTime)
Code for assigning popup:
uc.SharedTimeView = popUpTime
Where uc=usercontrol & I have a property in the control:
Public WriteOnly Property SharedTimeView() As RadTimeView
Set(ByVal value As RadTimeView)
Me.RadTimePickerIn.SharedTimeView = value
Me.RadTimePickerOut.SharedTimeView = value
End Set
End Property
There is no mention of any extra coding to get up the timeview window...so what do I do now ????
Regard
Roger