如何在文本框中加载Css并保存asp.net
我希望用户在fckeditor中查看,并将css保存在CMS中,从哪里开始我尝试过如何在文本框中加载Css并保存asp.net,asp.net,css,ckeditor,.net,Asp.net,Css,Ckeditor,.net,我希望用户在fckeditor中查看,并将css保存在CMS中,从哪里开始我尝试过 // aspx code <CKEditor:CKEditorControl runat="server" ID="txtckCss" StartupMode="Source"></CKEditor:CKEditorControl><br> //code behind string path = Server.MapPath("../App_Themes/
// aspx code
<CKEditor:CKEditorControl runat="server" ID="txtckCss" StartupMode="Source"></CKEditor:CKEditorControl><br>
//code behind
string path = Server.MapPath("../App_Themes/White/Default.css");
txtckCss.Text = System.IO.File.ReadAllText(path));
在女巫队伍中,你得到了机会?我不知道发生了什么,但现在它起作用了
Object reference not set to an instance of an object.