I am using the RadScheduler, facing two issues
1. I have a drop down list which consists of different teams and once I select the team and click the appointment twice...in the next page(i.e in the RadScheduler appointment form) the drop down list should not be visible.
I tried
Protected Sub RadScheduler1_AppointmentClick(ByVal sender As Object, ByVal e As SchedulerEventArgs)
UserDropDown.Visible = False
End Sub
Here UserDropDown is my DropDownList
2. All the appointments are visible in the radscheduler when I select 'All Users' but when I select individual team in the drop down list, appointments are not getting dispalyed...
Hope to get a solution....
5 Answers, 1 is accepted
Thank you for your interest in RadScheduler.
It looks like the Defining Resources online example shows exactly what you need. Feel free to contact us if you have any questions.
Kind regards,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thanx for the link. But in that example the User Drop Down should not be visible when I go to the RadScheduler appointment form(i.e when I try to fill the description, timings, etc) because in my application, the data of UserDropDown is different from the data of the resource type User in the RadScheduler. Its something like the I select one team from the UserDropDown and all the team members of that team will appear in the resource drop down in the rad scheduler and at that point the user should not change the team(UserDropDown) again. Hope u got my point.
also for this issue, if I try like this
Protected Sub RadScheduler1_AppointmentClick(ByVal sender As Object, ByVal e As SchedulerEventArgs)
UserDropDown.Visible = False
End Sub
when i double click the appointment to update or cancel, it gives this error
"Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation."
If that's the case you can try the following:
| <telerik:RadScheduler runat="server" ID="RadScheduler1" |
| OnClientAppointmentEditing="HideDropDown" |
| OnClientAppointmentInserting="HideDropDown"> |
| </telerik:RadScheduler> |
| <script type="text/javascript"> |
| function HideDropDown(sender, eventArgs) |
| { |
| document.getElementById("UserDropDown").style.display = "none"; |
| } |
| </script> |
Greetings,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center