I have an ASCX file called AegHero where I have the a markup for a WebPart. I also have a BackgroundColor property that holds a class name, that class name corresponds to a class with a specific ba...
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.
Is there a way to get the Pager.PageCount value when the page param exceeds the max number of pages available?In the below code totalPages = 3 so long as the page param is between 1 and 3.However, ...
I have the following code in front:@cms:CMSRepeater ID=@RepItems@ runat=@server@ DataBindByDefault=@false@@ @ItemTemplate@ //code @/ItemTemplate@ @/cms:CMSRepeater@ @div class=@pagi...
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...