Hi, I put the FCKeditor folder in the root directory and bilt a new asp.x page . However i keep getting an error. Here is the code.
FCKeditor1.BasePath = 'fckeditor/' ;
string sPath = Request.Url.AbsolutePath ;
int iIndex = sPath.LastIndexOf( "") ;
FCKeditor1.BasePath = sPath.Remove( iIndex, sPath.Length - iIndex ) ;
I dont know what I am doing wrong. Have been fighting all day with this. Here is the error:
CS1012: Too many characters in character literal
Please help me!
FCKeditor1.BasePath = 'fckeditor/' ;
string sPath = Request.Url.AbsolutePath ;
int iIndex = sPath.LastIndexOf( "") ;
FCKeditor1.BasePath = sPath.Remove( iIndex, sPath.Length - iIndex ) ;
I dont know what I am doing wrong. Have been fighting all day with this. Here is the error:
CS1012: Too many characters in character literal
Please help me!