WebBrowser in Compact Framework

G

Guest

Hi,
I am trying to use the webbrowser control in the compact framework. I am
setting a URL to the webbrowser control and am able to see the page in my
handheld device. I have two issues

1. I have a handheld device that scans items and does certain functions
depending on the input. I am required to code the app in such a way that when
I scan an item the page should get submitted. Since the webbrowser.document
property is not valid in the compact framework, I am unable to scroll through
the list of elements in the control by using this property and actually
submit the page. Can someone throw some light as to how this may be achieved.

2. The DocumentText property for the webbrowser control is not working as
expected. I am unable to read the value though I am able to set it. As per
MSDN I should be able to set/get this property.

The first question is very important as it forms a part of the business
process for executing certain steps. I would be delighted to hear of any
reply about this.

I have already tried to check the OpenNETCF libraries, but their library for
2.0 does not contain the class for WebBrowser. They mentioned that it has
been dropped.

Thanks,
 
G

Guest

Actually you can ignore the point 2 as I later saw that it is not possible to
read the DocumentText in the CF. Is there any work around this?
 
A

Alex Yakhnin

Does your page has to be visible for a user? If all what you need is to
submit some data to the webserver, you can use WebRequest and compose the
HTTP request and submit it on the server.
 
G

Guest

Yes, The page will be visible to the user. The user will enter some data. Eg.
he will update quantities of stock and then scan the item again. On scanning,
it should get submitted. Since it is a web page, I cant directly call the
Click method of the button or the submit method of the form.

Can you please give a few more details about how to use the said WebRequest
through the compact framework.
 

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