This question is locked. New answers and comments are not allowed.
Hello,
I'm using a TabStrip with LoadContentFrom a PartialView and inside the model from the PartialView, I have a DataType("Number"), but, when I put the name of the Number.ascx as the name of the field from my model, it doesn't bind properly.
When I use the code below, it doesn't work:
<%= Html.Telerik().NumericTextBox()
.Name(this.ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty))
.Value((double)this.Model)
.DecimalDigits(1)
%>
But, when I do like this, it works:
<%= Html.Telerik().NumericTextBox()
.Name("Value2")
.Value((double)this.Model)
.DecimalDigits(1)
%>
The attached project has this problem.
I'm using a TabStrip with LoadContentFrom a PartialView and inside the model from the PartialView, I have a DataType("Number"), but, when I put the name of the Number.ascx as the name of the field from my model, it doesn't bind properly.
When I use the code below, it doesn't work:
<%= Html.Telerik().NumericTextBox()
.Name(this.ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty))
.Value((double)this.Model)
.DecimalDigits(1)
%>
But, when I do like this, it works:
<%= Html.Telerik().NumericTextBox()
.Name("Value2")
.Value((double)this.Model)
.DecimalDigits(1)
%>
The attached project has this problem.