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

[Solved] Multiple Editors in Razor PartialView

1 Answer 41 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mike
Top achievements
Rank 1
Mike asked on 09 Aug 2011, 09:45 PM
I am loading up a number of editors in a partial view, and they all have the same name. Everything works as expected, I even get the data back from the from as an array of the name of the editors. The problem I am seeing is that the first editor displayed is using an iFrame, the rest are TextAreas. Has anyone else seen this behavior?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 10 Aug 2011, 05:36 AM
Hi Don,

 The reason is that they all have the same name. The name is rendered as "id" html attribute and those must be unique in the page. Make sure your editors have unique name by appending some index to them.

Regards,
Atanas Korchev
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

Tags
Editor
Asked by
Mike
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or