Gowthami,
Thanks for the quick response.
I tried your suggestion and I received an error. Here is the line that I used:
c.Field(r => r.Symbol).Format("<a target='_blank' rel='nofollow' href='" + @Url.Action("Chart", "HistoricalData") + "?symbol={Symbol}&barSize=s60&fromDate=" + "{{:DateSubmitted.toJSON()}}" + "'>{Symbol}</a>").Add();
Here is the error.
JsRender Error: Syntax error
Compiled template code:
// RecentlyFilledOrdersGrid_JSONTemplate
var j=j||jQuery.views,v,ret="";
try{
ret+="<tr role=\"row\" class=\"";
ret+=(v=view.hlp("_RecentlyFilledOrdersGridAlternateRow")())!=u?v:"";
ret+="\"><td role=\"gridcell\" style=\"text-align: left;\" class=\"e-rowcell\">";
ret+=(v=data["ShortAccountName"])!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: left;\" class=\"e-rowcell\">";
ret+=(v=data["StrategyName"])!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: left;\" class=\"e-rowcell\">";
ret+=(v=view.hlp("_gridFormatting")("<a target=\"_blank\" rel='nofollow' href=\"/Euclid/HistoricalData/Chart?symbol={Symbol}&barSize=s60&fromDate={{:DateSubmitted.toJSON())!=u?v:"";
ret+="\">{Symbol}</a>\',#data[\'Symbol\'],\'en-US\')}}</td><td role=\"gridcell\" style=\"text-align: left;\" class=\"e-rowcell\">";
ret+=(v=data["Action"])!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: right;\" class=\"e-rowcell\">";
ret+=(v=view.hlp("_gridFormatting")("{0:N0}",data["Quantity"],"en-US"))!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: right;\" class=\"e-rowcell\">";
ret+=(v=view.hlp("_gridFormatting")("{0:C2}",data["ThumperTargetPrice"],"en-US"))!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: right;\" class=\"e-rowcell e-hide\">";
ret+=(v=view.hlp("_gridFormatting")("{0:C2}",data["LimitPrice"],"en-US"))!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: right;\" class=\"e-rowcell\">";
ret+=(v=view.hlp("_gridFormatting")("{0:C2}",data["AverageFillPrice"],"en-US"))!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: right;\" class=\"e-rowcell\">";
ret+=(v=view.hlp("_gridFormatting")("{0:C0}",data["ThumperSlippageAmount"],"en-US"))!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: right;\" class=\"e-rowcell\">";
ret+=(v=view.hlp("_gridFormatting")("{0:P2}",data["ThumperSlippagePercent"],"en-US"))!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: right;\" class=\"e-rowcell e-hide\">";
ret+=(v=view.hlp("_gridFormatting")("{0:N0}",data["QuantityFilled"],"en-US"))!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: right;\" class=\"e-rowcell\">";
ret+=(v=view.hlp("_gridFormatting")("{0:C2}",data["CommissionAmount"],"en-US"))!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: right;\" class=\"e-rowcell\">";
ret+=(v=view.hlp("_gridFormatting")("{0:C4}",data["CommissionPerShare"],"en-US"))!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: left;\" class=\"e-rowcell\">";
ret+=(v=data["OrderStatus"])!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: right;\" class=\"e-rowcell\">";
ret+=(v=data["ThumperOrderId"])!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: left;\" class=\"e-rowcell\">";
ret+=(v=data["ThumperSettingsName"])!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: right;\" class=\"e-rowcell\">";
ret+=(v=view.hlp("_gridFormatting")("{0:N0}",data["MillisecondsToFill"],"en-US"))!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: left;\" class=\"e-rowcell\">";
ret+=(v=view.hlp("_gridFormatting")("{0:HH:mm:ss}",data["DateSubmitted"],"en-US"))!=u?v:"";
ret+="</td><td role=\"gridcell\" style=\"text-align: left;\" class=\"e-rowcell e-hide\">";
ret+=(v=view.hlp("_gridFormatting")("{0:HH:mm:ss}",data["DateFilled"],"en-US"))!=u?v:"";
ret+="</td></tr>";
return ret;
}catch(e){return j._err(e);}
https://xxxxx/Scripts/jsrender.min.js
Line 1