Hi!
I'm currently working on creating RadHtmlField(editor) programatically on a sharepoint 2007 page with following
Requirements:-
1) The editor is created based on how many user requires. Example, If he/she wants 10 editors, he/she will get 10 editors that comes together with a textbox each, as editor title in the page.
Current settings:-
1) Both editors and textboxes are wrapped in a usercontrol.
2) The usercontrol Fieldname is set to "Content". The [Content] is one of the page layout content type.
3) In code behind, the editors are created with no Fieldname.
4) Each editors.html and textboxes.value will be assigned from [Content] value that being serialized based on indexes.
Problems:-
1) Every time the editors are rendered, its fieldname picks up usercontrol's Fieldname "Content" value.
2) This will overwrite editors.html value that being assigned previously. Thus It will always display the last editors.html when publish.
3) If i assigned a dummy value for each editor's Fieldname, the editor will not show up
Is there anywhere that i can achieve the requirements or workarounds that can make it happens? Since, there is no reference for RadHtmlField anywhere in the internet, i really need your help.
Telerik.Web.UI version: 2010.3.1317.20, RadEditorSharepoint version: 2.0.50727
I'm currently working on creating RadHtmlField(editor) programatically on a sharepoint 2007 page with following
Requirements:-
1) The editor is created based on how many user requires. Example, If he/she wants 10 editors, he/she will get 10 editors that comes together with a textbox each, as editor title in the page.
Current settings:-
1) Both editors and textboxes are wrapped in a usercontrol.
2) The usercontrol Fieldname is set to "Content". The [Content] is one of the page layout content type.
3) In code behind, the editors are created with no Fieldname.
4) Each editors.html and textboxes.value will be assigned from [Content] value that being serialized based on indexes.
Problems:-
1) Every time the editors are rendered, its fieldname picks up usercontrol's Fieldname "Content" value.
2) This will overwrite editors.html value that being assigned previously. Thus It will always display the last editors.html when publish.
3) If i assigned a dummy value for each editor's Fieldname, the editor will not show up
Is there anywhere that i can achieve the requirements or workarounds that can make it happens? Since, there is no reference for RadHtmlField anywhere in the internet, i really need your help.
Telerik.Web.UI version: 2010.3.1317.20, RadEditorSharepoint version: 2.0.50727