• Set a where condition for if there is an image
    Question Apr 9, 2020
    Hello, I have a repeater that loads up all my weblink page types. In those page types I have a field called "**LinkImage**" which is optional. The Data type is "File" and I limit it to just image file types. Is it possible to set a 'Where Condition' in the repeater to only l...

  • RE:File Selection Form control transformation
    Forum Post Jun 24, 2013
    I ended up changing it from a "file selection" control to an "image selection" control to get it to work.

  • How to Check Image Empty for Teasure Image in Document Type control as File in Kentico 8.0
    Question Sep 11, 2014
    We are using Kentico 8.0.19 for a application. I have Teaser Image defined in one of the document types as “File” field type with “Document uploader” as control. I have created to separate pages for same document type. One in which Teaser image is not uploaded and other it...

  • Kentico 8.2 -Multiple Document Selector From Media Library
    Question Jan 20, 2015
    Hi, Is there a Form Control that I can add to one of Custom PageType Field to select multiple files from different subfolders of Media Library? If I have files like this -Media Library -Folder1 Test.txt Doc.docx -Folder2 ...

  • Transformation code to check if file is uploaded or not
    Question Nov 27, 2019
    Hi, Currently I have a code to check if file is uploaded or not as below: <%# IfEmpty(Eval("BrochurePDF"), ""," Some html ") %> This works when a file has never been uploaded but we are having a weird issue. We removed files for some of the pages and the ...

  • IfEmpty in ASCX template
    Question Nov 15, 2016
    Apologises if i'm covering old ground. I'm trying to use the IfEmpty method below without any success. <%# IfEmpty(CurrentDocument.GetValue("OnlineGetQuoteLink"), "empty", "not empty"))%> any help would be greatly appreciated.

  • Media selection form control cannot show images
    Question Oct 2, 2020
    Recently I have upgraded our Kentico instance from v10 to v11. Then we found that media selection form control cannot show any images. Meanwhile, if I check the images via Media Library, those images are available and can be displayed correctly. However, I found that from the ...

  • if else Statement
    Question Oct 2, 2014
    Hello, I am not familiar to kentico. But now at work i have to fix something for another website.in the page, they want an a tag do nothing if there is no link, meaning doesn't open another page or anything else. I found the code and it's in document type, an ASCX file. I jus...

  • IfEmpty error when empty
    Question May 4, 2015
    Hi everyone, I have the following line of code within one of my transformations: <%# IfEmpty(Eval("OfficeFax"),"",(string.Format("{0:Fax: (###) ###-####}", Int64.Parse(Eval("OfficeFax").ToString())))) %> here it is again expanded for easier reading: <%# IfE...

  • Store Direct Path when using Media Selection Control
    Question Dec 17, 2020
    Hi, We're using the Media selection control to allow users to upload images into the pages. Client prefers all the images to be reusable and accessed via the media library. We've set this up and found that when we access the field, it gives the permanent URL (/getmedia/{GUI...

  •   ... 11 12 13 14 15 16 17 18 19 20 ...