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

Create Custom Attribue as Hyperlink

2 Answers 72 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
.NET Coder
Top achievements
Rank 1
.NET Coder asked on 23 Jul 2008, 07:59 PM
I have the following Custom Attribute that I would like to display as a hyperlink.

<%

#Eval("Attributes['ScheduleID']")%>

Default.aspx?SchedulelID=(value of the ScheduleID Attribute)

ex) Default.aspx?SchedulelID=1

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 24 Jul 2008, 04:29 PM
Hello Wayne,

You can easily do this using Templates. If you need to add a link in the advanced form, then please refer to the
Customizing the Advanced Template example.

Let us know if you have further questions.

Best wishes,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
.NET Coder
Top achievements
Rank 1
answered on 29 Jul 2008, 03:38 PM

Thanks for the direction.  I just needed to construct the hyperlink in the Appointment Template as shown below.

<

AppointmentTemplate>

<

a href="../Supervisor/Registration.aspx?ScheduleID=<%#Eval("Attributes['ScheduleID']")%>&TechnicianSchoolID=<%#Eval("Attributes['TechnicianSchoolID']")%>"><%#Eval("Attributes['ScheduleID']")%></a>

</AppointmentTemplate>

Tags
Scheduler
Asked by
.NET Coder
Top achievements
Rank 1
Answers by
Peter
Telerik team
.NET Coder
Top achievements
Rank 1
Share this question
or