hi..Everybody..
I have make WebBrowser like html editor..which i have take the code of that from some site..But the question is how i can make the html editor with RitchTextBox run syncronizelly..Like Exactly MS-FrontPage..2003..i want like when i type any character on WebBroswer Editor..i want to render each character writen to RitchTextBox..
basically like ms frontag page way..
Kind Regards..
Bassam Basamad

WebBrowser control as Editor With RitchTextBox For Code??
bwagner
I don't really understand your question.
Stephen S.
carlisle
Donal McWeeney
Yaah...thats good,But...
I have made like you said..onTextChange..but the problem..is when i write the html code in TextBox or RitchTextBox..for example:
<table>
<tr>
<td>
</td>
</tr>
</table>
This example i wrote it in Html Source Code which is in TextBox or(RitchTexBox)..See that the TextBox and RitchTextBox...Save the 'Enter' which is '\n' in TextBox or RichTexBox..let's now when i switch to Design Mode it render the Html..true..But the problem is when i come back to Source Code..i see that 'Enter' which is '\n' removes from TextBox or RitchTexBox..it come like this..:
<table><tr><td></td></tr></table>
What i want to do is saving the state of that structure that i have written in Source Code...Exactly what MS-FrontPage Do..please go MS-FrontPage 2003 and see that..it will be clear..if my explain not clear..
Thanks..
Kind Regards..
Bassam Basamad..
iiiwabibitoiii
If you want a fancy editor, you have to write that code for yourself.
John Cole
hi..thanks for reply..
i want when i write on Desing View (Content)..the html code be written to source code view..
Dave Midgley
Sorry..SeanKornish can you clear you reply..you said.. i have to save the value of RitchTextBox before i go to Design View..to make edition to my html page..so when i come back to source code(RitchTexBox) i read the values that i haved saved before in variable and put it in that RitchTexBox..Did you mean that.. if yes..so i have made changed in Design View..for example if have delete all text that in RichTexBox..so the text in variable will be not neeeded..
Can you give example..or something to be clear how it will be come
Thanks.