• Form Validation with Macro
    Question Aug 9, 2016
    Hello, I could use a hand setting up some form validation. We are setting up event registration through a form that has a checkbox for each event date. The idea is to check if a specific day is already at capacity when a checkbox is selected. I setup the following macro to g...

  • Get FileExtension using macro.
    Question Sep 14, 2018
    Hi, 1. How to get file extension of a file uploaded as a File data type using macro? 2. I got 2 fields, "File Upload" (File Datatype)-which is used to upload file using direct uploader form control. And another field "File Extension"-this field is to store the extension of f...

  • Using K# macro methods in ASCX transformations
    Question Aug 14, 2014
    Hi, I usualy use text/xml transformations, but in certain cases where I need to use custom controls, I use ASCX transformations. I have many custom k# methods, and I would like to use them without having to copy this code around. Is this possible? In one ascx transformati...

  • Assigning micro identity for users in kentico 11
    Question Jun 14, 2018
    I need one qualification regarding Macro identity which introduced in kentico 11. I want to implement it so added new macro identity with name Global Administrator and effective user is Global Administrator after adding it I need to add macro identity for the user, so I have ...

  • Resolve inline widget using macro
    Question Aug 23, 2018
    How can we resolve an inline widget in webpart container? [http://prntscr.com/klxr42](http://prntscr.com/klxr42) I was using `` or `` but did not working [http://prntscr.com/klxob8](http://prntscr.com/klxob8) It working good in form tab, when edit an item.

  • Getting expressions to work in Metadata MVC
    Question Jul 22, 2019
    I have a page type that can inherit it's metatitle from the root page. The root page's metatitle is "" I am using `page.GetInheritedValue("DocumentPageTitle").ToString()` which only returns it back as a string rather than expanding the expression. Any ideas how I would go a...

  • Check security error event
    Question Oct 29, 2019
    Few days ago, my website log quite much event like this Security check of the expression 'Settings.CMSEnableTranslations|(user)Dung.vo-viet|(hash)e7a62c4b827f3412e5b8f9b02a0dfebcad1647219d914df4911a702d10edec6b' didn't pass. The expression was signed by user 'Dung.vo-viet' wh...

  • Invalid SQL query in property "wherecondition".
    Question Jun 24, 2020
    I am using custom macro in where condition in repeater with custom query web part like this (ClassName = 'myclass.name') and Getsomething() macro is creating another half of the SQL query which brings a string like this (Subject = 'Math' or Subject = 'Science') ...

  • Custom field value as ASCX wrapper class
    Question Dec 8, 2020
    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.

  • Synchronization failed 404 error
    Question Jun 5, 2014
    We're trying to sync a file in our media library from Staging to Production, and with this particular file it fails. It strangely gives a "404: Not Found" error. I found an [article](http://www.mcbeev.com/Blog/September-2012/Kentico-CMS-Quick-Tip-Content-Staging-and-Large-Fi...

  •   ... 31 32 33 34 35 36 37 38 39 40 ...