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

EditorTemplates

3 Answers 100 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Laurent Fabre
Top achievements
Rank 2
Laurent Fabre asked on 15 Mar 2010, 02:34 AM
Hi,

I may be wrong but I'm pretty sure we cannot use the Telerik MVC Controls with an empty ID string and therefore it cannot be used with an EditorTemplate. Unless you feel like passing the ID in a ViewData for every single occurence.

Correct ?

Regards,

LF

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 15 Mar 2010, 06:09 PM
Hello Laurent,

Your observation is correct. With the latest official release, you cannot use Telerik Extensions for ASP.NET MVC without ID.

After internal discuss, we decide to implement this improvement. Now the NumericTextBox components and the DatePicker component could be used withoud setting its name (using Name(...) method). If you decide not to set name, the component will get the TemplateInfo.HtmlFieldPrefix value.

To avoid any delay, I have attached the latest internal build, which includes this improvement.

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.
0
Laurent Fabre
Top achievements
Rank 2
answered on 18 Mar 2010, 01:54 PM
Awesome !

PS: Just so you know, I believe the scripts and css files for 2010.315 are missing from the CDN. I will disable the CDN for now.

Have a good week-end.

LF
0
Ross Barbieri
Top achievements
Rank 1
answered on 01 May 2010, 05:59 PM
It appears that this build has a javascript error in telerik.datepicker.min.js.  It fails on these characters (quotes added by me): "},};" when loading the datepicker control.

 

Tags
Grid
Asked by
Laurent Fabre
Top achievements
Rank 2
Answers by
Georgi Krustev
Telerik team
Laurent Fabre
Top achievements
Rank 2
Ross Barbieri
Top achievements
Rank 1
Share this question
or