joecool2005 Posted June 9, 2009 Share Posted June 9, 2009 Hi,I have this file abc.aspx. Is it possible to include on the code behind file test.aspx.vb?Thxjoe Link to comment Share on other sites More sharing options...
jesh Posted June 9, 2009 Share Posted June 9, 2009 I'm not really understanding what you're asking. Are you wanting to use "test.aspx.vb" as the codebehind for "abc.aspx"? If so, you declare that on the "abc.aspx" page like so: <%@ Page Codebehind="test.aspx.vb" %> Link to comment Share on other sites More sharing options...
joecool2005 Posted June 10, 2009 Author Share Posted June 10, 2009 Sorry if I'm not clear.I have those files test.aspx and test.aspx.vbI have a file that have some functions in abc.aspx.But I know in test.aspx I can do this and able to call all the functions.<!--#include file="abc.aspx"--> If I work on test.aspx.vb, I can not call functions in abc.aspx fileIs there a way to call functions in abc.aspx?Thx for your help Link to comment Share on other sites More sharing options...
HostingASPNet Posted June 15, 2009 Share Posted June 15, 2009 Hello,It will be much better to put all your code in the code behind file, not in the .aspx file.Regards Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.