Hi Richard,
To pass variables to the HTML page (I assume you need this for JavaScript?),
you can use the RegisterStartupScript method. (For some reason, it does not
show up in Intellisense.)
Dim JavaScript As String
JavaScript = "<script language=""javascript"">" & VbNewLine
JavaScript &= "myPassedVariable = '" & myVariable & "';" & VbNewLine
JavaScript &= "</script>"
Page.RegisterStartupScript("myScript", JavaScript)
The StartupScript is physically appended to the HTML page. Is this what you
are looking for?
Take care,
Eric