Hi, I am not sure how to pass a variable from an .aspx page to an .ascx page. I have a Control that puts rotating banners on a page. The control has several public properties. However, only one of those properties changes on the page level. All the other properties are the same for every page site-wide. So, instead of setting all the properties on every page in my sites (many sites), I want to set it up so I only have to setup the sitewide properties once and only the page level properties on each page.
I want to create a control with a property of AdKeyword="somename" and pass it to another control that will grab that page-level property and add it to all the other site-wide properties. I guess what I need could be called a Dynamic Control Property. My .aspx page has:<%@ Register TagPrefix="uc1" TagName="Banner1" Src="banner1.ascx" %>
<asp:Content ID="Leaderboard" runat="server" ContentPlaceHolderID="Leaderboard">
<uc1:Banner1 AdKeyword="L2Chamber" runat="server" OverrideHeight="90" />
</asp:Content> My banner1.ascx page has:<%@ Control Language="VB" ClassName="UserControl297" %>
<%@ register tagprefix="uc1&
View Complete Post