tags:

views:

153

answers:

2

I want to display image link in a column in jqgrid with image name as querystring.The link should contain following path "Home\ShowImage?imageName=vlaue".

A: 
function jqGridFormatter(cell, options, row) {
   return "<a href='Home\ShowImage?imageName=" + cell + ">Image</a>";
}

Then you need to specify this formatter in colModel options for jqGrid, see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:custom_formatter.

queen3
A: 

I wnat to use Url.Action in href.

trusha