In an ASPX file I have something like this:
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="articleFeature.ascx.vb" Inherits="ASCX_articleFeature" %><%@ Register TagPrefix="prefix" TagName="feature" Src="~/ASCX/feature.ascx" %> here some static content, that is rendered without problems <%# myProtectedCodeBehindMethod() %><% myProtectedCodeBehindMethod() %> more static
The method calls are ignored at all, I just get the static content as output.
Method calls inside a FormView are working fine, but
<asp:Label><% method() %></asp:Label>
is not working, either.
In the next step I want to render this control using renderControl(), which also just outputs the static contents.