Hi guys
I Got major issue here, before I decided to purchase your software.
I am pasting the code inside the editor in html mode e.g
private void BindStep3()
{
if (txtProjectName.Text.Trim().Length == 0)
{
Wizard1.ActiveStepIndex = 0;
}
Cookie oCookie = new Cookie();
string sPath = Server.MapPath("/Files/" + oCookie.ClientID + "/" + txtProjectName.Text);
Editor1.Text = Resources.Resource.articlecontents;
DirectoryInfo di = new DirectoryInfo(sPath);
FileInfo[] fi = di.GetFiles();
DataTable dt = new DataTable();
dt.Columns.Add(new DataColumn("Path"));
dt.Columns.Add(new DataColumn("Name"));
for (int i = 0; i < fi.Length; i++)
{
DataRow dr = dt.NewRow();
dr["Name"] = fi.Name;
dr["Path"] = fi.FullName;
dt.Rows.Add(dr);
}
rptFile.DataSource = dt;
rptFile.DataBind();
}
But when I switch the editor from normal to html and html to normal
All my code indentation (spaces) and tabs removed?
I have disable autoformatting, disable convert html tags
But it still auto removed my spaces in the code
Can anyone help me?