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

[Solved] Html.Telerik().TimePickerFor bug?

1 Answer 80 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tim
Top achievements
Rank 1
Tim asked on 14 Dec 2010, 10:55 AM
Hello,

in a "create" view im trying to display the TimePickerFor helper for a DateTime field which is empty.

I get this error: "System.NullReferenceException: Object reference not set to an object instance."

Displaying it as a EditFor works perfektly.

Maybe it's a bug?

Regards,
Tim

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 14 Dec 2010, 04:28 PM
Hello Tim,

Unfortunately I am not sure where could be the problem. I have created a simple test project in my attempt to reproduce the depicted issue. It is attached to this message. Chekc "Strongly typed view with TimePicker" link.

Kind regards,
Georgi Krustev
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
General Discussions
Asked by
Tim
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or