View Single Post
  #10 (permalink)  
Old May 13th, 2008, 12:20 PM
dparsons dparsons is offline
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

You can pass parameters to HTML files just as you would an ASPX file through the query string, however, HTML in and of itself can not do anything with this value. While I understand that your solution works, did you try using my solution by appending a value to the query string? I am pretty sure you will get the same result without the need to create additional files.

Something like this:
sb.Append("'newhtml.html?custval=" + Index + "','cgmframe');")

In any event, to handle the issue with the HTML files, I would first delete all of the files out of the directory before creating your new file. This would ensure that there is only ever one file in the directory at a time.


================================================== =========
Read this if you want to know how to get a correct reply for your question:
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
Reply With Quote