• Dynamically Replacing Content in Kentico - Part 2
    Article Jul 28, 2016
    Dynamically replacing content within a site can improve content production and ensure consistency for organizations. While this a great solution for companies looking to expedite their content editing, external links should be verified to ensure the new content is correct and...

  • How to resolve duplicated SEO content for HTTP and HTTPS in Kentico 7
    Question Jan 22, 2016
    Dear Currently our website runs under SSL but we never redirect people. it'd cause lots of issues with duplicate content but there are only a few pages being picked up in the Moz Analytics reports. Should we be redirecting all http:// to https:// Or we can have better soluti...

  • Difficulty determining when to re-bind web part controls
    Question May 12, 2016
    I have a web part exposed as a widget. It contains a few controls that need to be data bound. I only want to bind the data when not posting back. I therefore have the following code: public override void OnContentLoaded() { base.OnContentLoaded(); ...

  • Issue with Repeater in UserControl issue with kentico Page load called twice
    Question Apr 30, 2014
    Hi, Working in Asp.net 4.5 + Kentico CMS I have Repeater in usercontrol and Inside the repeater i have 1 itemtemplate in which i have ImageButton on it. Also i am handling the Click event on the Imagebutton using ItemCommand of the Repeater. when i click the image button it ...

  • Equivalent of Request.Uri in Macro?
    Question Jan 14, 2015
    In a typical ASPX page, you can retrieve the currently requested URL with `Request.Url`. I want to display the URL that the user tried to go to in error on a custom 404 page. So I have a page in my document tree at /Special Pages/404 Not Found, with an Editable Text web part...

  • Caching a custom function
    Question Jul 15, 2015
    I have this function: public static string GetCategory(int documentId) { if (documentId < 1) { throw new Exception("Invalid document ID"); } DataSet ds = CategoryInfoProvider.GetDocumentCategori...

  • submit functionality stopped working
    Question Sep 21, 2015
    The contribution list web parts on our site have worked fine for several months. However it appears now it's broken on submit of the form. The same error is occurring with the contribution list web part on multiple pages, so it's not caused by changes specific to a single ...

  • Macro visibility signature
    Question Oct 11, 2017
    I've added new functionality to an existing module to show a new tab on the Pages application using the following macro. The following is added to Modules -> Interface -> (choose a page) -> Element Restrictions -> Visibility condition: System.GetObject("cms.node",Convert.ToInt...

  • Performance troubleshooting tips and tricks
    Knowledge Base Article Aug 28, 2013
    If you are experiencing slow loading times or the performance seems to be low, this article will show you the initial performance troubleshooting steps as well as general optimization tips and tricks.

  • How to set some characters not to be included in forbidden URL characters
    Question Jun 21, 2010
    How to set some characters not to be included in forbidden URL characters

  •   ... 21 22 23 24 25 26 27 28 29 30 ...