J
Joe Fallon
I have a sample web form in C# that works correctly.
When I translated it to VB I can't get one feature in it working.
==============================================
The part that does not work in VB is:
<%= Context.Items["SomeKey"] %>
and:
<%= this.SomeProperty %>
==============================================
Part of the C# HTML code looks like this:
<HTML>
<HEAD>
<title>
<%= Context.Items["SomeKey"] %>
</title>
<%= this.SomeProperty %>
</HEAD>
==============================================
Part of the VB HTML code looks like this:
<HTML>
<HEAD id="Head" runat="server">
<title>
<%= Context.Items("SomeKey") %>
</title>
<%= Me.SomeProperty %>
</HEAD>
==============================================
When I remove the <% %> type of code from the HTML my page runs correctly.
But I get a blank page when I leave it in.
Any ideas?
When I translated it to VB I can't get one feature in it working.
==============================================
The part that does not work in VB is:
<%= Context.Items["SomeKey"] %>
and:
<%= this.SomeProperty %>
==============================================
Part of the C# HTML code looks like this:
<HTML>
<HEAD>
<title>
<%= Context.Items["SomeKey"] %>
</title>
<%= this.SomeProperty %>
</HEAD>
==============================================
Part of the VB HTML code looks like this:
<HTML>
<HEAD id="Head" runat="server">
<title>
<%= Context.Items("SomeKey") %>
</title>
<%= Me.SomeProperty %>
</HEAD>
==============================================
When I remove the <% %> type of code from the HTML my page runs correctly.
But I get a blank page when I leave it in.
Any ideas?