This project is read-only.

Multiple banner based on pageId

Topics: Developer Forum
Feb 16, 2007 at 9:23 PM
I modified a TemplatedContent.cs to TemplatedBanner.cs, with one
override method
    public override string SkinID
                return GetMySkin();
                base.SkinID = value;
and to get a SkinId
private string GetMySkin()
            return Page.Request.QueryString["pg"];
Then we can in skin file define banner fo each page based on pageId, with custom control bannerControl.ascx.
It works great...
Best regards.

Jun 10, 2009 at 9:42 AM

Can you please give the code of bannerControl.ascx or full resource of adding of banner.