该文本框是网页编辑器中的,用iframe
怎么去取该文本框中的数据。

解决方案 »

  1.   

    在html中是这样的:
    <input type="hidden" name="textid"  runat="server">
    <iframe ID="eWebEditor1" src="ewebeditor/ewebeditor.asp?id=textid&amp;style=s_coolblue"frameborder="0" scrolling="no" width="500" HEIGHT="350"></iframe>我想在后台中获取textid中的内容,如何取值??我是这样的,但不行,如果是中文或其他格式就不行了。
    tring  sContent="";for( int i = 0;i <Request.Form["textid"].Length; i++ )
    {
     sContent = sContent + Request.Form["textid"][i].ToString();
    }