Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > how to add aspcompat attribute to the page directive? View modes: 
User avatar
Member
Member
Fabien Calais - 12/22/2010 4:44:58 AM
   
how to add aspcompat attribute to the page directive?
Hi,

I try to implement a custom payment gateway in my portal web site
this payment gateway use a com component i have to call in my pages
for use it, i need to add aspcompat=true to the <%@page directive of the page

Any advice to achieve that?

User avatar
Kentico Support
Kentico Support
kentico_radekm - 12/22/2010 7:48:35 AM
   
RE:how to add aspcompat attribute to the page directive?
Hello.

If you need to add some parameter into Page directive, you have to do it in proper aspx page. When using Portal engine development model, you can add it in CMSPages/PortalTemplate.aspx page, which is basically physical master page for all Portal engine pages. So, shopping cart is loaded within it. However, if you add it there, it will be on all pages. If you want to have on page with shopping cart only, you can create and use single aspx page template for shopping cart web part only, and use this parameter (directive) in this single aspx page only.

Best Regards,
Radek Macalik

User avatar
Member
Member
Fabien Calais - 12/22/2010 9:10:01 AM
   
RE:how to add aspcompat attribute to the page directive?
Thanks for your quick answer !
Everything is clear now
Just have to do it ....