Board index » Web Programming » accessing .ascx data from .aspx
|
racerbelle
|
accessing .ascx data from .aspx
Web Programming238
Hi, I have a .aspx page which has a .ascx file included through the lines <%@ Register TagPrefix="aspcustom" TagName="menu" Src="Menu.ascx" %> and <aspcustom:menu id="Menu1" runat="server"></aspcustom:menu> both of these files have vb.net code behind. I am processing some information from a post back in the code behind for the ascx file, as it is common to various pages. I would, during this postback period, like to access this processed data, and use it in the main page. How do I access the data? Do I have to do anything special to ensure the .ascx code is executed before the .aspx code, so that the information is ready? Thanks, Martin - |
