there are some examples of this being done but I dont know any good ones to recommend. Check this thread out though it appears to be discussing your problem Convert to .pdf
The answers posted by me are suggestions only and cannot be used in anyway against me.
You can set the masterpage of any page at runtime in pre_init event like protected void Page_PreInit(object sender, EventArgs e) { if (Request.Params[A1] != null) { this.MasterPageFile = "~/MasterPages/A1.master"; } else if (Request.Params[A2] != null) { this.MasterPageFile = "~/MasterPages/A2.master"; } else if (Request.Params[A#] != null) { this.MasterPageFile = "~/MasterPages/A3.master"; } }
Cheers!! Brij