Hi,how can I use the value of a custom page type field as a css class on my ASCX master template, e.g. as a wrapper class?Thank you.
I'm trying to resolve macro in ascx layout@%# CMS.CMSHelper.CMSContext.CurrentResolver.ResolveMacros(@{$=43245325325|de-de=gfdgfdgfdgdfgdf$}@) %@but i'm receiving next error message[Error loading t...
I have a custom web part that uses a property to determine data displayed on the page. Currently, I am creating new page templates for each possible value of the property. The the content editors c...
Textbox going to blank in custom filter after postback.I have a LocalizedDropDownList added but its value not going to blank but CMSTextBox its going to blank after post back
How can I combine these two scripts together into one? Basically I'm trying to adding a class if checkbox is True to the existing script:Existing: @a href=@#@ @%# IsCurrentDocument()?@class='select...
Hey guysI'm currently upgrading my Kentico 9 project to Kentico 10. I got the site up and running and now I've noticed an error while testing the site.In my form layout I have a title which I local...
How can convert the below code into ASCX? {%Documents[CMSContext.CurrentDocumentParent.NodeAliasPath].Children[Documents[CMSContext.CurrentDocument.NodeAliasPath].NodeOrder - 2].NodeAliasPath#%}/Al...
Hello Kentico Team,I have created a Repeater that displays a list of CMS.file pages. I was able to get the link, description, and file type to display correctly, but I cannot seem to get the file s...
Good morning. I'm having difficulty retrieving attachments for a custom page type in a transformation. If I use a Text/XML transformation (as follows), the images display as expected.@p@@strong@Mod...
Hello Everyone,For styling flexibility, I would like to have the template code name of the current page appear as a class in the master template. Something like this: @div id=@mainContent@ class=@c...