Issue in refreshing the IFrame

Jun 11 2009 12:29 AM
Dear All,

I have an ASP.Net applicaiton in which, the user can set some preferences and based on that the data is generated as an html report and I kept it in the server with the name "Test.htm", then I am loading the same in an iframe in that page.

In my development environment the iframe is refreshed with new data whenever I am clicking on the "Generate" button.

But when I uploaded, the html report is generated fine but it is not refreshed in the iframe for that I used the following codes in the javascript:

1.     MyFrame.document.location.reload();
2.     MyFrame.src = "Test.htm"
3.     MyFrame.document.location.href="Test.htm"

Can any one help me to get rid of this issue?

Thanks a lot in advance.