J
Jasper Pearlman
Is it possible to define methods outside of
<script runat=""> tags under ASP.Net?
With the old ASP one used to be able to create
VB methods which contained inlined document data,
for example:
<%
LoadElementNode()
Function LoadElementNode
%>
<element>
<data><% =somedata() %></data>
</element>
<%
End Function
%>
However, with ASP.Net, all the inlined code and data
seems to be converted into code within the body
of a generated method such as:
Private Sub __Render__control1
# generated code here...
End Sub
So that the LoadElementNode function above generates
a compilation error. Is there a comparable alternative
in ASP.Net?
<script runat=""> tags under ASP.Net?
With the old ASP one used to be able to create
VB methods which contained inlined document data,
for example:
<%
LoadElementNode()
Function LoadElementNode
%>
<element>
<data><% =somedata() %></data>
</element>
<%
End Function
%>
However, with ASP.Net, all the inlined code and data
seems to be converted into code within the body
of a generated method such as:
Private Sub __Render__control1
# generated code here...
End Sub
So that the LoadElementNode function above generates
a compilation error. Is there a comparable alternative
in ASP.Net?