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
555

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

naimesh_patel
Active Contributor
0 Likes
500

You need to change the data in the DATA_TABLE parameter of the HTML_CONTROL->LOAD_DATA method.

And than call the HTML_CONTROL->SHOW_DATA to call the generated URL from the LOAD_DATA method.

Regards,

Naimesh Patel

Read only

0 Likes
500

I am using the showurl method to display the webpage in the container..if i use the load data method ,what is the parameter to be passed in the data table.

Edited by: Gincy Anto on Mar 25, 2008 6:39 AM

Read only

0 Likes
500

Have you tried testing this with the SAPHTML_DEMO1 demo program and just keying in the URLs you want to display?... this demo uses the html_control->show_url method and if you run in debug you'll see it subsequently does a "call method cl_gui_cfw=>dispatch." to trigger the display of the new URL.

Jonathan