Protected Overloads Overrides Sub OnPreRender(ByVal e As System.EventArgs)
'Change the image path for the date popup icon
Try
MyBase.OnPreRender(e)
Dim selectedDatePicker As RadDatePicker = TryCast(RadScheduler1.FindControl("SelectedDatePicker"), RadDatePicker)
If selectedDatePicker.IsEmpty = False Then
selectedDatePicker.ImagesPath = "skins/LightGreen/Calendar"
selectedDatePicker.Calendar.ShowRowHeaders = False
End If
Catch ex As Exception
'Do nothing - supress the error
End Try
End Sub
Thanks,
- Brad
_radScheduler.DataSource = dtFinalResult;
_radScheduler.DataKeyField = "FieldID";
_radScheduler.DataSubjectField = "LinkTitle";
_radScheduler.DataStartField = "EventDate";
_radScheduler.DataEndField = "EndDate";
_radScheduler.DataBind();
ResourceType resourcetype=new ResourceType();
resourcetype.Name = "MPPScheduler";
resourcetype.DataSource = dtFinalResult;
resourcetype.KeyField = "FieldID";
resourcetype.TextField = "LinkTitle";
resourcetype.ForeignKeyField = "FieldID";
radScheduler.Resourcetypes.Add(resourcetype);
_radScheduler.TimelineView.GroupBy = "MPPScheduler";
_radScheduler.TimelineView.GroupingDirection = GroupingDirection.Vertical;
_radScheduler.TimelineView.HeaderDateFormat = "MMM-dd";
What is the problem?
Regards
Vairam