Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Add a custom .ASPX to a Portal Site View modes: 
User avatar
Member
Member
egarrison-wte - 9/15/2011 10:51:10 PM
   
Add a custom .ASPX to a Portal Site
I have a portal site that I need to add custom .ASPX pages to. I need to take URL values, process them and load some Telerik controls. I want my master page to wrapper the new pages. I am able to pull the master with this: /cmspages/PortalTemplate.aspx?aliaspath=/NewPage, but I am having a hard time finding documentation on how to do this exactly.




User avatar
Kentico Support
Kentico Support
kentico_radekm - 9/19/2011 1:15:11 AM
   
RE:Add a custom .ASPX to a Portal Site
Hello.

If you want to combine ASPX template and Portal engine page (ASPX template on Portal engine site), it is possible according to following link: http://devnet.kentico.com/docs/devguide/combining_aspx_templates_and_portal_engine_templates.htm. CMSPages/PortalTemplate.aspx page is something like physical master page, or wrapper for all pages loading on Portal engine site, so for some tasks it can be used like you used it already.

However, when using physical ASPX template, you can easily take any value from URL and run any custom login in code-behind of given page template, in proper method (Page_Load and so). You can easily retrieve URL value using some proper method from CMS.GlobalHelper.UrlHelper class (please see API Reference file) and access any control and its properties, placed on given ASPX template.

If this still does not help you, could you please describe required scenario more in details, using some particular example? Thank you.


Best Regards,
Radek Macalik

User avatar
Member
Member
egarrison-wte - 10/6/2011 6:28:06 PM
   
RE:Add a custom .ASPX to a Portal Site
Apologies for not getting back to this posting earlier. I was able to get this all to work. I was unable to get the Master page to pull in dynamically. We just created a version of the Master page in the OS. It requires me to manage some of the content in 2 places, but I am extremely happy. My custom controls are working very good.