4 Answers, 1 is accepted
0
Hello Goud,
You can use Templates and Custom Attributes to achieve this functionality. Attached is a simple demo page which you can use for reference.
You can get the appointment subject on the client using the OnClientAppointmentClick event:
Feel free to contact us if you have any other questions.
Best wishes,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You can use Templates and Custom Attributes to achieve this functionality. Attached is a simple demo page which you can use for reference.
<telerik:RadScheduler ID="RadScheduler1" |
runat="server" CustomAttributeNames="URL" |
EnableCustomAttributeEditing="True" DataEndField="End" |
DataKeyField="ID" DataRecurrenceField="RecurrenceRule" |
DataRecurrenceParentKeyField="RecurrenceParentID" |
DataSourceID="AccessDataSource1" |
DataStartField="Start" DataSubjectField="Subject"> |
<AppointmentTemplate> |
<a href='<%#Eval("URL") %>' target="_blank"> |
<%# Eval("Subject") %> |
</a> |
</AppointmentTemplate> |
</telerik:RadScheduler> |
You can get the appointment subject on the client using the OnClientAppointmentClick event:
<script type="text/javascript"> |
function OnClientAppointmentClick(sender, eventArgs) |
{ |
alert(eventArgs.get_appointment().get_subject()); |
} |
</script> |
<telerik:RadScheduler |
OnClientAppointmentClick="OnClientAppointmentClick" |
ID="RadScheduler1" |
runat="server" |
Feel free to contact us if you have any other questions.
Best wishes,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Arni
Top achievements
Rank 1
answered on 26 Nov 2008, 04:05 AM
hello Peter,
offcourse , What u said is correct.
I am aslo doing the same concept. Under the Appointment Template I have added a Alink to popup the window of some other link say Items.aspx. It is coming.
ex:
BUt What I actualy need is..
Ineed this link to be viewable from the current date. not fromthe previousperiods...
I tried but I could get
how to get Id of the link which is inside the Appointment template?
Under What event I can be Handled?
offcourse , What u said is correct.
I am aslo doing the same concept. Under the Appointment Template I have added a Alink to popup the window of some other link say Items.aspx. It is coming.
ex:
<AppointmentTemplate> |
Subject: <%# Eval("Subject") %> |
<hr /> |
<a id="MinuteLk" href="#" onclick="openRadWindow(); return false;">Minutes</a> |
</AppointmentTemplate> |
//where the OPen window Function call at |
function openRadWindow() |
{ |
var oWnd = radopen("Projects.aspx", "RadWindow1" ); |
oWnd.center(); |
} |
Ineed this link to be viewable from the current date. not fromthe previousperiods...
I tried but I could get
how to get Id of the link which is inside the Appointment template?
Under What event I can be Handled?
0
Hi Arni,
Probably you can achieve this by adding templates dynamically based on your custom condition. Here is a useful kb article to help you get started:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/creating-and-adding-an-appointment-template-dynamically-and-accessing-the-appointment-object-in-the-template-class.aspx
Greetings Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Probably you can achieve this by adding templates dynamically based on your custom condition. Here is a useful kb article to help you get started:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/creating-and-adding-an-appointment-template-dynamically-and-accessing-the-appointment-object-in-the-template-class.aspx
Greetings Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Arni
Top achievements
Rank 1
answered on 03 Dec 2008, 03:24 AM
HI peter,
I saw the LInk .I did as it is its is working but when i set default template for appointment say with HR in subject.. While navigating aloe it is working. is the pge is refreshe . it comeds back to its origial foramat. say with the HR near the sucject..
My requirement is.
1. I should set a linkbutton near the each Appointment( In all day week month view)
Which pops up the particular form from the orther side.
2. Condition is past Apointmernts need to show the LInk button. Curent and future Apointment Shoud not show the Link Buttons.
Kindly help me to clear it?
I saw the LInk .I did as it is its is working but when i set default template for appointment say with HR in subject.. While navigating aloe it is working. is the pge is refreshe . it comeds back to its origial foramat. say with the HR near the sucject..
My requirement is.
1. I should set a linkbutton near the each Appointment( In all day week month view)
Which pops up the particular form from the orther side.
2. Condition is past Apointmernts need to show the LInk button. Curent and future Apointment Shoud not show the Link Buttons.
Kindly help me to clear it?