Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/30.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在文本框中加载Css并保存asp.net_Asp.net_Css_Ckeditor_.net - Fatal编程技术网

如何在文本框中加载Css并保存asp.net

如何在文本框中加载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/

我希望用户在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.