or

Hi,
I'm using the advanced insert with custom attributes and everything is working fine. However, I'd like to use the default date/time picker in the advanced template as opposed to just texboxes which have 'start' and 'end' dates bound to them. Could somebody tell me how to implement this?
Thank You.
In our implementation i found ‘Replace All’ does not replace the first string occurrence although it replaces all the other occurrences of string.

| <asp:ScriptManagerProxy runat="server" ID="AppointmentWebServiceScriptManager"> |
| <Services> |
| <asp:ServiceReference Path="~/WebServices/SchedulerWebService.asmx" /> |
| </Services> |
| </asp:ScriptManagerProxy> |
| <telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedView="WeekView" StartEditingInAdvancedForm="true" DataKeyField="AppointmentID" |
| CustomAttributeNames="Customer" EnableCustomAttributeEditing="true" StartInsertingInAdvancedForm="true"> |
| <AdvancedForm Modal="true" /> |
| <TimelineView GroupBy="Employee" GroupingDirection="Vertical" SlotDuration="1:00:00" NumberOfSlots="20" /> |
| <WebServiceSettings Path="~/WebServices/SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" /> |
| <AdvancedEditTemplate> |
| <div><asp:Label ID="TestEdit" runat="server" Text="TEST"></asp:Label></div> |
| </AdvancedEditTemplate> |
| <AdvancedInsertTemplate> |
| <div><asp:Label ID="TestInsert" runat="server" Text="TEST"></asp:Label></div> |
| </AdvancedInsertTemplate> |
| </telerik:RadScheduler> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| <Scripts> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Common/Core.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Ajax/Ajax.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Common/jQuery.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Common/jQueryPlugins.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Common/Navigation/NavigationScripts.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Calendar/RadDatePicker.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Input/TextBox/RadInputScript.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Input/DateInput/RadDateInputScript.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Calendar/RadCalendarCommonScript.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Calendar/RadCalendarScript.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Calendar/RadDateTimePickerScript.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Scheduler/RadSchedulerScripts.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Scheduler/Scheduling/AdvancedTemplate.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Scheduler/Views/Month/Model.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Scheduler/Views/Month/GroupedByDate/Model.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Scheduler/Views/Month/GroupedByResource/Model.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Scheduler/Views/Timeline/Model.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Scheduler/Views/Timeline/GroupedByDate/Model.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Scheduler/Views/Timeline/GroupedByResource/Model.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Scheduler/Views/Week/Model.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Scheduler/Views/Week/GroupedByDate/Model.js" /> |
| <asp:ScriptReference Path="~/thirdparty/RadControlsAjax/Scripts/Scheduler/Views/Week/GroupedByResource/Model.js" /> |
| <asp:ScriptReference Path="~/includes/Scheduler.js" /> |
| </Scripts> |
| </telerik:RadScriptManager> |
| <telerik:RadScheduler ID="RadScheduler1" runat="server" DataKeyField="ID" DataStartField="Start" DataEndField="End" DataSubjectField="Title" |
| ShowHeader="false" AllowInsert="true" |
| FirstDayOfWeek="Monday" LastDayOfWeek="Friday" |
| ShowAllDayRow="true" |
| OnClientAppointmentInserting="AppointmentInserting" OnClientAppointmentEditing="AppointmentEditing" OnAppointmentDelete="RadScheduler1_AppointmentDelete" |
| OnClientAppointmentResizeEnd="AppointmentResizeEnd" OnClientAppointmentMoveEnd="AppointmentMoveEnd" > |
| <TimelineView UserSelectable="false" /> |
| </telerik:RadScheduler> |
| {"UniqueName":"dckOrderHistory","DockZoneID":"ctl00_ContentPlaceHolder1_RadDock_RadDockZone1","Width":"300px","Height":"","ExpandedHeight":"0","Top":"0px","Left":"0px","Resizable":"False","Closed":"False","Collapsed":"False","Pinned":"False","Title":"Order History","Text":"","Tag":"~/Dealers/Toolbox/PortalControls/OrderHistory.ascx","Index":"1"}|{"UniqueName":"dckBrowseBoats","DockZoneID":"ctl00_ContentPlaceHolder1_RadDock_RadDockZone1","Width":"300px","Height":"","ExpandedHeight":"0","Top":"0px","Left":"0px","Resizable":"False","Closed":"False","Collapsed":"False","Pinned":"False","Title":"Browse Boats","Text":"","Tag":"~/Dealers/Toolbox/PortalControls/BrowseBoats.ascx","Index":"0"} |
| Dim lDockState As New List(Of DockState) |
| Dim sDockState() As String = oRdr.Item("PortalState").ToString.Split("|"c) |
| For Each i As String In sDockState |
| Dim state As DockState = DockState.Deserialize(sDockState(i)) |
| lDockState.Add(state) |
| Next |
| RetrievePortalState = lDockState |

| <pre style="display:none" id=RadEditorEncodedTag>PGVtYmVkIHNyYz0iaHR0cDovL3d3dy55b3V0dWJlLmNvbS92L1M4YkxqSU1YM2JFJmFtcDtobD1lbiZhbXA7ZnM9MSZhbXA7IiB3aWR0aD0iMzIwIiBoZWlnaHQ9IjI2MCIgdHlwZT0iYXBwbGljYXRpb24veC1zaG9ja3dhdmUtZmxhc2giIGFsbG93c2NyaXB0YWNjZXNzPSJhbHdheXMiIGFsbG93ZnVsbHNjcmVlbj0idHJ1ZSIgLz4 |