检索内容到编辑器Ajax的问题 [英] Problem's with retrieve of content to Editor Ajax

查看:69
本文介绍了检索内容到编辑器Ajax的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题是将内容检索到编辑器Ajax ..

我使用AjaxControlToolkit NET45

File.aspx



Problem's with retrieve of content to Editor Ajax ..
I use AjaxControlToolkit NET45
File.aspx

//connection to database is success and no problems with Other value 
//example : labael result …
 /*
       System.Data.SqlClient.SqlDataReader p = upd.Show_News(id);
     p.Read();
     news_title.Text = p["title"].ToString();    //this saved and I can show data but
       editor cant show data frame is empty ?
    when I post text into page_load  success  to set content of editor but with file.aspx cant why?

*/

Editor1.Content = p["content"].ToString();//Read From DB 
%>
<asp:TextBox ID="news_title" runat="server" CssClass="txttbl_add"></asp:TextBox>
<td>
               
                <cc1:Editor ID="Editor1" EnableTheming="true"   runat="server" />
                 <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
            </td>







i希望从db返回数据到编辑器然后更新它们?怎么做!!!




i want return data from db to editor then update them ? how do that !!!

推荐答案

这篇关于检索内容到编辑器Ajax的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆