By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,205 Members | 1,482 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,205 IT Pros & Developers. It's quick & easy.

How to make web browser editable

P: n/a
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

Feb 1 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On 1 Feb, 13:28, "rizwanahme...@gmail.com" <rizwanahme...@gmail.com>
wrote:
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

Feb 1 '07 #2

P: n/a
On Feb 1, 5:11 pm, "owen79" <owen.rum...@googlemail.comwrote:
On 1 Feb, 13:28, "rizwanahme...@gmail.com" <rizwanahme...@gmail.com>
wrote:
Hello
i have a web browser AxSHDocVw.AxWebBrowser. i load html file in it.
Currently the web browser is noteditable. i want to make iteditable
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

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

Feb 2 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.