Cant get the cute editor to take The Include html

Last post 06-07-2008, 1:38 PM by hamid_gsts. 3 replies.
Sort Posts: Previous Next
  •  06-07-2008, 12:25 PM 41231

    Cant get the cute editor to take The Include html

    Hi! I am having a hard time getting the editor to save this line of code:
    <!-- #include file="team.inc" -->
  •  06-07-2008, 1:04 PM 41233 in reply to 41231

    Re: Cant get the cute editor to take The Include html

    Hi! This is what I got in the codes drop down:
    dropdown.Items.Add(drSections["SectionName"].ToString(), "<div style=\"width: 445px; color: red; background-color: #33333\">" + strCode + "TEST</div>" );
     
    When I click on the section name from the drop down it only output 'TEST' in the editor all the other code is ignored. Please help on this.
  •  06-07-2008, 1:18 PM 41236 in reply to 41233

    Re: Cant get the cute editor to take The Include html

    for some reason it's not taking the concatenation with strCode:
    dropdown.Items.Add(drSections["SectionName"].ToString(), "<div style=\"width: 445px; color: red; background-color: #777777\">" + strCode + "TEST</div>" );
     
  •  06-07-2008, 1:38 PM 41237 in reply to 41236

    Re: Cant get the cute editor to take The Include html

    Ok! I did a lot of testing and here is where the problem comes from : <!-- #include file="../Includes/sec4.inc" -->
     
    that line of code is in the database and I deleted it and just put a name: Test HTML instead in the same field and run the edit and click a section name from the codes drop down and Test HTML got put in the editor, so it must me something wrong with <!-- #include file="../Includes/sec4.inc" -->   Any help appreciated on this!!!
View as RSS news feed in XML