P
Pdarroch
Hello All
I am trying to upgrade my existing website from ASP to ASP.NET and I
have a file which included various functions common to several pages
in the site. While trying to convert this page I am having problems
because I the <% and %> markers appear to be invalid in ASP.NET; is
there any way of including HTML blocks in a module file as was
possible in ASP?
For instance, how can I use <% and %> markers to write the following
function:
Sub WriteMandatory()
%>
<span class="bodyred">
*
</span>
<%
End Sub
This is a simple example of the functions that I am trying to convert,
I do realise that this function can easily be converted to not use <%
and %> markers!
I am including this module (common.vb) in each page.
Thanks for any assistance
Paul
I am trying to upgrade my existing website from ASP to ASP.NET and I
have a file which included various functions common to several pages
in the site. While trying to convert this page I am having problems
because I the <% and %> markers appear to be invalid in ASP.NET; is
there any way of including HTML blocks in a module file as was
possible in ASP?
For instance, how can I use <% and %> markers to write the following
function:
Sub WriteMandatory()
%>
<span class="bodyred">
*
</span>
<%
End Sub
This is a simple example of the functions that I am trying to convert,
I do realise that this function can easily be converted to not use <%
and %> markers!
I am including this module (common.vb) in each page.
Thanks for any assistance
Paul