We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

jsrender error

Thread ID:

Created:

Updated:

Platform:

Replies:

124250 May 26,2016 06:04 PM UTC May 27,2016 09:15 AM UTC ASP.NET Web Forms 2
loading
Tags: Grid
Kevin
Asked On May 26, 2016 06:04 PM UTC

hi

got error on a grid with dynamic columns

// ctl00_viewContent_blackoutDateGrid_JSONTemplate
var j=j||jQuery.views,v,t=j._tag,ret="";
try{

ret+="<tr class=\"";
ret+=(v=view.hlp("_ctl00_viewContent_blackoutDateGridAlternateRow")())!=u?v:"";
ret+="\" role=\"row\"><td class=\"e-rowcell e-hide\" role=\"gridcell\" style=\"text-align: left;\">";
ret+=(v=data["PharmacyBlackoutDateID"])!=u?v:"";
ret+="</td><td class=\"e-rowcell\" role=\"gridcell\" style=\"text-align: center;\">";
ret+=(v=view.hlp("_gridFormatting")("{0:MMM dd, yyyy}",data["BlackoutDate"],"en-US"))!=u?v:"";
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:1,params:"#data[\'Mighty Casey\'s Pharmacy (2001)\']==\'true\'||#data[\'Mighty Casey\'s Pharmacy (2001)\']==true",props:{},args:[data["Mighty Casey"data.sdata.Pharmacy(2001)"]=="true"||#data["data.Mightydata.Casey"s Pharmacy (2001)"]==true]},{view:view,tmpl:2,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:3,params:"#data[\'Adventure Solutions Pharmacy (2004)\']==\'true\'||#data[\'Adventure Solutions Pharmacy (2004)\']==true",props:{},args:[data["Adventure Solutions Pharmacy (2004)"]=="true"||data["Adventure Solutions Pharmacy (2004)"]==true]},{view:view,tmpl:4,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:5,params:"#data[\'Big Apple Health (2010)\']==\'true\'||#data[\'Big Apple Health (2010)\']==true",props:{},args:[data["Big Apple Health (2010)"]=="true"||data["Big Apple Health (2010)"]==true]},{view:view,tmpl:6,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:7,params:"#data[\'Chi-Chi\'s Cocodrugs (2008)\']==\'true\'||#data[\'Chi-Chi\'s Cocodrugs (2008)\']==true",props:{},args:[data["Chi-Chi"data.sdata.Cocodrugs(2008)"]=="true"||#data["data.Chi-data.Chi"s Cocodrugs (2008)"]==true]},{view:view,tmpl:8,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:9,params:"#data[\'Crown Pharma (2015)\']==\'true\'||#data[\'Crown Pharma (2015)\']==true",props:{},args:[data["Crown Pharma (2015)"]=="true"||data["Crown Pharma (2015)"]==true]},{view:view,tmpl:10,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:11,params:"#data[\'Frank\'s Nursery &amp; Crafts (2009)\']==\'true\'||#data[\'Frank\'s Nursery &amp; Crafts (2009)\']==true",props:{},args:[data["Frank"data.sdata.Nursery&data.amp;data.Crafts(2009)"]=="true"||#data["data.Frank"s Nursery &amp; Crafts (2009)"]==true]},{view:view,tmpl:12,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:13,params:"#data[\'Harvest Drugs (2022)\']==\'true\'||#data[\'Harvest Drugs (2022)\']==true",props:{},args:[data["Harvest Drugs (2022)"]=="true"||data["Harvest Drugs (2022)"]==true]},{view:view,tmpl:14,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:15,params:"#data[\'Henry\'s Drugstore (2002)\']==\'true\'||#data[\'Henry\'s Drugstore (2002)\']==true",props:{},args:[data["Henry"data.sdata.Drugstore(2002)"]=="true"||#data["data.Henry"s Drugstore (2002)"]==true]},{view:view,tmpl:16,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:17,params:"#data[\'House Drugs (PPPPPOOOOOOBBBBOOOOOXXXXXX2003123456789123456789)\']==\'true\'||#data[\'House Drugs (PPPPPOOOOOOBBBBOOOOOXXXXXX2003123456789123456789)\']==true",props:{},args:[data["House Drugs (PPPPPOOOOOOBBBBOOOOOXXXXXX2003123456789123456789)"]=="true"||data["House Drugs (PPPPPOOOOOOBBBBOOOOOXXXXXX2003123456789123456789)"]==true]},{view:view,tmpl:18,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:19,params:"#data[\'John Plain (2011)\']==\'true\'||#data[\'John Plain (2011)\']==true",props:{},args:[data["John Plain (2011)"]=="true"||data["John Plain (2011)"]==true]},{view:view,tmpl:20,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:21,params:"#data[\'Monlinks (2014)\']==\'true\'||#data[\'Monlinks (2014)\']==true",props:{},args:[data["Monlinks (2014)"]=="true"||data["Monlinks (2014)"]==true]},{view:view,tmpl:22,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:23,params:"#data[\'Pay \'N Pak Healthstore (2007)\']==\'true\'||#data[\'Pay \'N Pak Healthstore (2007)\']==true",props:{},args:[data["Pay "data.Ndata.Pakdata.Healthstore(2007)"]=="true"||#data["data.Pay"N Pak Healthstore (2007)"]==true]},{view:view,tmpl:24,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:25,params:"#data[\'Practi-Plan Mapping Drugmart (2005)\']==\'true\'||#data[\'Practi-Plan Mapping Drugmart (2005)\']==true",props:{},args:[data["Practi-Plan Mapping Drugmart (2005)"]=="true"||data["Practi-Plan Mapping Drugmart (2005)"]==true]},{view:view,tmpl:26,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:27,params:"#data[\'The Happy Bear Pharmacy (2006)\']==\'true\'||#data[\'The Happy Bear Pharmacy (2006)\']==true",props:{},args:[data["The Happy Bear Pharmacy (2006)"]=="true"||data["The Happy Bear Pharmacy (2006)"]==true]},{view:view,tmpl:28,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:29,params:"#data[\'The Spotted Drugs (2013)\']==\'true\'||#data[\'The Spotted Drugs (2013)\']==true",props:{},args:[data["The Spotted Drugs (2013)"]=="true"||data["The Spotted Drugs (2013)"]==true]},{view:view,tmpl:30,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:31,params:"#data[\'Black Friday (F***)\']==\'true\'||#data[\'Black Friday (F***)\']==true",props:{},args:[data["Black Friday (F***)"]=="true"||data["Black Friday (F***)"]==true]},{view:view,tmpl:32,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:33,params:"#data[\'AAA (011)\']==\'true\'||#data[\'AAA (011)\']==true",props:{},args:[data["AAA (011)"]=="true"||data["AAA (011)"]==true]},{view:view,tmpl:34,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:35,params:"#data[\'Pharmacy#111 (1111)\']==\'true\'||#data[\'Pharmacy#111 (1111)\']==true",props:{},args:[data["Pharmacy#111 (1111)"]=="true"||data["Pharmacy#111 (1111)"]==true]},{view:view,tmpl:36,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:37,params:"#data[\'aa (343)\']==\'true\'||#data[\'aa (343)\']==true",props:{},args:[data["aa (343)"]=="true"||data["aa (343)"]==true]},{view:view,tmpl:38,params:"",props:{},args:[]}]);
ret+="</td><td class=\"e-rowcell e-boolrowcell\" role=\"gridcell\" style=\"text-align: right;\">";
ret+=t("if",view,this,[{view:view,tmpl:39,params:"#data[\'gr23 (3434)\']==\'true\'||#data[\'gr23 (3434)\']==true",props:{},args:[data["gr23 (3434)"]=="true"||data["gr23 (3434)"]==true]},{view:view,tmpl:40,params:"",props:{},args:[]}]);
ret+="</td></tr>";
return ret;

}catch(e){return j._err(e);}

Kevin
Replied On May 26, 2016 07:47 PM UTC

never mind, found the issue.

Gowthami V [Syncfusion]
Replied On May 27, 2016 09:15 AM UTC

Hi Kevin, 
  
We are happy to hear that your issue has been fixed. 
  
Get back to us if you need further assistance. 
  
Regards, 
  
Gowthami V. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;