This question is locked. New answers and comments are not allowed.
Hi,
I have a DetailView with Grid. Detail view contains tabs. One of these tabs uses the editor. This displays fine, but unable to edit the content. If I create an editor outside the grid on the same page, then all well - I can edit in the tab within DetailView of the grid. Figure this is a script register issue. Checking generated source , indeed "list", "combobox" and "editor" are not loadad. However, if I manually register these, the editor is still not working. I note that the following section differs:
Generated content with editor only in tab within grid:
Generated content with additional Editor on same page:
Workaroud is to create editor section on page that is hidden, but hardly elegant. Can anyone point out what I am doing wrong here?
Many thanks,
Graeme
Update: Actually, I suspect that it may not be possible to get editor within tab within grid to work - even with the above issue resolved. Any examples of this working with update to [HttpPost]? My tests do not show update to model when using .LoadContentFrom (which I believe is the correct way to get Editor to function within a tab?).
Anyone managed to get this working? - where changes can actually be saved to repository....
Many thanks
I have a DetailView with Grid. Detail view contains tabs. One of these tabs uses the editor. This displays fine, but unable to edit the content. If I create an editor outside the grid on the same page, then all well - I can edit in the tab within DetailView of the grid. Figure this is a script register issue. Checking generated source , indeed "list", "combobox" and "editor" are not loadad. However, if I manually register these, the editor is still not working. I note that the following section differs:
Generated content with editor only in tab within grid:
<script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function(){ jQuery('#MyGrid').tGrid({columns:*.... etc*;}); //]]> </script>
Generated content with additional Editor on same page:
<script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function(){
jQuery('#editor').tEditor({fileBrowser:{}, encoded:false});
jQuery('#MyGrid').tGrid({columns:*.... etc*;});
//]]>
</script>
Workaroud is to create editor section on page that is hidden, but hardly elegant. Can anyone point out what I am doing wrong here?
Many thanks,
Graeme
Update: Actually, I suspect that it may not be possible to get editor within tab within grid to work - even with the above issue resolved. Any examples of this working with update to [HttpPost]? My tests do not show update to model when using .LoadContentFrom (which I believe is the correct way to get Editor to function within a tab?).
Anyone managed to get this working? - where changes can actually be saved to repository....
Many thanks