Hello,
I am adding below tag <ExportSettings
in the <telerik:RadScheduler runat="server" ID="RadScheduler1" .........> Tag
<ExportSettings OpenInNewWindow="true" FileName="SchedulerExport">
<Pdf PageTitle="Schedule" Author="Telerik" Creator="Telerik" Title="Schedule" />
</ExportSettings>
there is button to export pdf:
protected void btnExportPdf_Click(object sender, EventArgs e)
{
RadScheduler1.ExportToPdf();
}
but the problem is no pdf open to download. It's resize the radScheduler control in small size when i click in Export button and no download popup page.
I see in demo page path:http://demos.telerik.com/aspnet-ajax/scheduler/examples/pdfexport/defaultcs.aspx.
How is the problem I can't understand.
Please help me as soon as possible.
Thanks
Jiten Mutum
16 Answers, 1 is accepted
0
Hi Jiten,
I have the following definition of RadScheduler locally and I can not replicate the issue.
Would you specify the version of RadControls for ASP.NET AJAX that you use in your application? Also, is this somehow browser related behavior?
Regards,
Ivana
the Telerik team
I have the following definition of RadScheduler locally and I can not replicate the issue.
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
=
"server"
>
<
ExportSettings
OpenInNewWindow
=
"true"
FileName
=
"SchedulerExport"
>
<
Pdf
PageTitle
=
"Schedule"
Author
=
"Telerik"
Creator
=
"Telerik"
Title
=
"Schedule"
/>
</
ExportSettings
>
</
telerik:RadScheduler
>
<
telerik:RadButton
ID
=
"RadButton1"
runat
=
"server"
Text
=
"Export to PDF"
OnClick
=
"RadButton1_Click"
>
</
telerik:RadButton
>
protected
override
void
OnInit(EventArgs e)
{
base
.OnInit(e);
RadScheduler1.Provider =
new
XmlSchedulerProvider(Server.MapPath(
"~/App_Data/Appointments.xml"
),
true
);
}
protected
void
RadButton1_Click(
object
sender, EventArgs e)
{
RadScheduler1.ExportToPdf();
}
Would you specify the version of RadControls for ASP.NET AJAX that you use in your application? Also, is this somehow browser related behavior?
Regards,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jiten
Top achievements
Rank 1
answered on 21 Sep 2012, 06:16 AM
Hello Ivana,
My telerik version is : 2012.1.215.35.
And I can't use the following line because I Bind the provider in RadComboBox control with checkbox in dynamic from the database.
Here is the providerID which I pass in XML:
<Table1><c1>199</c1></Table1><Table1><c1>319</c1></Table1><Table1><c1>195</c1></Table1><Table1><c1>2</c1></Table1><Table1><c1>80</c1></Table1><Table1><c1>1</c1></Table1><Table1><c1>198</c1></Table1>
My browser is FireFox.
And I use some properties in RadScheduler control:
<telerik:RadScheduler OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"
OnAppointmentCreated="RadScheduler1_AppointmentCreated" runat="server" ID="RadScheduler1"
CustomAttributeNames="StatusId,ColorName,StatusColor,RegistrationId,DoesPatientOweMoney,ValidPaymentCaseId,TooTipText,DoctorId,Type,EligibilityChecked"
OnClientAppointmentClick="OnClientAppointmentClick"
EnableDescriptionField="true" ShowNavigationPane="false" OnAppointmentDelete="RadScheduler1_AppointmentDelete"
OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" DataSubjectField="Subject"
DataStartField="FromTime" DataEndField="ToTime" ShowAllDayRow="false" OnClientTimeSlotClick="OnClientTimeSlotClick"
AllowEdit="False" DataKeyField="AppointmentId" DataDescriptionField="StatusColor"
OnTimeSlotContextMenuItemClicked="RadScheduler1_TimeSlotContextMenuItemClicked"
AllowDelete="false" OnAppointmentContextMenuItemClicked="RadScheduler1_AppointmentContextMenuItemClicked"
OnNavigationCommand="RadScheduler1_NavigationCommand" OnTimeSlotCreated="RadScheduler1_TimeSlotCreated"
OnClientAppointmentContextMenu="OnClientAppointmentContextMenu" AppointmentStyleMode="Default">
Thanks.
Jiten Mutum
My telerik version is : 2012.1.215.35.
And I can't use the following line because I Bind the provider in RadComboBox control with checkbox in dynamic from the database.
RadScheduler1.Provider =
new
XmlSchedulerProvider(Server.MapPath(
"~/App_Data/Appointments.xml"
),
true
);
Here is the providerID which I pass in XML:
<Table1><c1>199</c1></Table1><Table1><c1>319</c1></Table1><Table1><c1>195</c1></Table1><Table1><c1>2</c1></Table1><Table1><c1>80</c1></Table1><Table1><c1>1</c1></Table1><Table1><c1>198</c1></Table1>
My browser is FireFox.
And I use some properties in RadScheduler control:
<telerik:RadScheduler OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"
OnAppointmentCreated="RadScheduler1_AppointmentCreated" runat="server" ID="RadScheduler1"
CustomAttributeNames="StatusId,ColorName,StatusColor,RegistrationId,DoesPatientOweMoney,ValidPaymentCaseId,TooTipText,DoctorId,Type,EligibilityChecked"
OnClientAppointmentClick="OnClientAppointmentClick"
EnableDescriptionField="true" ShowNavigationPane="false" OnAppointmentDelete="RadScheduler1_AppointmentDelete"
OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" DataSubjectField="Subject"
DataStartField="FromTime" DataEndField="ToTime" ShowAllDayRow="false" OnClientTimeSlotClick="OnClientTimeSlotClick"
AllowEdit="False" DataKeyField="AppointmentId" DataDescriptionField="StatusColor"
OnTimeSlotContextMenuItemClicked="RadScheduler1_TimeSlotContextMenuItemClicked"
AllowDelete="false" OnAppointmentContextMenuItemClicked="RadScheduler1_AppointmentContextMenuItemClicked"
OnNavigationCommand="RadScheduler1_NavigationCommand" OnTimeSlotCreated="RadScheduler1_TimeSlotCreated"
OnClientAppointmentContextMenu="OnClientAppointmentContextMenu" AppointmentStyleMode="Default">
Thanks.
Jiten Mutum
0
Hello Jiten,
I can not determine what is causing the strange behavior at your end unless you provide me with an sample page/project in which this behavior is isolated. Could you please open a support ticket and send me a sample project?
Regards,
Ivana
the Telerik team
I can not determine what is causing the strange behavior at your end unless you provide me with an sample page/project in which this behavior is isolated. Could you please open a support ticket and send me a sample project?
Regards,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jiten
Top achievements
Rank 1
answered on 27 Sep 2012, 09:50 AM
Hello Ivana,
I am thanking you for your reply.
But I want to know the reason of
I think this could be problem. We can not bind like this what you did.
I am eagerly waiting your reply.
Thanks
Jiten Mutum
I am thanking you for your reply.
But I want to know the reason of
OnInit
event. We already binding the provider in the calender. Why you are binding the provider in this event?protected
override
void
OnInit(EventArgs e)
{
base
.OnInit(e);
RadScheduler1.Provider =
new
XmlSchedulerProvider(Server.MapPath(
"~/App_Data/Appointments.xml"
),
true
);
}
I also Attach two files. Appointment 1 file is before I click in the export to PDF button and Appointment 2 is after I click in the Export to PDF button.
I think this could be problem. We can not bind like this what you did.
I am eagerly waiting your reply.
Thanks
Jiten Mutum
0
Hello Jiten,
Specifying the data provider was just to show you that I have tested this behavior with a XML provider for RadScheduler. Nonetheless, the data provider should not have any impact on the PDF export functionality.
At the images you have provided it is shown that the "Export to PDF" button is misaligned somehow after it is clicked. Is this the problem you experience at your end, or is it related to the PDF export functionality itself?
Could you at least provide me with a live URL to your website so we will be able to take a look at the export to PDF functionality locally?
All the best,
Ivana
the Telerik team
Specifying the data provider was just to show you that I have tested this behavior with a XML provider for RadScheduler. Nonetheless, the data provider should not have any impact on the PDF export functionality.
At the images you have provided it is shown that the "Export to PDF" button is misaligned somehow after it is clicked. Is this the problem you experience at your end, or is it related to the PDF export functionality itself?
Could you at least provide me with a live URL to your website so we will be able to take a look at the export to PDF functionality locally?
All the best,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ed
Top achievements
Rank 1
answered on 02 Oct 2012, 11:35 PM
Hi,
I have the same issue. I click export and the scheduler control resizes to a smaller size (maybe 75% of full size) and no pdf is generated. I'm using version 2012.2.912.35, although I saw the same behavior with an earlier version (2012.2.6xx.35).
I've tried setting up the webresource lines in web.config with no effect.
in the Handlers section:
<add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode" />
in the httpHandlers section:
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
I'm using standard databinding in the code behind. No errors are being thrown in the client or on the server side.
I have the same issue. I click export and the scheduler control resizes to a smaller size (maybe 75% of full size) and no pdf is generated. I'm using version 2012.2.912.35, although I saw the same behavior with an earlier version (2012.2.6xx.35).
I've tried setting up the webresource lines in web.config with no effect.
in the Handlers section:
<add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode" />
in the httpHandlers section:
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
I'm using standard databinding in the code behind. No errors are being thrown in the client or on the server side.
0
Ed
Top achievements
Rank 1
answered on 03 Oct 2012, 12:04 AM
OK, I did some more research and found out that when I moved the Export button outside of the UpdatePanel it worked just fine.
I can live with that short term, but it's not where I'd like it to be on the page.
I can live with that short term, but it's not where I'd like it to be on the page.
0
Hi Ed,
We would really appreciate if someone could open a support ticket on this matter and send us a sample page/project where this irregularity is reproducible. This way we will be able to take the proper actions and hopefully provide you with a solution.
Thank you!
Regards,
Ivana
the Telerik team
We would really appreciate if someone could open a support ticket on this matter and send us a sample page/project where this irregularity is reproducible. This way we will be able to take the proper actions and hopefully provide you with a solution.
Thank you!
Regards,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ed
Top achievements
Rank 1
answered on 10 Oct 2012, 12:01 AM
OK, here is the aspx code. Right now with the Export button outside of the UpdatePanel
it works correctly. When I had the Export button just below the RadScheduler control inside
of the UpdatePanel it would NOT work. Let me know if you need any more code. This is part of
a huge proprietary application so I can't really include very much.
<%@ Page Title="Appointment Scheduling" Language="vb" AutoEventWireup="false" MasterPageFile="~/ADVC.master"
CodeBehind="Scheduler.aspx.vb" Inherits="ADVC.Scheduler" EnableSessionState="True" validateRequest="false"
MaintainScrollPositionOnPostback="true" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="UserControls/TabbedPageHeader.ascx" TagName="TabbedPageHeader" TagPrefix="header" %>
<%@ Register TagPrefix="scheduler" TagName="AdvancedForm" Src="UserControls/AdvancedFormVB.ascx" %>
<
asp:Content
ID
=
"myHead"
ContentPlaceHolderID
=
"trueHead"
runat
=
"server"
>
<
link
rel
=
"stylesheet"
href
=
"Styles/Calendar.css"
type
=
"text/css"
/>
<
link
rel
=
"stylesheet"
href
=
"Styles/Calendar.Office2010Blue.css"
type
=
"text/css"
/>
<
link
rel
=
"stylesheet"
href
=
"Styles/telerikStyles.min.css"
type
=
"text/css"
/>
<%-- <
link
rel
=
"stylesheet"
href
=
"Styles/SchedulerAppointments.css"
type
=
"text/css"
/>
--%>
<
link
href
=
"Styles/Scheduler.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
link
href
=
"Styles/SchedulerRecurrenceEditor.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
link
href
=
"Styles/SchedulerReminderDialog.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
style
type
=
"text/css"
>
.rcbSlide, .rcbArrowCell
{
z-index: 1000001 !important;
}
</
style
>
</
asp:Content
>
<
asp:Content
ID
=
"Content2"
ContentPlaceHolderID
=
"ContentPlaceHolder1"
runat
=
"server"
>
<%--OnClientItemChecked="GetRadListBoxValues"--%>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
Skin
=
"Windows7"
CssClass
=
"modalBackground"
InitialDelayTime
=
"100"
EnableSkinTransparency
=
"False"
>
</
telerik:RadAjaxLoadingPanel
>
<
header:TabbedPageHeader
ID
=
"tph1"
runat
=
"server"
/>
<
table
style
=
"width: 100%"
>
<
tr
>
<
td
style
=
"width: 15%"
>
</
td
>
<
td
style
=
"width: 70%"
>
<
div
id
=
"divTimeZones"
style
=
"text-align: center;"
>
<
table
style
=
"padding: 0px; margin: 0px; border-style: ridge;"
>
<
tr
>
<
td
align
=
"right"
style
=
"padding: 0px; margin: 0px"
>
<
asp:Label
ID
=
"Label1"
runat
=
"server"
Text
=
"AZ Time:"
></
asp:Label
>
</
td
>
<
td
style
=
"border-style: none ridge none none; padding: 0px; margin: 0px"
>
<
asp:Label
ID
=
"lblAZTime"
runat
=
"server"
Text
=
""
></
asp:Label
>
</
td
>
<%-- <
td
align
=
"right"
style
=
"padding: 0px; margin: 0px"
>
<
asp:Label
ID
=
"Label2"
runat
=
"server"
Text
=
"Pharmacist Time:"
></
asp:Label
>
</
td
>
<
td
style
=
"border-style: none ridge none none; padding: 0px; margin: 0px"
>
<
asp:Label
ID
=
"lblPharmacistTime"
runat
=
"server"
Text
=
""
></
asp:Label
>
</
td
>
--%> <
td
align
=
"right"
style
=
"padding: 0px; margin: 0px"
>
<
asp:Label
ID
=
"Label3"
runat
=
"server"
Text
=
"Member Time:"
Font-Bold
=
"True"
></
asp:Label
>
</
td
>
<
td
style
=
"padding: 0px; margin: 0px"
>
<
asp:Label
ID
=
"lblMemberTime"
runat
=
"server"
Text
=
""
Font-Bold
=
"True"
></
asp:Label
>
</
td
>
</
tr
>
</
table
>
</
div
>
</
td
>
<
td
style
=
"width: 15%; text-align: right;"
>
<
telerik:RadButton
runat
=
"server"
id
=
"btnExport"
Skin
=
"Office2010Blue"
Text
=
"Export to PDF"
Icon-PrimaryIconUrl
=
"~/images/ExportToPdf.gif"
>
</
telerik:RadButton
>
</
td
>
</
tr
>
</
table
>
<
asp:UpdatePanel
runat
=
"server"
id
=
"upScheduler"
>
<
ContentTemplate
>
<
div
>
<
telerik:radsplitter
runat
=
"server"
id
=
"RadSplitter1"
panesbordersize
=
"0"
width
=
"870px"
height
=
"800px"
Skin
=
"Office2010Blue"
BorderSize
=
"0"
BorderStyle
=
"None"
>
<
telerik:RadPane
runat
=
"Server"
ID
=
"leftPane"
Width
=
"250px"
MinWidth
=
"250"
MaxWidth
=
"300"
MaxHeight
=
"800"
Height
=
"800px"
Locked
=
"True"
Scrolling
=
"None"
>
<
div
class
=
"calendar-container"
style
=
"text-align: center; overflow: hidden;"
>
<
telerik:RadCalendar
ID
=
"RadCalendar1"
runat
=
"server"
DayNameFormat
=
"FirstTwoLetters"
EnableMultiSelect
=
"False"
Height
=
"200px"
SelectedDate
=
""
ShowOtherMonthsDays
=
"False"
ShowRowHeaders
=
"False"
Skin
=
"Office2010Blue"
UseColumnHeadersAsSelectors
=
"False"
UseRowHeadersAsSelectors
=
"False"
ViewSelectorText
=
"x"
Width
=
"95%"
AutoPostBack
=
"True"
FirstDayOfWeek
=
"Monday"
>
<
dayoverstyle
cssclass
=
"rcHover"
/>
<
fastnavigationstyle
cssclass
=
"RadCalendarMonthView RadCalendarMonthView_Office2010Blue"
/>
<
disableddaystyle
cssclass
=
"rcDisabled"
/>
<
weekenddaystyle
backcolor
=
"#FFCCCC"
cssclass
=
"rcWeekend"
/>
<
viewselectorstyle
cssclass
=
"rcViewSel"
/>
<%--<
ClientEvents
OnDateSelected
=
"OnCalendar1DateSelected"
OnCalendarViewChanged
=
"OnCalendar1ViewChanged"
/>--%>
<%-- <
clientevents
oncalendarviewchanged
=
"OnCalendar1ViewChanged"
ondateclick
=
"OnCalendar1DateSelected"
/>
--%> <
selecteddaystyle
cssclass
=
"rcSelected"
/>
<
calendartablestyle
cssclass
=
"rcMainTable"
/>
<
othermonthdaystyle
cssclass
=
"rcOtherMonth"
/>
<
outofrangedaystyle
cssclass
=
"rcOutOfRange"
/>
</
telerik:RadCalendar
>
</
div
>
<
br
/>
<
div
id
=
"divList"
style
=
"text-align: left; height: 550px"
>
<%--OnClientItemChecked="GetRadListBoxValues"--%>
<
telerik:RadListBox
ID
=
"rlbResources"
runat
=
"server"
AppendDataBoundItems
=
"True"
AutoPostBack
=
"True"
CheckBoxes
=
"True"
Height
=
"100%"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
SelectionMode
=
"Multiple"
Skin
=
"Windows7"
Width
=
"100%"
>
</
telerik:RadListBox
>
</
div
>
</
telerik:RadPane
>
<
telerik:RadSplitBar
runat
=
"server"
ID
=
"RadSplitBar2"
CollapseMode
=
"Forward"
/>
<
telerik:RadPane
runat
=
"Server"
ID
=
"rightPane"
Scrolling
=
"None"
Width
=
"740px"
Height
=
"800px"
>
<
div
id
=
"divStatus"
runat
=
"server"
>
<
asp:Panel
ID
=
"Panel1"
runat
=
"server"
GroupingText
=
"Appointment Status"
>
<
table
>
<
tr
>
<
td
align
=
"left"
style
=
"width: 50%;"
>
<
asp:CheckBoxList
ID
=
"cblStatus"
runat
=
"server"
onclick
=
"GetStatusFilterValues"
RepeatDirection
=
"Horizontal"
AutoPostBack
=
"True"
>
<
asp:ListItem
Value
=
"Cancelled"
>Cancelled</
asp:ListItem
>
<
asp:ListItem
Value
=
"Completed"
>Completed</
asp:ListItem
>
<
asp:ListItem
Value
=
"Missed"
>Missed</
asp:ListItem
>
<
asp:ListItem
Selected
=
"True"
Value
=
"Rescheduled"
>Rescheduled</
asp:ListItem
>
<
asp:ListItem
Selected
=
"True"
Value
=
"Scheduled"
>Scheduled</
asp:ListItem
>
</
asp:CheckBoxList
>
</
td
>
<
td
align
=
"right"
style
=
"width: 50%;"
>
<
asp:LinkButton
ID
=
"lbFindNextAvailable"
runat
=
"server"
>Find Next Available</
asp:LinkButton
>
</
td
>
</
tr
>
</
table
>
</
asp:Panel
>
</
div
>
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
=
"server"
AdvancedForm-EnableResourceEditing
=
"true"
AppointmentStyleMode
=
"Default"
DayStartTime
=
"06:00:00"
EditFormDateFormat
=
"M/d/yyyy"
EnableDescriptionField
=
"True"
EnableTheming
=
"True"
FirstDayOfWeek
=
"Monday"
Height
=
"700px"
LastDayOfWeek
=
"Sunday"
SelectedDate
=
"2012-05-22"
Skin
=
"Office2010Blue"
StartInsertingInAdvancedForm
=
"True"
WorkDayStartTime
=
"06:00:00"
NumberOfHoveredRows
=
"1"
onclienttimeslotclick
=
"OnClientTimeSlotClick"
>
<%-- <
webservicesettings
path
=
"http://localhost:1112/SchedulerWebService.asmx"
resourcepopulationmode
=
"ServerSide"
/>
--%> <
dayview
daystarttime
=
"06:00:00"
workdayendtime
=
"18:00:00"
/>
<
advancedform
dateformat
=
"M/d/yyyy"
modal
=
"false"
/>
<%-- <
resourcetypes
>
<
telerik:ResourceType
AllowMultipleValues
=
"false"
KeyField
=
"Extl_Enty_Cntc_ID"
Name
=
"Pharmacist"
TextField
=
"PHARM_NM"
/>
</
resourcetypes
>
--%> <
exportsettings
OpenInNewWindow
=
"True"
FileName
=
"SchedulerExport"
Pdf-AllowAdd
=
"true"
Pdf-Producer
=
"AdvanceClinical"
Pdf-Creator
=
"CVS | Caremark"
Pdf-PageTitle
=
"Your Schedule"
Pdf-Title
=
"Your Schedule"
Pdf-Subject
=
"Your Schedule"
>
<
pdf
allowadd
=
"True"
creator
=
"CVS | Caremark"
pagetitle
=
"Your Schedule"
producer
=
"AdvanceClinical"
subject
=
"Your Schedule"
title
=
"Your Schedule"
/>
</
exportsettings
>
<
weekview
daystarttime
=
"06:00:00"
WorkDayEndTime
=
"18:00:00"
/>
<
resourcestyles
>
</
resourcestyles
>
<
multidayview
userselectable
=
"True"
DayStartTime
=
"06:00:00"
/>
<
AdvancedEditTemplate
>
<
scheduler:AdvancedForm
runat
=
"server"
ID
=
"AdvancedEditForm1"
Mode
=
"Edit"
Subject='<%# Bind("Subject") %>'
Description='<%# Bind("Description") %>'
Start='<%# Bind("Start") %>'
End='<%# Bind("End") %>'
RecurrenceRuleText='<%# Bind("RecurrenceRule") %>'
Reminder='<%# Bind("Reminder") %>'
TimeZoneID='<%# Bind("TimeZoneID") %>' />
</
AdvancedEditTemplate
>
<
AdvancedInsertTemplate
>
<
scheduler:AdvancedForm
runat
=
"server"
ID
=
"AdvancedInsertForm1"
Mode
=
"Insert"
Subject='<%# Bind("Subject") %>'
Start='<%# Bind("Start") %>'
End='<%# Bind("End") %>'
Description='<%# Bind("Description") %>'
RecurrenceRuleText='<%# Bind("RecurrenceRule") %>'
Reminder='<%# Bind("Reminder") %>'
TimeZoneID='<%# Bind("TimeZoneID") %>' />
</
AdvancedInsertTemplate
>
<
appointmentcontextmenus
>
<
telerik:RadSchedulerContextMenu
ID
=
"SchedulerAppointmentContextMenu"
runat
=
"server"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Open/Edit"
Value
=
"CommandEdit"
/>
<
telerik:RadMenuItem
IsSeparator
=
"True"
/>
<
telerik:RadMenuItem
Text
=
"Set Status"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Reschedule"
Value
=
"2001"
/>
<
telerik:RadMenuItem
Text
=
"Cancel"
Value
=
"2002"
/>
<
telerik:RadMenuItem
Text
=
"Missed"
Value
=
"2003"
/>
<
telerik:RadMenuItem
Text
=
"Completed"
Value
=
"2004"
/>
</
Items
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
IsSeparator
=
"True"
/>
<
telerik:RadMenuItem
Text
=
"Categorize"
>
<
Items
>
<
telerik:RadMenuItem
ImageUrl
=
"Images/Scheduler - Purple.png"
Text
=
"Care Plan Printed to Mail"
Value
=
"1001"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/Scheduler - Green.png"
Text
=
"Care Plan Ready to Print"
Value
=
"1002"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/Scheduler - Blue.png"
Text
=
"IA"
Value
=
"1003"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/Scheduler - Mauve.png"
Text
=
"In Progress"
Value
=
"1004"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/Scheduler - Light Gray.png"
Text
=
"Meeting"
Value
=
"1005"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/Scheduler - Dark Gray.png"
Text
=
"Missed Call"
Value
=
"1006"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/Scheduler - Yellow.png"
Text
=
"No Care Plan - FU Call"
Value
=
"1007"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/Scheduler - Red.png"
Text
=
"Re-enrollment Opportunity"
Value
=
"1008"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/Scheduler - Light Blue.png"
Text
=
"Stops"
Value
=
"1009"
/>
</
Items
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
IsSeparator
=
"True"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/delete.gif"
Text
=
"Delete"
Value
=
"CommandDelete"
/>
</
Items
>
</
telerik:RadSchedulerContextMenu
>
</
appointmentcontextmenus
>
<
timeslotcontextmenus
>
<
telerik:RadSchedulerContextMenu
ID
=
"SchedulerTimeSlotContextMenu"
runat
=
"server"
>
<
Items
>
<
telerik:RadMenuItem
ImageUrl
=
"Images/new.gif"
Text
=
"New Initial Appointment"
Value
=
"CommandAddAppointment"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/new.gif"
Text
=
"New Followup Appointment"
Value
=
"CommandAddAppointment"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/new.gif"
Text
=
"New Internal Reservation"
Value
=
"CommandAddAppointment"
/>
<
telerik:RadMenuItem
ImageUrl
=
"Images/recurring.gif"
Text
=
"New Recurring Appointment"
Value
=
"CommandAddRecurringAppointment"
/>
<
telerik:RadMenuItem
IsSeparator
=
"true"
/>
<%-- Custom command --%>
<
telerik:RadMenuItem
Text
=
"Group by Pharmacist"
Value
=
"EnableGrouping"
/>
<
telerik:RadMenuItem
IsSeparator
=
"true"
/>
<
telerik:RadMenuItem
Text
=
"Go to today"
Value
=
"CommandGoToToday"
/>
</
Items
>
</
telerik:RadSchedulerContextMenu
>
</
timeslotcontextmenus
>
</
telerik:RadScheduler
>
</
telerik:RadPane
>
</
telerik:radsplitter
>
</
div
>
<
asp:HiddenField
ID
=
"hdnSchedApplId"
EnableViewState
=
"true"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"hdnSchedProgId"
EnableViewState
=
"true"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"hdnSchedCurrentEnv"
EnableViewState
=
"true"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"hdnSchedActiveConn"
EnableViewState
=
"true"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"hdnSchedFilter"
EnableViewState
=
"true"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"hdnSchedStatus"
EnableViewState
=
"true"
runat
=
"server"
/>
</
ContentTemplate
>
</
asp:UpdatePanel
>
<
asp:UpdatePanel
ID
=
"upPopup"
runat
=
"server"
>
<
ContentTemplate
>
<
div
ID
=
"divPopup1"
runat
=
"server"
>
<
asp:HiddenField
ID
=
"hdnPop"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField1"
runat
=
"server"
/>
<
ajaxToolkit:ModalPopupExtender
ID
=
"popupSearchAppointments"
runat
=
"server"
BackgroundCssClass
=
"modalBackground"
CancelControlID
=
"btnCancelPopup"
DropShadow
=
"true"
PopupControlID
=
"pnlSearchPopup"
TargetControlID
=
"hdnPop"
>
</
ajaxToolkit:ModalPopupExtender
>
<
asp:Panel
ID
=
"pnlSearchPopup"
runat
=
"server"
Width
=
"650px"
>
<
table
style
=
"background-color: #FFFFFF; width: 100%;"
>
<
tr
>
<
td
align
=
"center"
style
=
"width: 50%;"
>
<
asp:Label
ID
=
"Label10"
runat
=
"server"
Text
=
"Choose Dates to Search:"
></
asp:Label
>
<
telerik:RadCalendar
ID
=
"calSearchDate"
runat
=
"server"
DayNameFormat
=
"FirstTwoLetters"
FirstDayOfWeek
=
"Monday"
RangeSelectionMode
=
"ConsecutiveClicks"
SelectedDate
=
""
Skin
=
"Office2010Blue"
UseColumnHeadersAsSelectors
=
"False"
ViewSelectorText
=
"x"
>
<
dayoverstyle
cssclass
=
"rcHover"
/>
<
fastnavigationstyle
cssclass
=
"RadCalendarMonthView RadCalendarMonthView_Office2010Blue"
/>
<
disableddaystyle
cssclass
=
"rcDisabled"
/>
<
WeekendDayStyle
BackColor
=
"#FFCCFF"
CssClass
=
"rcWeekend"
/>
<
viewselectorstyle
cssclass
=
"rcViewSel"
/>
<
SelectedDayStyle
CssClass
=
"rcSelected"
/>
<
calendartablestyle
cssclass
=
"rcMainTable"
/>
<
OtherMonthDayStyle
CssClass
=
"rcOtherMonth"
/>
<
outofrangedaystyle
cssclass
=
"rcOutOfRange"
/>
</
telerik:RadCalendar
>
</
td
>
<%-- onclientitemchecked="onItemChecked" --%>
<
td
align
=
"center"
>
<
asp:Panel
ID
=
"Panel2"
runat
=
"server"
HorizontalAlign
=
"Center"
Width
=
"100%"
>
<
div
style
=
"text-align: left; width: 85%;"
>
<
asp:Label
ID
=
"lblChoosePharmacists"
runat
=
"server"
Text
=
"Chosen Pharmacists: "
></
asp:Label
>
<
asp:Label
ID
=
"lblChosenPharmCount"
runat
=
"server"
Text
=
""
></
asp:Label
>
<
br
/>
<
telerik:RadListBox
ID
=
"rlbPharmacists"
runat
=
"server"
AppendDataBoundItems
=
"True"
CheckBoxes
=
"True"
Height
=
"170px"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
Skin
=
"Office2010Blue"
Width
=
"100%"
>
<
buttonsettings
transferbuttons
=
"All"
/>
</
telerik:RadListBox
>
</
div
>
</
asp:Panel
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"width: 50%;"
>
</
td
>
<
td
>
</
td
>
</
tr
>
<
tr
>
<
td
align
=
"right"
style
=
"width: 50%;"
>
<
asp:Label
ID
=
"Label12"
runat
=
"server"
Text
=
"Choose Duration:"
></
asp:Label
>
<
telerik:RadComboBox
ID
=
"ddlDuration"
runat
=
"server"
Width
=
"75px"
>
<
Items
>
<
telerik:RadComboBoxItem
runat
=
"server"
Text
=
"30"
Value
=
"30"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Text
=
"60"
Value
=
"60"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Text
=
"90"
Value
=
"90"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Text
=
"120"
Value
=
"120"
/>
</
Items
>
</
telerik:RadComboBox
>
</
td
>
<
td
align
=
"center"
>
<
telerik:RadButton
ID
=
"btnSearch"
runat
=
"server"
Skin
=
"Office2010Blue"
Text
=
"Search"
>
</
telerik:RadButton
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"width: 50%;"
>
</
td
>
<
td
>
</
td
>
</
tr
>
<
tr
>
<
td
align
=
"left"
colspan
=
"2"
>
<
telerik:RadGrid
ID
=
"gvSearchResults"
runat
=
"server"
AllowSorting
=
"True"
AlternatingItemStyle-HorizontalAlign
=
"Left"
AutoGenerateColumns
=
"False"
CellSpacing
=
"0"
GridLines
=
"None"
HeaderStyle-HorizontalAlign
=
"Left"
Height
=
"200px"
ItemStyle-HorizontalAlign
=
"Left"
ShowStatusBar
=
"True"
Skin
=
"Office2010Blue"
Width
=
"100%"
AllowFilteringByColumn
=
"True"
ShowFooter
=
"True"
>
<
ItemStyle
HorizontalAlign
=
"Left"
/>
<
mastertableview
>
<
commanditemsettings
exporttopdftext
=
"Export to PDF"
/>
<
rowindicatorcolumn
filtercontrolalttext
=
"Filter RowIndicator column"
visible
=
"True"
>
<
HeaderStyle
Width
=
"20px"
/>
</
rowindicatorcolumn
>
<
expandcollapsecolumn
filtercontrolalttext
=
"Filter ExpandColumn column"
visible
=
"True"
>
<
HeaderStyle
Width
=
"20px"
/>
</
expandcollapsecolumn
>
<
Columns
>
<
telerik:GridButtonColumn
ButtonType
=
"LinkButton"
CommandArgument
=
"ID"
CommandName
=
"Select"
Text
=
"Select"
>
<
HeaderStyle
Width
=
"50px"
/>
<
ItemStyle
Width
=
"50px"
/>
</
telerik:GridButtonColumn
>
<
telerik:GridBoundColumn
AllowFiltering
=
"false"
AllowSorting
=
"true"
DataField
=
"ID"
DataType
=
"System.Int32"
Display
=
"false"
HeaderText
=
"ID"
ReadOnly
=
"true"
Visible
=
"false"
>
<
HeaderStyle
Width
=
"0px"
/>
<
ItemStyle
Width
=
"0px"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
AllowFiltering
=
"false"
AllowSorting
=
"true"
DataField
=
"PharmNm"
DataType
=
"System.String"
HeaderText
=
"Pharmacist"
ReadOnly
=
"true"
Visible
=
"True"
>
<
HeaderStyle
Width
=
"150px"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
AllowFiltering
=
"false"
AllowSorting
=
"true"
DataField
=
"ApptDate"
DataFormatString
=
"{0:MM/dd/yyyy}"
DataType
=
"System.DateTime"
HeaderText
=
"Appt Date"
ReadOnly
=
"true"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
AllowFiltering
=
"false"
AllowSorting
=
"true"
DataField
=
"PharmTime"
DataFormatString
=
"{0:h:mm tt}"
DataType
=
"System.DateTime"
HeaderText
=
"RPh Time"
ReadOnly
=
"true"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
AllowFiltering
=
"false"
AllowSorting
=
"true"
DataField
=
"MbrTime"
DataFormatString
=
"{0:h:mm tt}"
DataType
=
"System.DateTime"
HeaderText
=
"Mbr Time"
ReadOnly
=
"true"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
AllowFiltering
=
"false"
AllowSorting
=
"true"
DataField
=
"IaCount"
DataType
=
"System.Int32"
HeaderText
=
"IA Count"
ReadOnly
=
"true"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
AllowFiltering
=
"false"
AllowSorting
=
"true"
DataField
=
"FuCount"
DataType
=
"System.Int32"
HeaderText
=
"FU Count"
ReadOnly
=
"true"
>
</
telerik:GridBoundColumn
>
</
Columns
>
<
editformsettings
>
<
editcolumn
filtercontrolalttext
=
"Filter EditCommandColumn column"
>
</
editcolumn
>
</
editformsettings
>
</
mastertableview
>
<
clientsettings
>
<
scrolling
allowscroll
=
"True"
usestaticheaders
=
"True"
/>
</
clientsettings
>
<
HeaderStyle
HorizontalAlign
=
"Left"
/>
<
filtermenu
enableimagesprites
=
"False"
>
</
filtermenu
>
<
AlternatingItemStyle
HorizontalAlign
=
"Left"
/>
</
telerik:RadGrid
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"width: 50%;"
>
</
td
>
<
td
>
</
td
>
</
tr
>
<
tr
>
<
td
align
=
"center"
colspan
=
"2"
>
<
telerik:RadButton
ID
=
"btnCancelPopup"
runat
=
"server"
Skin
=
"Office2010Blue"
Text
=
"Cancel"
>
</
telerik:RadButton
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"width: 50%;"
>
</
td
>
<
td
>
</
td
>
</
tr
>
</
table
>
</
asp:Panel
>
</
div
>
</
ContentTemplate
>
</
asp:UpdatePanel
>
<
telerik:RadScriptBlock
ID
=
"RadScriptBlock1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
// var categoryNames = new Array();
// var scheduler = null;
// var calendar1 = null;
// var applid = null;
// var progid = null;
// var currentenv = null;
// var activeconn = null;
// var SchedulerNavigationCompleteAlreadyOccurred = false;
// function pageLoad() {
// scheduler = $find('<%=RadScheduler1.ClientID %>');
// calendar1 = $find('<%=RadCalendar1.ClientID %>');
// GetStatusFilterValues();
// }
// function rebindScheduler() {
// scheduler.rebind();
// }
// function OnClientAppointmentsPopulating(sender, eventArgs) {
//
//// loadSchedulerInfo(eventArgs);
// }
// function OnClientResourcesPopulating(sender, eventArgs) {
// loadSchedulerInfo(eventArgs);
// }
// function loadSchedulerInfo(eventArgs) {
// var info = eventArgs.get_schedulerInfo();
// info.ApplicationName = document.getElementById("<%= hdnSchedApplId.ClientID %>").value;
// info.ProgramId = document.getElementById("<%= hdnSchedProgId.ClientID %>").value;
// info.CurrentEnvironment = document.getElementById("<%= hdnSchedCurrentEnv.ClientID %>").value;
// info.ActiveConnectionString = document.getElementById("<%= hdnSchedActiveConn.ClientID %>").value;
// info.ResourceFilter = document.getElementById("<%= hdnSchedFilter.ClientID %>").value;
// info.Status = document.getElementById("<%= hdnSchedStatus.ClientID %>").value;
// }
// function OnClientAppointmentWebServiceInserting(sender, args) {
// //set a default Calendar resource
// if (args.get_appointment().get_resources().get_count() == 0) {
// var defaultCalendarResource = sender.get_resources().getResourceByTypeAndKey("Calendar", 1);
// args.get_appointment().get_resources().add(defaultCalendarResource);
// }
// }
// function OnCalendar1DateSelected(sender, args) {
//// var selectedDateTriplet = args._renderDay._date; // sender.get_selectedDates()[0];
//// if (selectedDateTriplet) {
//// var selectedDate = new Date(selectedDateTriplet[0], selectedDateTriplet[1] - 1, selectedDateTriplet[2]);
//// scheduler.set_selectedDate(selectedDate);
//// rebindScheduler();
//// }
// }
// function OnCalendar1ViewChanged(sender, eventArgs) {
// var dateTriplet = sender.get_focusedDate();
// if (!SchedulerNavigationCompleteAlreadyOccurred) {
// var selectedDate = new Date(dateTriplet[0], dateTriplet[1] - 1, dateTriplet[2]);
// scheduler.set_selectedDate(selectedDate);
// rebindScheduler();
// }
// SchedulerNavigationCompleteAlreadyOccurred = false;
// }
// function OnClientNavigationComplete(sender, args) {
// SchedulerNavigationCompleteAlreadyOccurred = true;
// var selectedDate = sender.get_selectedDate();
// calendar1.navigateToDate([selectedDate.format("yyyy"), selectedDate.format("MM"), selectedDate.format("dd")]);
// }
// function dateAdd(dt, mo) {
// var sdPlusXMo = new Date(new Date(dt).setMonth(dt.getMonth() + mo));
// return sdPlusXMo;
// }
// function getDateTriplet(dt) {
// var dateTriplet = [dt.getFullYear(), dt.getMonth() + 1, dt.getDate()];
// return dateTriplet;
// }
// function clearCalendar(cal) {
// var dates = cal.get_selectedDates();
// cal.unselectDates(dates);
// }
// // create the XML required for the proc to filter by status
// function GetStatusFilterValues(sender, eventArgs) {
// var filter = "<
ApptStatuses
>";
// var chkBox = document.getElementById('<%=cblStatus.ClientID %>');
// var checkBoxArray = chkBox.getElementsByTagName('input');
//
// for (var i = 0; i <
checkBoxArray.length
; i++) {
// var
checkBoxRef
=
checkBoxArray
[i];
// if (checkBoxRef.checked) {
// var
labelArray
=
checkBoxRef
.parentNode.getElementsByTagName('label');
// if (labelArray.length > 0) {
// filter += "<
ApptStatus
>" + labelArray[0].innerHTML + "</
ApptStatus
>";
// }
// }
// }
// filter += "</
ApptStatuses
>";
// document.getElementById("<%= hdnSchedStatus.ClientID %>").value = filter;
// rebindScheduler();
// }
// // create the XML required for the proc to filter by pharmacist
// function GetRadListBoxValues(sender, eventArgs) {
// var filter = "<
Pharmacists
>";
// var chkBox = $find('<%=rlbResources.ClientID %>');
// var items = chkBox.get_items();
// var chkCount = 0;
// for (var i = 0; i <
items.get_count
() - 1; i++) {
// var
item
=
items
.getItem(i);
// if (item.get_checked()) {
// filter += "<Pharmacist>" + item.get_value() + "</
Pharmacist
>";
// chkCount++;
// }
// }
// filter += "</
Pharmacists
>";
// document.getElementById("<%= hdnSchedFilter.ClientID %>").value = filter;
// rebindScheduler();
// }
function OnClientTimeSlotClick(sender, eventArgs) {
}
</
script
>
</
telerik:RadScriptBlock
>
</
asp:Content
>
0
Hi Ed,
I have tested the described scenario and indeed there are some discrepancies with the Radscheduler's Export when it is placed inside an update panel. I have logged this as an issue into our Issue Tracking System and we will do our best to provide a fix for it.
Thank you for your report. Your telerik points have been updated.
All the best,
Ivana
the Telerik team
I have tested the described scenario and indeed there are some discrepancies with the Radscheduler's Export when it is placed inside an update panel. I have logged this as an issue into our Issue Tracking System and we will do our best to provide a fix for it.
Thank you for your report. Your telerik points have been updated.
All the best,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ari
Top achievements
Rank 2
answered on 06 Feb 2013, 09:16 PM
Is there an update on this? We have the same issue.
Thanks.
Thanks.
0
Hello,
Unfortunately there is not update regarding that issue.
We have researched that problem and it seems that this is RadScheduler limitation.
Please excuse us for any inconveniences caused.
Regards,
Boyan Dimitrov
the Telerik team
Unfortunately there is not update regarding that issue.
We have researched that problem and it seems that this is RadScheduler limitation.
Please excuse us for any inconveniences caused.
Regards,
Boyan Dimitrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Sandy
Top achievements
Rank 1
answered on 18 Oct 2013, 06:48 PM
Hi,
I added the Export button outside of the Updatepanel
I am getting an error page"invalid uri the authority/host could not be parsed"
I added the Export button outside of the Updatepanel
I am getting an error page"invalid uri the authority/host could not be parsed"
0
Hello,
I am afraid that I am not able to replicate any such issue if I move the button for pdf export outside the update panel. Could you please try to modify the attached sample project in order to reproduce this issue and explain what exactly is different in your scenario.
Regards,
Boyan Dimitrov
Telerik
I am afraid that I am not able to replicate any such issue if I move the button for pdf export outside the update panel. Could you please try to modify the attached sample project in order to reproduce this issue and explain what exactly is different in your scenario.
Regards,
Boyan Dimitrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Sandy
Top achievements
Rank 1
answered on 23 Oct 2013, 05:56 PM
Hi ,
Thank you for your response.
My issue was cleared.
I can open the page in new pdf.I can open the scheduler in new PDF with no appointments.If I have any appointmetns in scheduler then I am getting the error"
please help me on this.
Thank you for your response.
My issue was cleared.
I can open the page in new pdf.I can open the scheduler in new PDF with no appointments.If I have any appointmetns in scheduler then I am getting the error"
The 'div' start tag on line 96 position 15 does not match the end tag of 'li'. Line 102, position 13. I am not using a xml to load my scheduler.
"please help me on this.
0
Hello,
Most likely it is caused by not closed html tags declared in scheduler templates for example. Please validate the page output. Please close all opened tags and make sure that the page output is valid.
Regards,
Boyan Dimitrov
Telerik
Most likely it is caused by not closed html tags declared in scheduler templates for example. Please validate the page output. Please close all opened tags and make sure that the page output is valid.
Regards,
Boyan Dimitrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.