Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problems in using html Viewer control

Gincyanto
Explorer
0 Likes
631

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 ?

3 REPLIES 3
Read only

Sm1tje
Active Contributor
0 Likes
552

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.

Read only

GrahamRobbo
SAP Mentor
SAP Mentor
0 Likes
552

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

Read only

0 Likes
552

Hi all,

Thanks for your help. It seems that its the problem with the web application that it doesnot show the page if the url is changed