I am going through the testing and tyring out how to program the RAD Scheduler. I have created the SchedulerData database in MSSQL Server and then added 2 resources in the Resource table. After running the program, I did not see the data in the Resource List Box.
Following code is typed under the Load Event.
|
|||||||||||||
Dim resourceMappingInfo As New ResourceMappingInfo() | |||||||||||||
resourceMappingInfo.Id = "ID" | |||||||||||||
resourceMappingInfo.Name = "ResourceName" | |||||||||||||
SchedulerBindingDataSource1.ResourceProvider.Mapping = resourceMappingInfo | |||||||||||||
SchedulerBindingDataSource1.ResourceProvider.DataSource = SQLSchedulerDataDataSet.Resources |
' create and assign appointment mapping Dim appointmentMappingInfo As New AppointmentMappingInfo() |
appointmentMappingInfo.Start = "Start" |
appointmentMappingInfo.[End] = "End" |
appointmentMappingInfo.Summary = "Summary" |
appointmentMappingInfo.Description = "Description" |
appointmentMappingInfo.Location = "Location" |
appointmentMappingInfo.BackgroundId = "BackgroundID" |
appointmentMappingInfo.StatusId = "StatusID" |
appointmentMappingInfo.RecurrenceRule = "RecurrenceRule" |
appointmentMappingInfo.Resources = "FK_AppointmentsResources_Appointments" |
appointmentMappingInfo.ResourceId = "ResourceID" |
SchedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo |
SchedulerBindingDataSource1.EventProvider.DataSource = SQLSchedulerDataDataSet.Appointments |
In the appointment table I have the following fields
ID
Summary
Start
[End]
RecurrenceRule
MasterEventId
Location
Description
BackgroundId
and in the resource table I have the following fields
ID
Name
Image
Thanks for your help.
Imports
Telerik.WinControls.UI.IAppointmentFactory
Public Class CustomAppointmentFactory |
Implements IAppointmentFactory |
#region IAppointmentFactory Members |
Public Function CreateNewAppointment() As IEvent |
Return New AppointmentWithEmail() |
End Function |
#End Region |
End Class |
Hi
I’m very new with the telerik, I’m trying to find a control from radGridview.I implements in .Net Grid control ( sample code is given below) But I cant do the same in radGridView. Can anyone give me any idea to implement this in radGridview. I need your help.
Code snippets:
foreach (GridViewRow row in dgrdInbox.Rows)
{
CheckBox cbBox = (CheckBox)row.FindControl("cbYesNo");
if (cbYesOrNo.Checked)
{
// Do something
}
else
{
// Do something
}
}
Thanks in advanced.
Md. Marufuzzaman