我希望用户在 fckeditor 中查看并将 css 保存在 CMS 中我尝试过的从哪里开始
// 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.