| 
                                                                            
                                                                                awalters-designkitchen
                                                                            - 
                                                                                9/30/2008 2:38:17 PM
                                                                            
                                                                         
                                                                        Dynamically Change Page Template 
                                                                            Hello,
 Kentico v2.3a
 
 I currently have a set of products that i wish to add a print template to.  Essentially, when this button is clicked, i'd like a pop up to appear w/ the product in it, but loaded in a different template.
 
 I cannot simply use CSS as this new template will have 1-2 additional controls...so it's not just a matter of styling, but also requiring additional controls.
 
 Is there a way to set which template to load programmatically?  I tried setting CMSContext.CurrentPageInfo.PageTemplateInfo.PageTemplateId = #new_template_id ...but this did not work.
 
 Thanks in advance,
 Adam
 
                                                                            
                                                                         
 
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                         |