This question is locked. New answers and comments are not allowed.
Hello,
I have a filed decorated like this :
And in EditorTemplate something like this :
I have to create a new cshtml file for each dropdownlist because only some values changes.
I want the UIHintAttribute "Field1", "NoLocalisation", etc in the cshtml.
How Can I pass the parametres of the IUHINT to the EditorTemplate file?
I have a filed decorated like this :
[UIHint("ListeLocalisations", "Field1", "NoLocalisation", "Field2", "CodeDescription_fr")]public int? NoLocalisation { get; set; }And in EditorTemplate something like this :
@using Telerik.Web.Mvc.UI@(Html.Telerik().DropDownList().Name(ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty)).BindTo(new SelectList((System.Collections.IEnumerable)ViewBag.DropDownListLocalisations, "NoLocalisation", "CodeDescription_fr")))I have to create a new cshtml file for each dropdownlist because only some values changes.
I want the UIHintAttribute "Field1", "NoLocalisation", etc in the cshtml.
How Can I pass the parametres of the IUHINT to the EditorTemplate file?