Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to use a hyperlink whose argument depends on several cell values in ASPxCardView

$
0
0
It is a frequent situation when a developer must include several field values in a hyperlink shown in CardView column cells. The best solution to this problem is to use templates. The attached example shows how this can be done and suggests two similar approaches:

1) In a simple case, the href parameter of the <a> element is defined by the KeyValue of the processed card.
2) In a complex case, the href parameter of the <a> element is defined in the server side GetCardValue method.

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>