MARSC My Prize Basket web part

The web part MARSC – My Prize basket displays a list of prizes that have been added to the prize basket but not yet redeemed.

Its properties are as follows:

Data filter

ORDER By expression

Sets the value of the ORDER BY clause in the SELECT statement used to retrieve the content.  See table below for list of values that can be used.

Select Top N items

Specifies the maximum amount of items to be selected. If empty, all possible items are selected.

WHERE condition

Sets the value of the WHERE clause in the SELECT statement used to retrieve the content.  See table below for list of values that can be used.

Data Filter values

cusbCustomerBasketID
cusbQuantity
cusbDateAdded
prizPrizeID
prizName
prizRewardPoints
prizMinimumQuantity
prizBonusPoints
prizIsVoucher
cusbQuantity

Transformations

Transformation Name

Sets the transformation used for the displayed content in list view mode.  Transformations are specified in format <class name>.<transformation name>.

Header Transformation Name

Sets the transformation used at the beginning of every hierarchical level.  Transformations are specified in format <class name>.<transformation name>.

Footer Transformation Name

Sets the transformation used at the end of every hierarchical level.  Transformations are specified in format <class name>.<transformation name>.

No data behaviour

Hide if no history found

Indicates if the web part should be hidden when no prizes to be displayed are retrieved.

No prizes in basket text

The message that should be displayed if no prizes are found. This text will not be visible if the ‘Hide if no history found’ property of the web part is enabled.

Note that in later versions this property may be removed and managed instead within Site Manager/UI Cultures.

Pager

Enable Paging

This box should be ticked if paging of prizes is required.

Page Size

The maximum number of prizes displayed per page.

Paging Mode

Determines which method is used to pass information about the currently selected page - it can be passed either as a parameter in the URL (Query string) or through postback (Postback).

Querystring Key

Sets the name of the URL parameter used to pass information about the current page number (used if the Paging mode property is set to Query string).

Group Size

Sets the maximum amount of page number links that will be displayed together. Any additional links that do not fit can be accessed in the next or previous group.

Display First & Last Automatically

If enabled, the "go to first page" and "go to last page" buttons of the pager will be displayed only when there is no other way to access the first or last page through the pager.

Display Previous & Next Automatically

If enabled, the "go to previous page" and "go to next page" buttons of the pager will be displayed only when there is no other way of accessing the previous or next page through the pager.

Hide Pager For Single Page

Indicates whether the pager should be hidden if the displayed items fit onto a single page.

Pager design

Pages

Sets the transformation used for page links.

Use <%# Eval("Page") %> to get the appropriate page number dynamically, <%# Eval("PageURL") %> to get the page URL or <%# Eval("PageLink") %> to get a link to the appropriate page.

Current Page

Sets the transformation used for the currently selected page. 

Use <%# Eval("Page") %> to get the current page number, <%# Eval("PageURL") %> to get the page URL or <%# Eval("PageLink") %> to get a link to the current page.

Page Separator

Sets the transformation used as a separator between page links.

First Page

Sets the transformation used for the link to the first page.

Use <%# Eval("FirstURL") %> to get the URL of the first page.

Last Page

Sets the transformation used for the link to the last page.

Use <%# Eval("LastURL") %> to get the URL of the last page.

Previous Page

Sets the transformation used for the link to the previous page.

Use <%# Eval("PreviousURL") %> to get the URL of the previous page.

Next Page

Sets the transformation used for the link to the next page.

Use <%# Eval("NextURL") %> to get the URL of the next page.

Previous Group

Sets the transformation used for the link to the previous group of page links.

Use <%# Eval("PreviousGroupURL") %> to get the URL of the previous group.

Next Group

Sets the transformation used for the link to the next group of page links.

Use <%# Eval("NextGroupURL") %> to get the URL of the next group.

Direct Page

Sets the transformation that implements direct page changing.

Use a text box or drop-down list control with an ID set to "directPageControl" to register the page change event.

Pager Layout

Sets the transformation that determines the overall design of the pager.

Navigation

Prize Details Url

The page where the user should be redirected if they click on the prize to show more details.

The complete URL is not required, the string will be added to the root URL of the website.

Redeemed Target Url

The page where the user should be redirected after redeeming a prize.

Email

Send email from

Sets the e-mail address from which prize claim messages will be sent. For example: mail@domain.com.

Send voucher email

When unchecked emails are NOT sent to the prize manager when vouchers are redeemed.

Still need help? Contact Us Contact Us