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

'Telerik.Web.UI.Appointment' does not contain a property with the name 'Title'

4 Answers 246 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
MohamadReza
Top achievements
Rank 1
MohamadReza asked on 28 Jul 2010, 01:30 PM
hi everyone
i have this select command

"SELECT AppointmentID , StartDate, EndDate, Title, EstimatedTime, RoomId FROM Appointments"

when i use <asp:Label Text='<%# Eval("Title") %> ' /> in the AppointmentTemplate tag  i get this error :

DataBinding: 'Telerik.Web.UI.Appointment' does not contain a property with the name 'Title'.

but when i use <asp:Label Text='<%# Eval("End") %> ' /> i get the answer

can anyone solve my problem  ?

4 Answers, 1 is accepted

Sort by
0
MohamadReza
Top achievements
Rank 1
answered on 28 Jul 2010, 04:09 PM
Can Anyone solve my problem !!?
0
Veronica
Telerik team
answered on 29 Jul 2010, 12:56 PM
Hi MOHAMAD,

Please try using <%#Eval("Subject")%> instead of <%# Eval("Title") %>.

Regards,
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
0
MohamadReza
Top achievements
Rank 1
answered on 29 Jul 2010, 01:01 PM
thanks
but the problem got solved when i used CustomAttributeNames="Title,...." property
0
Veronica
Telerik team
answered on 29 Jul 2010, 04:58 PM
Hi Niksoft,

I'm glad your problem is solved.

Feel free to ask me if you have further questions.

Greetings,
Veronica Milcheva
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
MohamadReza
Top achievements
Rank 1
Answers by
MohamadReza
Top achievements
Rank 1
Veronica
Telerik team
Share this question
or