| 
                                                                        
                                                                         
                                                                            
                                                                                adrian.bogucki
                                                                            - 
                                                                                10/15/2008 4:41:56 AM
                                                                            
                                                                         
                                                                         
                                                                            
                                                                        
                                                                        
                                                                         
                                                                        
                                                                        
                                                                        
                                                                        
                                                                        
                                                                         
                                                                        
                                                                            Code blocks in master page
                                                                        
                                                                            Hi! I am developing a site using Kentico CMS. I like it, yet I am stuck on a little problem. I have created a Master Page using Portal engine, but I need the Master Page to be dynamic, i.e. I want it to have code blocks inside. For instance, I want to display different elements when the site is in Edit mode and different in Display mode. Unfortunately I don't know how to make it work. The usual <% %> tags don't seem to be parsed by the server. The ASPX approach is not acceptable, because I need Web Parts and those are only available using the Portal engine. I appreciate any help. Thanks!
                                                                         
                                                                        
                                                                            
                                                                         
                                                                        
                                                                         
                                                                        
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                        
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                        
                                                                         
                                                                     |