views:

249

answers:

1

I tested the .NET version tinymce, and it works fine. But when I try to get the id in the code behind, I can't find it.


Code:

<tinymce:TextArea ID="elm1" theme="advanced" plugins="advimage,print,contextmenu,paste,fullscreen,inlinepopups"
theme_advanced_buttons1="bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink,separator,forecolor, code, image, fullscreen"
theme_advanced_buttons2="" theme_advanced_buttons3="" theme_advanced_toolbar_location="top"
theme_advanced_toolbar_align="left" theme_advanced_path_location="bottom" theme_advanced_resizing="true"
runat="server" />

elm1 don't exist in the code behind, only when I do this in the aspx page:

<script runat="server">

    public string ContentText
    {
        get { return elm1.Value; }
        set { elm1.Value = value; }
    }


</script>

Any ideas on how I should find the control from the code behind?

A: 

I build the source of the .net version tinymce by my self and then it work to find the control in code behind.

Frozzare