E
edsuslen
I am trying to migrate from asp to asp.net and having problem replacing
include with user control.
On every page we have include asp that have some common asp code that I
need to run before the page code kicks in, but user control code is
always running after the page code.
I am even registering and placing user control before my page
initialization, but still it's running after.
<%@Register TagPrefix="FindSessionUC" TagName="FindSession"
Src="EDWFindSessionValues.ascx"%>
<FindSessionUC:FindSession id="MyFindSessionUC" runat="server" />
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="EDW_TEST.aspx.vb" Inherits="CSATodayWEBNet.EDW_TEST"%>
What am I doing wrong?
Any help would be appritiated.
Thanks.
include with user control.
On every page we have include asp that have some common asp code that I
need to run before the page code kicks in, but user control code is
always running after the page code.
I am even registering and placing user control before my page
initialization, but still it's running after.
<%@Register TagPrefix="FindSessionUC" TagName="FindSession"
Src="EDWFindSessionValues.ascx"%>
<FindSessionUC:FindSession id="MyFindSessionUC" runat="server" />
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="EDW_TEST.aspx.vb" Inherits="CSATodayWEBNet.EDW_TEST"%>
What am I doing wrong?
Any help would be appritiated.
Thanks.