Hi,
I am using the scheduler control for a project, and I am quite new to it, your guidance on below 3 problems would be very helpful.
I have a list of free time, and time booked for appointment etc. Now based on this the remaining timeslots should be disabled.
i.e. for example if for today I have my time available from say 9:00 AM to 10:00AM then an appointment from 10:00AM to 12:AM and then a available time from 12:PM to 3:00PM . except for these time the remaining timeslots should be disabled. How can I achieve this.
I am loading the appointment from the server side, hence using the TimeSlotCreated event I was not able to change the timeslots.
Also if you can help me on how to add a tooltip to the available timeslots(in the above example 9:00AM to 10:00AM, I have to show a tool tip as say "available from 9:00AM - 10:00AM".
Third how can I clear a scheduler, say today I have data in scheduler horizontally 3 users in header and each having some appointment, when I move to next day if there are no users and no appointment, I want to clear the scheduler so that the old data is removed. I Tried to clear using below code, but still the see that the header and appointment persist.
DiarySchedule.ResourceTypes.Clear(); Appointments.Clear(); DiarySchedule.DataKeyField = "ID"; DiarySchedule.DataStartField = "Start"; DiarySchedule.DataEndField = "End"; DiarySchedule.DataSubjectField = "Subject"; DiarySchedule.DataDescriptionField = "Description"; DiarySchedule.DataRecurrenceField = "RecurrenceRule"; DiarySchedule.DataRecurrenceParentKeyField = "RecurrenceParentID"; DiarySchedule.DataSource = Appointments;
Thank you
Arvind


Hi
I am new to Telerik I am looking for working independent sample project or web site of Scheduler - Resource Grouping (http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourcegrouping/defaultcs.aspx?skin=Silk). Where can I download such a sample?
Thanks
abahrami

Hi,
We are using Telerik Web UI for AJAX (version 2015.2.729.45). In grid we have data with double quotes (") and filter control is TextBox. Searching text with double quotes fails the search.
please see the attachment.
Code being used - Using the aspx standard script.
<telerik:GridBoundColumn DataField="Name" HeaderText="Header" UniqueName="Name" FilterControlWidth="260px" AllowFiltering="true" ShowFilterIcon="false" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" />
Kindly let us know for the solution.
Thanks.
Neelesh

Hello,
we have updated one of our solutions from .NET 3.5 to 4.0 with a new Telerik version. Right now we are having an critical issue we are not able to solve.
We are opening an selection form in an modal dialog. All available items are displayed in an GridView where the user can select a single item. On post back the form is handing the user selection back to the previous form. From the theory quite easy going. Right now we have recognized an ciritical issue with our post back.
On postback we are loosing the ViewState and the ControlState of the GridView. Due to this case, it will reload the data source, without the selected sort, filter and page options and returns the wrong user selection.
For example:
If we select the 3rd item on page 2, while all items are sorted alphabetically ascending, it will return the 3rd item from the datasource, without any filtering, paging, or sorting. So on postback the selected page is always 0, the sort order null... filtering null.
This strange behaviour only occurs in modal dialogs. If we do use the same kind of grid (cause it's based on a adapter pattern will complete same implementation) it will work correctly.
Grid implementation:
<telerik:RadAjaxManagerProxy ID="AjaxManagerProxy" runat="server" >
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="PanelButtonBar">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="PanelButtonBar" LoadingPanelID="RadAjaxLoadingPanel1"/>
<telerik:AjaxUpdatedControl ControlID="pnlMessage"/>
<telerik:AjaxUpdatedControl ControlID="RadWindowManagerInGrid" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="Grid">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="Grid" LoadingPanelID="RadAjaxLoadingPanel1"/>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
If you already know this kind of issue and fixed it, please let me know. I realy do require an idea :)
Best Regards,
Jan


01.<asp:UpdatePanel ID="UpdatePanel1" runat="server">02. <ContentTemplate>03. <div>04. <legend>Calendar Layout</legend>05. <asp:RadioButtonList ID="rbDisplay" CellSpacing="5" AutoPostBack="true" RepeatDirection="Horizontal" runat="server">06. <asp:ListItem Value="1"> Verticle </asp:ListItem>07. <asp:ListItem Value="2"> Horizontal </asp:ListItem>08. </asp:RadioButtonList>09. </div>10. <telerik:RadScheduler OnTimeSlotCreated="apertureAppointments_TimeSlotCreated" OverflowBehavior="Auto" runat="server" WeekView-ShowDateHeaders="true" ID="apertureAppointments"11. TimelineView-UserSelectable="false" DayView-UserSelectable="true" AgendaView-UserSelectable="True" DataKeyField="ID" DataSubjectField="Subject" AllowInsert="false" AllowDelete="false" AllowEdit="false"12. DataStartField="Start" DataEndField="End" DataRecurrenceField="RecurrenceRule" DayView-EnableExactTimeRendering="true" WeekView-UserSelectable="True" SelectedView="WeekView"13. DataRecurrenceParentKeyField="RecurrenceParentID" DataSourceID="EntityDataSource1" StartInsertingInAdvancedForm="True" MonthView-UserSelectable="True" AgendaView-NumberOfDays="5" RowHeight="40px"14. RenderMode="Classic" EnableExactTimeRendering="True" Reminders-Enabled="true" Width="800px" Height="1000px" EnableDatePicker="true" ShowHeader="true"15. DayStartTime="09:00:00" ShowFooter="false" DayEndTime="18:00" FirstDayOfWeek="Monday" LastDayOfWeek="Friday" HoursPanelTimeFormat="HH:mm tt" OnAppointmentClick="apertureAppointments_AppointmentClick" OnTimeSlotContextMenuItemClicking="apertureAppointments_TimeSlotContextMenuItemClicking"16. EnableDescriptionField="true" AppointmentStyleMode="Default" Skin="Metro">17. 18. <AdvancedForm Modal="True" />19. 20. <TimeSlotContextMenuSettings EnableDefault="false" />21. <AppointmentContextMenuSettings EnableDefault="false" />22. <DayView EnableExactTimeRendering="True" />23. <AdvancedForm Modal="true"></AdvancedForm>24. 25. <ResourceTypes>26. <telerik:ResourceType KeyField="lookup_code" Name="Managers" TextField="lookup_description" ForeignKeyField="managerId"27. DataSourceID="ManagersDataSource"></telerik:ResourceType>28. </ResourceTypes>29. <ResourceStyles>30. <%--AppointmentStyleMode must be explicitly set to Default (see above) otherwise setting BackColor/BorderColor31. will switch the appointments to Simple rendering (no rounded corners and gradients)--%>32. <telerik:ResourceStyleMapping Type="Managers" Text="Natalie Edgar"33. BackColor="#512479" ApplyCssClass="appointment" />34. <telerik:ResourceStyleMapping Type="Managers" Text="Clare Coyle"35. BackColor="#512479" ApplyCssClass="appointment" />36. <telerik:ResourceStyleMapping Type="Managers" Text="Christine Clarke"37. BackColor="#512479" ApplyCssClass="appointment" />38. <telerik:ResourceStyleMapping Type="Managers" Text="Adam Adair"39. BackColor="#512479" ApplyCssClass="appointment" />40. </ResourceStyles>41. </telerik:RadScheduler>42. </ContentTemplate>43. </asp:UpdatePanel>44. 45. <asp:EntityDataSource runat="server" ID="EntityDataSource1" ConnectionString="name=aperturenetEntities"46. DefaultContainerName="aperturenetEntities" EntitySetName="Appointments" EnableDelete="true"47. EnableInsert="true" EnableUpdate="true">48. </asp:EntityDataSource>49. 50. <asp:SqlDataSource ID="RoomsDataSource" runat="server"51. ProviderName="System.Data.SqlClient" ConnectionString="<%$ ConnectionStrings:aperturenetSql %>"52. SelectCommand="SELECT * FROM [Rooms]"></asp:SqlDataSource>53. 54. <asp:SqlDataSource ID="ManagersDataSource" runat="server"55. ConnectionString="<%$ ConnectionStrings:aperturenetSql %>" SelectCommand="SELECT * FROM [tblApertureNetLookUps] WHERE lookup_type='11787CA6-DE99-4E0E-83D2-7D96E0FD11A3'"></asp:SqlDataSource>
Now i dont no why its not firing as per the demo but the dialog is not appearing when it should have tested it but no ball