Dynamic insertion of parameters in data web parts

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

The following controls support dynamically inserted parameters in the WhereCondition / WHERE condition property:

 

QueryDatalist
QueryDataGrid
QueryRepeater

 

You can use the following expressions that are resolved at run-time:

 

Expression

Description

{%currentaliaspath%}

Alias path of the current page.

{%currentculturecode%}

Culture code of the user's preferred content culture.

{%currentsiteid%}

SiteID value of the current site.

 

 

 

 

##WHERE## macro expression

 

The custom query you are using must contain the ##WHERE## expression that is dynamically replaced with value of the WHERE condition property value at run-time.

 

 

Page url: http://devnet.kentico.com/docs/controls/index.html?dynamic_insertion_of_parameter.htm