How to make web browser editable

R

rizwanahmed24

Hello

i have a web browser AxSHDocVw.AxWebBrowser. i load html file in it.
Currently the web browser is not editable. i want to make it editable
so that i can to edit the file on runtime through this web browser. I
found one property that is axWebBrowser.EditMode, but it is read
only.
Any suggestions how can i do it?

Regards
/Rizwan
 
O

owen79

Hello

i have a web browser AxSHDocVw.AxWebBrowser. i load html file in it.
Currently the web browser is not editable. i want to make it editable
so that i can to edit the file on runtime through this web browser. I
found one property that is axWebBrowser.EditMode, but it is read
only.
Any suggestions how can i do it?

Regards
/Rizwan

Hi Rizwan,

I'm not sure if this meets your needs, but if you want to edit the
html that is being loaded into you web browser component then you'd
need to set the contenteditable property of the containing DIV. This
is how I would be doing it, thats assuming your control will allow
this to happen. I have no knowledge of AxSHDocVw.AxWebBrowser.

Owen
 
R

rizwanahmed24

HiRizwan,

I'm not sure if this meets your needs, but if you want to edit the
html that is being loaded into you web browser component then you'd
need to set the contenteditable property of the containing DIV. This
is how I would be doing it, thats assuming your control will allow
this to happen. I have no knowledge of AxSHDocVw.AxWebBrowser.

Owen

Hi

ok, i hav the solution, i just need to turn on the deisgnmode property
of html doc, thanks :)

//Rizwan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top