This works:
@(Html.Infragistics().HtmlEditorFor(p => p.MyHtmlText).ID("MyHtmlText").InputName("MyHtmlText").Render())
But this doesn't:
@(Html.Infragistics().HtmlEditorFor(p => p.Person.Name).ID("Person.Name").InputName("Person.Name").Render())
Is there a way to use the second approach?
Hello,
I'm just following up to see if you need any further assistance with this issue. If so please let me know.
Hello Luis,
It does not work because "Person.Name" is passed and accepted as string and cannot be evaluated. Please try to pass it without the quotes:
@(Html.Infragistics().HtmlEditorFor(p => p.Person.Name).ID(Person.Name).InputName(Person.Name).Render())
or maybe Model.Name. Howewer it depends on your configuration if this would work. Please explain what would you like to achieve, and what do you expect Person.Name to return ?
It would be also helpful if you provide more code from your model and controller and I will suggest accordingly.