Skip to Content

Problems in using html Viewer control

Hi,

I am using a html viewer control .Depending on the organization, I have to display different pages of the same web application in the html viewer control .Now my problem is

if I display one page in my html viewer control ,its showing the same page again in the html viewer control ,even if i give different url in the show_url method of the html viewer control.

Any body knows how to solve this problem ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Mar 29, 2008 at 11:53 AM

    It might be best to initialize the html_viewer instance and create it again every time the URL changes.

    There is no refresh functionality for this. The REFRESH method just refreshes the current page.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 29, 2008 at 11:49 PM

    Hi Gincy,

    it sounds like this should work. Certainly I have not seen this problem before.

    If you look at sample program SAPHTML_DEMO1 this is exactly what it does - with the exception that the user gets to enter the URL.

    Try and compare your code with this sample - use the debugger to verify you are passing the parameters correctly.

    Cheers

    Graham Robbo

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.