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