All Questions
Tagged with kentico javascript
32
questions
0
votes
1
answer
179
views
Kentico filter duplicates in search
I have the following script to return search results of linked pages. I need to filter out the duplicates of the alias pages, as well as sort the results alphabetically. Currently, it returns both ...
0
votes
1
answer
197
views
Can you execute javascript from within a custom Kentico global event handler?
Using version 10 of Kentico and trying to call javascript from within a custom event handler (authentication) that I created. Code is:
public class CustomAuthenticationModule: Module {
// Module ...
-1
votes
1
answer
2k
views
How to detect the url opening from web browser(chrome) or webview(mobile app) using jquery/javascript in the website?
I can detect android easily from the website(using user agent) easily. But now the problem with detecting url being opened from webview(app) or chrome(browser) in the mobile by using jquery. This is ...
0
votes
1
answer
163
views
Display Modal on Successful Form Submission
I'm using a Kentico form to collect some data and I'd like to display a Foundation modal upon successful submission. We have some validation on the fields and we'd prefer to use an update panel to ...
1
vote
1
answer
228
views
How to wrap every third table cell with a row within Kentico for email template?
How can I wrap every 3rd <td> with a <tr> using Kentico email template?
I wrote the following code in jQuery, but do not have knowledge or idea how to write this loop logic in Kentico.
...
0
votes
2
answers
778
views
Validate two forms inside one form element with ParsleyJS
I'm building two forms which will live on a single page on a Kentico website. kentico websites are wrapped in one single form field so I can't create individual form elements for each form on the page....
1
vote
2
answers
234
views
How to remove javascript type attribute in Kentico
Am trying to remove the type attribute from script tag in Kentico 10.0 application, But unable to find any solution. According to W3C validation standards, my application throws warnings like,
"the ...
0
votes
2
answers
123
views
add html+text to input of type submit using javascript
I am using a smartsearchbox webpart, and I am adding the text value of its submit input using javascript, like this:
$("#p_lt_ctl02_pageplaceholder_p_lt_ctl03_SmartSearchBox1_btnSearch").val('{%...
0
votes
2
answers
553
views
custom form control custom client side validation in Kentico
We've created a custom FormEngineUserControl to capture date input using 3 text inputs for day/month/year.
On the server we override the bool IsValid() method which works fine and displays the error ...
0
votes
1
answer
662
views
Dynamically render page type property as HTML in Kentico macro transformation
I'm using the Kentico CMS application to build and render website pages. I've defined a page type and a transformation for the page type. Currently the transformation has it's Transformation type set ...
0
votes
0
answers
81
views
List automatic expanding the parent element on selecting the sub element
see I have a list within my kentico project which contains elements (pages) and sub-elements (sub pages), and I want that whenever I click on a sub element link within a parent element, the website ...
1
vote
3
answers
100
views
Javascript - merge properties of an object
I am trying to find out some elegant solution how to merge values of object's properties if the name is same.
Example:
var object = {
"10-10-2017": "Black friday",
"11-09-2017": "Some holiday",
"10-...
0
votes
4
answers
139
views
Can we load different images in differnt BannerRotators in page load under same category Banner in kentico
I am developing on e Website using kentico cms tool .In that I have 5 banner rotators .i want to display different images in different banner rotators under same category banner in same page.
5
votes
1
answer
2k
views
HTML encode not working properly for URL
I am trying to generated a URL:
Get-it-Together-Stavros-Zenonos-amp;-Katerina-Ko?viewmode=0
Where you can see "amp;" after that url is not generating
Like below:
Get-it-Together-Stavros-...
0
votes
1
answer
220
views
Best option for file upload drag and drop in Web Part in Kentico
I need a file upload, drag and drop option as a Web Part in Kentico. I need to upload file in file system like D:\Uploadfile
With that, I would also need options of adding multiple files, delete file,...