This is a migrated thread and some comments may be shown as answers.

HTML in RadScheduler Subject

1 Answer 149 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
David Tenney
Top achievements
Rank 1
David Tenney asked on 25 Mar 2010, 05:44 AM
Does anyone know how to add HTML to the subject so a user can click on it?

Inserting HTML code in the database and returning it to the scheduler does not do anything other than display the HTML.

What am I missing. Any help or assistance is appreciated.



Sincerely,
David Tenney
http://www.dcasi.com
http://www.pctechworld.com
http://www.pctwusa.com

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 25 Mar 2010, 03:19 PM
Hi David,

You can use appointment templates to add any content to the appointments. Please, see this demo:

http://demos.telerik.com/aspnet-ajax/scheduler/examples/advancedformtemplate/defaultcs.aspx

You can associate additional information to the appointments via custom attributes - for example an URL that should be rendered as a link in the appointment.

<AppointmentTemplate>
    <div class="rsAptSubject">
       <%# Eval("Subject") %>
    </div>
   <a href='<%# Eval("MyURL") %>'><%# Eval("MyURL") %></a>
</AppointmentTemplate>

I hope this helps.

Regards,
Tsvetomir Tsonev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Scheduler
Asked by
David Tenney
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or