What is the proper convention for using a NumericTextBox in an Editor Template. I have tried the standard ASP.NET MVC convention with an empty string for the name:
Html.Telerik().PercentTextBox().Name("").Value(Model)
But I get the following exception:
[ArgumentException: "value" cannot be null or empty.]
Telerik.Web.Mvc.Infrastructure.Guard.IsNotNullOrEmpty(String parameter, String parameterName) +142
Telerik.Web.Mvc.UI.ViewComponentBase.set_Name(String value) +21
I can give the control a name like: Html.Telerik().PercentTextBox().Name("RateQuote_QualRate").Value(Model) but then the model binding only works for that particular field and it's not a true template.
I'm using release 2011.2.712
Thank you.