HTML codes is converted to a table graphically after posting back.
I use FCKEditor as my HTML editor.
In source mode, I input the following codes:
After switch to View mode, the content in FCKEidtor is as follow:
Then I write the value of FCKEidtor into a text document by the following codes:
when I opened the aaa.txt, I see the following content:
Moreover, After the page is posted back by clicking the Submit button for getting the value
of Fckeditor, what I see in the FCKEDITOR is a table instead of the HTML codes.
I switch to the Source mode, I see the following codes instead of the codes I input
originally.
Can anyone tell me why? why the "<" is converted to "<" and the ">" is converted to
">" after the page is posted back? How do I show HTML codes to user instead of a table
graphically?
your kindly reply will be appreciated.
thank you very much.
I use FCKEditor as my HTML editor.
In source mode, I input the following codes:
<table><tr><td>test</td></tr></table>
After switch to View mode, the content in FCKEidtor is as follow:
<table><tr><td>test</td></tr></table>
Then I write the value of FCKEidtor into a text document by the following codes:
IOHelper.WriteFile(@"e:\aaa.txt", FCKeditor1.Value);
when I opened the aaa.txt, I see the following content:
<table><tr><td>test</td></tr></table>
Moreover, After the page is posted back by clicking the Submit button for getting the value
of Fckeditor, what I see in the FCKEDITOR is a table instead of the HTML codes.
I switch to the Source mode, I see the following codes instead of the codes I input
originally.
<table><tr><td>test</td></tr></table>
Can anyone tell me why? why the "<" is converted to "<" and the ">" is converted to
">" after the page is posted back? How do I show HTML codes to user instead of a table
graphically?
your kindly reply will be appreciated.
thank you very much.
Re: HTML codes is converted to a table graphically after posting