i have used a web browser control and it doesn't get stretched as per the size of page displayed inside it. can i expand or shrink a web browser control as per its contents.
Printable View
i have used a web browser control and it doesn't get stretched as per the size of page displayed inside it. can i expand or shrink a web browser control as per its contents.
I don't think so, at least not with any of the versions I've ever used. Why do you need this? Maybe there is another way.
the scenario is that no user should be able to browse through the contents of any web page shown until he logs in user login form shown by us. for his purpose i have put the browser control in a picture box and disabled the picture box. now the problem is that the browser's scroll bar is also disabled. i can use my own scroll bar over the picture box but thats worth doing only if the browser control stretches itself to capture maximum screen area.
Someone else was asking to do the same thing a couple of days ago. I would look into using cookies, much like this board does. You can't post anything until you are logged in. I'm sure you could set-up your web-site the same way, so that no one could browse it unless they were logged in.
Does anyone know how to use cookies in that way?
Does your web server have support for ASP?