Saturday 15 May 2010

javascript - how to render a .htm page into .aspx page -


I have an ASPX page, which is to be rendered. How can I get an Htm page

If possible, I want the added feature which I want to call after that JavaScript. .html page is translated

pls help

If you only have basic To serve the file, you can do the following:

  feedback. clean (); Response.WriteFile (localPathToHtmFile);  

As you would like to modify it instead, and assuming you need to adhere to the full file, you have to do some light purse when you want to add that script. Page loads in browser Instead of using WriteFile, you want to type the modified string in the response.

Another option, if you can only include html within that file, then load it into a lexical control. Then you have regular options for sending / sending scripts you want to run on page load.


No comments:

Post a Comment