Webbrowser control - cf .20
Hi all,
I′m currently developing an application which depends on a webbrowser control. I would like to know if it is possible to disable the default context menu "add to favorites,select all, refresh". I would like to know also if it is possible to retrieve a table cell id with javascript trough a Document like class. I′ve read something about it but for Windows Forms (pc).
Thank you very much. Any reply would be appreciated.
Tiago Nóbrega
The netcf 2.0 WebBrowser control does not support the DOM. There is hence no way to retrieve the DocumentText property of the control. Thereby, trying to get a particular cell ID on the WebBrowser is not possible.
The context menu on the WB is the system context menu and it cannot be disabled.
Hi Srivani V Eluri,
I understand, but I cannot really accept this thing. It's not also a painful issue of a programmer's eye, but produces wery strange things too ( if i'm right ).
Have you ever bought a 400 Euro bluetooth HP printer that you use with pocketpc?
The driver maker guys nicely implemented the print button on the context menu, but when you want to print a page that has accessed with a login session ( usual at companies ), and instead of the required page the printer prints out a big 'Access Denied' html page, because they are able to use the URL property only of the explorer?
So I think that would be a helpful thing sometimes.
cheers:
attila