Hello,
How could i assign multiple resources (users) to an appointment? I'm using RadComboCox as CheckBox (CheckBoxes="true" EnableCheckAllItemsCheckBox="true") :
and i have made the following changes to the RadScheduler1_AppointmentCreated event with no result.
How could i bind the users so as to have a result like: "Held by: Charlie, Alex"?
Thank you very much.
How could i assign multiple resources (users) to an appointment? I'm using RadComboCox as CheckBox (CheckBoxes="true" EnableCheckAllItemsCheckBox="true") :
<telerik:RadComboBox CheckBoxes="true" EnableCheckAllItemsCheckBox="true" runat="server" ID="UsersComboBox" DataTextField="Text" DataValueField="Key" Width="80px" Skin="Default" SelectedValue='<%# Bind("UserID") %>' DataSource="<%# GetAvailableUsers(Container) %>"> </telerik:RadComboBox>and i have made the following changes to the RadScheduler1_AppointmentCreated event with no result.
protected void RadScheduler1_AppointmentCreated(object sender, AppointmentCreatedEventArgs e) { List<string> users = new List<string>(); foreach (Resource user in e.Appointment.Resources.GetResourcesByType("User")) { users.Add(user.Text); } if (users.Count > 0) { Label assignedTo = (Label)e.Container.FindControl("AssignedTo"); assignedTo.Text = "Assigned to: " + string.Join(", ", users.ToArray()); } }How could i bind the users so as to have a result like: "Held by: Charlie, Alex"?
Thank you very much.
