• 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...

  • RE:Webpart Questions
    Forum Post Oct 7, 2011
    Hi there, As recommended, I used the Kentico Basic Repeater because it allows me to bind the data using tree.SelectNodes method in code behind. However, i still have the same error. Looks like even if I am using the Kentico Repeater control, I still can not use the methods...

  • Image Field Best Practices
    Question Mar 24, 2014
    What (if anything) is considered best practice when creating a document type that uses multiple images? For my example, I have a franchise that can upload 3 different pictures. Should I use FILE > Direct Uploader or Upload File or should I use TEXT > Image Selection or Media S...

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