Error compiling template "Designs/BioLegend/eCom/Product/productPdf.cshtml"
Line 119: 'Services' is obsolete: 'Use Dynamicweb.Content.Services instead.'
Line 119: 'Services.Areas' is obsolete: 'Use Dynamicweb.Content.Services.Areas instead.'
Line 136: 'Services' is obsolete: 'Use Dynamicweb.Content.Services instead.'
Line 136: 'Services.Areas' is obsolete: 'Use Dynamicweb.Content.Services.Areas instead.'
Line 250: 'Group.GetGroupById(string)' is obsolete: 'Use Services.ProductGroups.GetGroup instead.'
Line 2125: The variable 'appNotesID' is assigned but its value is never used
Line 3627: The variable 'block' is assigned but its value is never used
Line 4079: 'User.IsExtranetUserLoggedIn()' is obsolete: 'Use IsFrontendUserLoggedIn() instead.'
Line 4083: 'User.CurrentSecondaryUser' is obsolete: 'Use GetCurrentSecondaryUser() instead.'
Line 4083: 'User.CurrentSecondaryUser' is obsolete: 'Use GetCurrentSecondaryUser() instead.'
Line 4084: 'User.CurrentSecondaryUser' is obsolete: 'Use GetCurrentSecondaryUser() instead.'
Line 4419: 'User.IsExtranetUserLoggedIn()' is obsolete: 'Use IsFrontendUserLoggedIn() instead.'
Line 4423: 'User.GetCurrentUser()' is obsolete: 'Use GetCurrentBackendUser() or GetCurrentFrontendUser() instead.'
Line 4529: 'Product.GetProductsBySql(string)' is obsolete: 'Don't use this'
Line 7475: 'CacheItemPolicy' is an ambiguous reference between 'Dynamicweb.Caching.CacheItemPolicy' and 'System.Runtime.Caching.CacheItemPolicy'
Line 4480: The variable 'str_starClass' is assigned but its value is never used
Line 4481: The variable 'str_halfStar' is assigned but its value is never used
Line 4695: The variable 'readerPathwaysCount' is assigned but its value is never used
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.42000
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 namespace CompiledRazorTemplates.Dynamic {
12
13 #line 93 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
14 using System;
15
16 #line default
17 #line hidden
18
19 #line 2895 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
20 using System.Collections.Generic;
21
22 #line default
23 #line hidden
24
25 #line 18 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
26 using System.Linq;
27
28 #line default
29 #line hidden
30
31 #line 3 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
32 using Dynamicweb.Rendering;
33
34 #line default
35 #line hidden
36
37 #line 17 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
38 using System.Collections.Specialized;
39
40 #line default
41 #line hidden
42
43 #line 5 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
44 using System.Text;
45
46 #line default
47 #line hidden
48
49 #line 6 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
50 using System.IO;
51
52 #line default
53 #line hidden
54
55 #line 7 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
56 using System.Web;
57
58 #line default
59 #line hidden
60
61 #line 16 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
62 using System.Text.RegularExpressions;
63
64 #line default
65 #line hidden
66
67 #line 9 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
68 using System.Data;
69
70 #line default
71 #line hidden
72
73 #line 10 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
74 using BioLegend.Ecommerce.LiveIntegration;
75
76 #line default
77 #line hidden
78
79 #line 11 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
80 using System.Globalization;
81
82 #line default
83 #line hidden
84
85 #line 13 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
86 using System.Collections;
87
88 #line default
89 #line hidden
90
91 #line 15 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
92 using System.Runtime.Caching;
93
94 #line default
95 #line hidden
96
97 #line 95 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
98 using System.Web.Script.Serialization;
99
100 #line default
101 #line hidden
102
103 #line 2896 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
104 using Dynamicweb.Caching;
105
106 #line default
107 #line hidden
108
109
110 public class RazorEngine_f56ccda280c04d6f98f5241345024a33 : RazorTemplateBase<RazorTemplateModel<Template>> {
111
112 #line hidden
113
114 #line 19 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
115
116
117 public string LocalizeLinksHTML (string HtmlContent){
118 int areaID = Pageview.Area.ID;
119 var area = Dynamicweb.Services.Areas.GetArea(areaID);
120 string areaCulture = area.Culture.ToLower();
121 if(!string.IsNullOrEmpty(HtmlContent)){
122 if(HtmlContent.IndexOf("dwcountry") > -1){
123 return HtmlContent.Replace("dwcountry",areaCulture);
124 } else{
125 return HtmlContent;
126 }
127
128 } else {
129 return HtmlContent;
130 }
131
132 }
133
134 public string LocalizeLinks (string HtmlContent){
135 int areaID = Pageview.Area.ID;
136 var area = Dynamicweb.Services.Areas.GetArea(areaID);
137 string areaCulture = area.Culture.ToLower();
138 if(!string.IsNullOrEmpty(HtmlContent)){
139 if(HtmlContent.IndexOf("dwcountry") > -1){
140 return HtmlContent.Replace("dwcountry",areaCulture);
141 } else if (HtmlContent.IndexOf("?ID=") > -1) {
142 //do something
143 string baseHref = String.Format("https://{0}",GetGlobalValue("Global:Request.Host"));
144 HtmlContent = HtmlContent.Contains("http") ? HtmlContent : baseHref + "/" + HtmlContent;
145 var uri = new Uri(HtmlContent,UriKind.RelativeOrAbsolute);
146 var parsedQuery = HttpUtility.ParseQueryString(uri.Query);
147 var pageID = parsedQuery.Get("ID");
148
149 string pageVersionID = pageID;
150 string localizedLink = HtmlContent;
151 if (!string.IsNullOrEmpty(pageID)){
152 var pageService = new Dynamicweb.Content.PageService();
153 var linkPage = pageService.GetPagesByAreaID(areaID).FirstOrDefault(x => x.MasterPageId == int.Parse(pageID));
154 pageVersionID = linkPage != null ? linkPage.ID.ToString() : pageID ;
155
156 localizedLink = ModifyQueryStringValue(HtmlContent,"ID",pageVersionID);
157 }
158 //return string.Join(",", parsedQuery.AllKeys);
159 //return string.Join(HtmlContent,"-",pageVersionID);
160 return localizedLink;
161 } else {
162 return HtmlContent;
163 }
164 }else {
165 return HtmlContent;
166 }
167
168 }
169
170 private string ModifyQueryStringValue(string p_query, string p_Name, string p_NewValue)
171 {
172 Uri uri = new Uri(p_query,UriKind.RelativeOrAbsolute);
173 //if(p_query.Contains("http"))
174 //{
175 //uri = new Uri(p_query);
176 //} else {
177 //uri = new Uri(p_query, UriKind.Relative);
178 //}
179 //uri = new Uri(p_query);
180
181
182
183 var nameValues = HttpUtility.ParseQueryString(uri.Query);
184 nameValues.Set(p_Name, p_NewValue);
185 string url = uri.AbsolutePath + "?" + nameValues.ToString();
186 return url;
187 }
188
189 #line default
190 #line hidden
191
192
193 #line 159 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
194
195 public static string GetPageFromAreaSetting(string key, dynamic pageview)
196 {
197 string pageID = pageview.Page.ID.ToString();
198 var area = pageview.Area.Item;
199
200 if( area[key] != null && !String.IsNullOrEmpty(area[key].ToString()))
201 {
202 pageID = area[key].ToString();
203 }
204
205 return pageID;
206 }
207
208 #line default
209 #line hidden
210
211
212 #line 177 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
213 public RazorEngine.Templating.TemplateWriter RenderParentEcomNav(Dynamicweb.Ecommerce.Products.Group group,string searchPageID) {
214 #line default
215 #line hidden
216 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
217
218 #line 177 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
219
220
221 List<string> notShowGroups = new List<string>();
222 notShowGroups.Add("GROUP2"); //Cell Function/Viability Kits
223 notShowGroups.Add("GROUP10");
224 notShowGroups.Add("GROUP18");
225 notShowGroups.Add("GROUP19");
226 notShowGroups.Add("GROUP20"); //Mouse Immunology Antibodies
227 notShowGroups.Add("GROUP21"); //ELISA MAX/LEGEND MAX
228 notShowGroups.Add("GROUP22"); //Buffers/Solutions/Chemicals
229 notShowGroups.Add("GROUP23"); //Secondary Reagents
230 notShowGroups.Add("GROUP24"); //Cytokine/Chemokine Antibodies
231 notShowGroups.Add("GROUP25"); //LEGENDplex
232 notShowGroups.Add("GROUP26"); //Cell Biology Antibodies
233 notShowGroups.Add("GROUP27"); //Rat Immunology Antibodies
234 notShowGroups.Add("GROUP28"); //Human Immunology Antibodies
235 notShowGroups.Add("GROUP29"); //Isotype Controls
236 notShowGroups.Add("GROUP30"); //Recombinant Proteins
237 notShowGroups.Add("GROUP31"); //LEGENDScreen
238 notShowGroups.Add("GROUP32"); //Neuroscience Products
239 notShowGroups.Add("GROUP33"); //Marmoset Immunology Antibodies
240 notShowGroups.Add("GROUP34"); //Virus Immunology Antibodies
241 notShowGroups.Add("GROUP35"); //
242 notShowGroups.Add("GROUP36"); //Epitope Tag Products
243 notShowGroups.Add("GROUP37"); //Flex-T
244 notShowGroups.Add("GROUP50"); //Cell Separation
245 notShowGroups.Add("GROUP51"); //Non-Antibody Chemical Probes
246 notShowGroups.Add("ImportedGROUP1");
247
248 if (group.ParentGroupsDefaultLanguage != null && group.ParentGroupsDefaultLanguage.Any()) {
249 string parent_id = group.ParentGroupsDefaultLanguage[0].Id;
250 Dynamicweb.Ecommerce.Products.Group parent = Dynamicweb.Ecommerce.Products.Group.GetGroupById(parent_id);
251
252 if (parent != null && !notShowGroups.Contains(group.Id)) {
253
254
255 #line default
256 #line hidden
257 WriteLiteralTo(__razor_helper_writer, " ");
258
259
260 #line 211 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
261 WriteTo(__razor_helper_writer, RenderParentEcomNav(parent,searchPageID));
262
263
264 #line default
265 #line hidden
266 WriteLiteralTo(__razor_helper_writer, "\r\n");
267
268
269 #line 212 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
270 }
271 }
272
273 if(!notShowGroups.Contains(group.Id) && group.NavigationShowInSiteMap)
274 {
275
276
277 #line default
278 #line hidden
279 WriteLiteralTo(__razor_helper_writer, " <li");
280
281 WriteLiteralTo(__razor_helper_writer, " data-groupID=\"");
282
283
284 #line 217 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
285 WriteTo(__razor_helper_writer, group.Id);
286
287
288 #line default
289 #line hidden
290 WriteLiteralTo(__razor_helper_writer, "\"");
291
292 WriteLiteralTo(__razor_helper_writer, ">\r\n <a");
293
294 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 9535), Tuple.Create("\"", 9590)
295 , Tuple.Create(Tuple.Create("", 9542), Tuple.Create("/Default.aspx?ID=", 9542), true)
296
297 #line 218 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
298 , Tuple.Create(Tuple.Create("", 9559), Tuple.Create<System.Object, System.Int32>(searchPageID
299
300 #line default
301 #line hidden
302 , 9559), false)
303 , Tuple.Create(Tuple.Create("", 9572), Tuple.Create("&GroupID=", 9572), true)
304
305 #line 218 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
306 , Tuple.Create(Tuple.Create("", 9581), Tuple.Create<System.Object, System.Int32>(group.Id
307
308 #line default
309 #line hidden
310 , 9581), false)
311 );
312
313 WriteLiteralTo(__razor_helper_writer, ">\r\n");
314
315 WriteLiteralTo(__razor_helper_writer, " ");
316
317
318 #line 219 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
319 WriteTo(__razor_helper_writer, group.Name);
320
321
322 #line default
323 #line hidden
324 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </li>\r\n");
325
326
327 #line 222 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
328 }
329
330
331 #line default
332 #line hidden
333 });
334
335 #line 223 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
336 }
337 #line default
338 #line hidden
339
340
341 #line 225 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
342 public RazorEngine.Templating.TemplateWriter RenderBiologyArea(string biologyArea)
343 {
344 #line default
345 #line hidden
346 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
347
348 #line 226 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
349
350 string baText = "";
351 Dictionary<string, string> baDict = new Dictionary<string, string>(){
352 {"adaptive_immunity","Adaptive Immunity"},
353 {"angiogenesis","Angiogenesis"},
354 {"apoptosis_tumor_suppressors_cell_death","Apoptosis/Tumor Suppressors/Cell Death"},
355 {"bacterial_proteins_toxins","Bacterial proteins and Toxins"},
356 {"cancer_biomarkers","Cancer Biomarkers"},
357 {"cardiovascular_biology","Cardiovascular Biology"},
358 {"cell_adhesion","Cell Adhesion"},
359 {"cell_biology","Cell Biology"},
360 {"cell_cycle_dna_replication","Cell Cycle/DNA Replication"},
361 {"cell_death","Cell Death"},
362 {"cell_motility_cytoskeleton_structure","Cell Motility/Cytoskeleton/Structure"},
363 {"cell_proliferation_viability","Cell Proliferation and Viability"},
364 {"cell_structure","Cell Structure"},
365 {"chromatin_remodeling_epigenetics","Chromatin Remodeling/Epigenetics"},
366 {"complement","Complement"},
367 {"costimulatory_molecules","Costimulatory Molecules"},
368 {"covid19","COVID-19"},
369 {"dna_repair_replication","DNA Repair/Replication"},
370 {"immuno_oncology","Immuno-Oncology"},
371 {"immunology","Immunology"},
372 {"inhibitory_molecules","Inhibitory Molecules"},
373 {"innate_immunity","Innate Immunity"},
374 {"mitochondrial_function","Mitochondrial Function"},
375 {"neurodegeneration","Neurodegeneration"},
376 {"neuroinflammation","Neuroinflammation"},
377 {"neuroscience","Neuroscience"},
378 {"neuroscience_cell_markers","Neuroscience Cell Markers"},
379 {"protein_misfolding_aggregation","Protein Misfolding and Aggregation"},
380 {"protein_purification","Protein Purification"},
381 {"protein_synthesis","Protein Synthesis"},
382 {"protein_trafficking_clearance","Protein Trafficking and Clearance"},
383 {"signal_transduction","Signal Transduction"},
384 {"stem_cell","Stem Cells"},
385 {"synaptic_biology","Synaptic Biology"},
386 {"transcription_factors","Transcription Factors"},
387 {"ubiquitin_protein_degradation","Ubiquitin/Protein Degradation"},
388 {"western_blot_controls","Western Blot Controls"}
389 };
390 if(!string.IsNullOrWhiteSpace(biologyArea))
391 {
392 string[] biologyAreas = biologyArea.Split(',');
393 foreach (string thisArea in biologyAreas)
394 {
395 baText += baDict[thisArea] + ", ";
396 }
397
398
399 baText = baText.Remove(baText.Length-2);
400
401
402 #line default
403 #line hidden
404 WriteLiteralTo(__razor_helper_writer, " <dt");
405
406 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-3 noPaddingLeft\"");
407
408 WriteLiteralTo(__razor_helper_writer, ">\r\n");
409
410 WriteLiteralTo(__razor_helper_writer, " ");
411
412
413 #line 278 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
414 WriteTo(__razor_helper_writer, Translate("BiologyArea","Biology Area"));
415
416
417 #line default
418 #line hidden
419 WriteLiteralTo(__razor_helper_writer, "\r\n </dt>\r\n");
420
421 WriteLiteralTo(__razor_helper_writer, " <dd");
422
423 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-9\"");
424
425 WriteLiteralTo(__razor_helper_writer, ">\r\n");
426
427 WriteLiteralTo(__razor_helper_writer, " ");
428
429
430 #line 281 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
431 WriteTo(__razor_helper_writer, baText);
432
433
434 #line default
435 #line hidden
436 WriteLiteralTo(__razor_helper_writer, "\r\n </dd>\r\n");
437
438
439 #line 283 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
440 }
441
442
443 #line default
444 #line hidden
445 });
446
447 #line 284 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
448 }
449 #line default
450 #line hidden
451
452
453 #line 286 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
454 public RazorEngine.Templating.TemplateWriter RenderMolecularFamily(string molecularFamily)
455 {
456 #line default
457 #line hidden
458 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
459
460 #line 287 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
461
462 string mfText = "";
463 Dictionary<string, string> mfDict = new Dictionary<string, string>(){
464 {"a_synuclein","α-Synuclein"},
465 {"adaptor_proteins","Adaptor Proteins"},
466 {"adhesion_molecules","Adhesion Molecules"},
467 {"aldehyde_dehydrogenases","Aldehyde Dehydrogenases"},
468 {"app_b_amyloid","APP/β-Amyloid"},
469 {"app_ab_degradation","APP/Aβ Degradation"},
470 {"apolipoproteins","Apolipoproteins"},
471 {"autophagosome_markers","Autophagosome Markers"},
472 {"blood_group_markers","Blood Group Markers"},
473 {"carrier_proteins","Carrier Proteins"},
474 {"cd_molecules","CD Molecules"},
475 {"cytokine_chemokine_receptors","Cytokine/Chemokine Receptors"},
476 {"cytokines_chemokines","Cytokines/Chemokines"},
477 {"cytoskeletal_proteins","Cytoskeletal Proteins"},
478 {"endoplasmic_reticulum_markers","Endoplasmic Reticulum Markers"},
479 {"endosomal_markers","Endosomal Markers"},
480 {"enzymes_regulators","Enzymes and Regulators"},
481 {"exosome_markers","Exosome Markers"},
482 {"fc_receptors","Fc Receptors"},
483 {"gap_junction_proteins","Gap Junction Proteins"},
484 {"golgi_markers","Golgi Markers"},
485 {"gpcr","GPCR"},
486 {"growth_factors","Growth Factors"},
487 {"gtpases","GTPases"},
488 {"heat_shock_proteins","Heat Shock Proteins"},
489 {"hormones","Hormones"},
490 {"immune_checkpoint_receptors","Immune Checkpoint Receptors"},
491 {"innate_immune_signaling","Innate Immune Signaling"},
492 {"intermediate_filaments","Intermediate Filaments"},
493 {"ions_channels","Ion Channels"},
494 {"ligases","Ligases"},
495 {"lysosomal_markers","Lysosomal Markers"},
496 {"mhc_antigens","MHC Antigens"},
497 {"microfilaments","Microfilaments"},
498 {"microtubules","Microtubules"},
499 {"mitochondrial_markers","Mitochondrial Markers"},
500 {"neurotransmitter_receptor_trafficking_endocytosis","Neurotransmitter Receptor Trafficking/Endocytosis"},
501 {"neurotransmitter_receptors","Neurotransmitter Receptors"},
502 {"neurotrophic_factors","Neurotrophic Factors"},
503 {"nuclear_markers","Nuclear Markers"},
504 {"organelle_markers","Organelle Markers"},
505 {"postsynaptic_proteins","Postsynaptic proteins"},
506 {"phospho_proteins","Phospho-Proteins"},
507 {"presynaptic_proteins","Presynaptic proteins"},
508 {"prion_cd230","Prion (CD230)"},
509 {"proteases","Proteases"},
510 {"protein_kinases_phosphatase","Protein Kinases/Phosphatase"},
511 {"protein_modifiers","Protein Modifiers"},
512 {"purinergic_receptors","Purinergic Receptors"},
513 {"scaffold_proteins","Scaffold Proteins"},
514 {"secretases","Secretases"},
515 {"semaphorin_receptors","Semaphorin Receptors"},
516 {"siglec_molecules","Siglec Molecules"},
517 {"soluble_receptors","Soluble Receptors"},
518 {"steroid_receptors_nuclear_receptors","Steroid Receptors/Nuclear Receptors"},
519 {"synaptic_vesicle_trafficking_endocytosis","Synaptic Vesicle Trafficking/Endocytosis"},
520 {"tau","Tau"},
521 {"tcrs","TCRs"},
522 {"tdp43","TDP43"},
523 {"toll_like_receptors","Toll Like Receptors"},
524 {"tumor_suppressors","Tumor Suppressors"}
525 };
526 if(!string.IsNullOrWhiteSpace(molecularFamily))
527 {
528 string[] molecularFamilies = molecularFamily.Split(',');
529 foreach (string thisArea in molecularFamilies)
530 {
531 mfText += mfDict[thisArea] + ", ";
532 }
533
534
535 mfText = mfText.Remove(mfText.Length-2);
536
537
538 #line default
539 #line hidden
540 WriteLiteralTo(__razor_helper_writer, " <dt");
541
542 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-3 noPaddingLeft\"");
543
544 WriteLiteralTo(__razor_helper_writer, ">\r\n");
545
546 WriteLiteralTo(__razor_helper_writer, " ");
547
548
549 #line 363 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
550 WriteTo(__razor_helper_writer, Translate("MolecularFamily","Molecular Family"));
551
552
553 #line default
554 #line hidden
555 WriteLiteralTo(__razor_helper_writer, "\r\n </dt>\r\n");
556
557 WriteLiteralTo(__razor_helper_writer, " <dd");
558
559 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-9\"");
560
561 WriteLiteralTo(__razor_helper_writer, ">\r\n");
562
563 WriteLiteralTo(__razor_helper_writer, " ");
564
565
566 #line 366 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
567 WriteTo(__razor_helper_writer, mfText);
568
569
570 #line default
571 #line hidden
572 WriteLiteralTo(__razor_helper_writer, "\r\n </dd>\r\n");
573
574
575 #line 368 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
576 }
577
578
579 #line default
580 #line hidden
581 });
582
583 #line 369 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
584 }
585 #line default
586 #line hidden
587
588
589 #line 371 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
590 public RazorEngine.Templating.TemplateWriter RenderCellType(string cellType)
591 {
592 #line default
593 #line hidden
594 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
595
596 #line 372 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
597
598 string ctText = "";
599 Dictionary<string, string> ctDict = new Dictionary<string, string>(){
600 {"Antigenpresentingcells","Antigen-presenting cells"},
601 {"Astrocytes","Astrocytes"},
602 {"Bcells","B cells"},
603 {"Basophils","Basophils"},
604 {"Dendriticcells","Dendritic cells"},
605 {"DopaminergicNeurons","Dopaminergic Neurons"},
606 {"EmbryonicStemCells","Embryonic Stem Cells"},
607 {"Endothelialcells","Endothelial cells"},
608 {"Eosinophils","Eosinophils"},
609 {"Epithelialcells","Epithelial cells"},
610 {"Erythrocytes","Erythrocytes"},
611 {"Fibroblasts","Fibroblasts"},
612 {"GABAergicNeurons","GABAergic Neurons"},
613 {"GlutamatergicNeurons","Glutamatergic Neurons"},
614 {"Granulocytes","Granulocytes"},
615 {"Hematopoieticstemandprogenitors","Hematopoietic stem and progenitors"},
616 {"Langerhanscells","Langerhans cells"},
617 {"Leukemia","Leukemia"},
618 {"Leukocytes","Leukocytes"},
619 {"Lymphocytes","Lymphocytes"},
620 {"Macrophages","Macrophages"},
621 {"Mastcells","Mast cells"},
622 {"MatureNeurons","Mature Neurons"},
623 {"Megakaryocytes","Megakaryocytes"},
624 {"Mesenchymalcells","Mesenchymal cells"},
625 {"MesenchymalStemCells","Mesenchymal Stem Cells"},
626 {"Microglia","Microglia"},
627 {"Monocytes","Monocytes"},
628 {"NeuralStemCells","Neural Stem Cells"},
629 {"Neurons","Neurons"},
630 {"Neutrophils","Neutrophils"},
631 {"NKcells","NK cells"},
632 {"NKTcells","NKT cells"},
633 {"Oligodendrocytes","Oligodendrocytes"},
634 {"Osteoblasts","Osteoblasts"},
635 {"Osteoclasts","Osteoclasts"},
636 {"Plasmacells","Plasma cells"},
637 {"Platelets","Platelets"},
638 {"Schwanncells","Schwann Cells"},
639 {"Tcells","T cells"},
640 {"Tfh","Tfh"},
641 {"Th1","Th1"},
642 {"Th2","Th2"},
643 {"Th17","Th17"},
644 {"Thymocytes","Thymocytes"},
645 {"Tregs","Tregs"}
646 };
647 if(!string.IsNullOrWhiteSpace(cellType))
648 {
649 string[] cellTypes = cellType.Split(',');
650 foreach (string thisType in cellTypes)
651 {
652 ctText += ctDict[thisType] + ", ";
653 }
654
655
656 ctText = ctText.Remove(ctText.Length-2);
657
658
659 #line default
660 #line hidden
661 WriteLiteralTo(__razor_helper_writer, " <dt");
662
663 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-3 noPaddingLeft\"");
664
665 WriteLiteralTo(__razor_helper_writer, ">\r\n");
666
667 WriteLiteralTo(__razor_helper_writer, " ");
668
669
670 #line 433 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
671 WriteTo(__razor_helper_writer, Translate("CellType","Cell Type"));
672
673
674 #line default
675 #line hidden
676 WriteLiteralTo(__razor_helper_writer, "\r\n </dt>\r\n");
677
678 WriteLiteralTo(__razor_helper_writer, " <dd");
679
680 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-9\"");
681
682 WriteLiteralTo(__razor_helper_writer, ">\r\n");
683
684 WriteLiteralTo(__razor_helper_writer, " ");
685
686
687 #line 436 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
688 WriteTo(__razor_helper_writer, ctText);
689
690
691 #line default
692 #line hidden
693 WriteLiteralTo(__razor_helper_writer, "\r\n </dd>\r\n");
694
695
696 #line 438 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
697 }
698
699
700 #line default
701 #line hidden
702 });
703
704 #line 439 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
705 }
706 #line default
707 #line hidden
708
709
710 #line 441 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
711 public RazorEngine.Templating.TemplateWriter RenderIsoype(string isotype)
712 {
713 #line default
714 #line hidden
715 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
716
717 #line 442 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
718
719 string ctText = "";
720 Dictionary<string, string> ctDict = new Dictionary<string, string>(){
721 {"","N/A"},
722 {"01","Armenian Hamster IgG"},
723 {"02","Armenian Hamster IgG1"},
724 {"03","Armenian Hamster IgG1, κ"},
725 {"04","Armenian Hamster IgG2, κ"},
726 {"05","Armenian Hamster IgM"},
727 {"06","Donkey Polyclonal Ig"},
728 {"07","Goat Ig"},
729 {"08","Goat IgG"},
730 {"09","Goat Polyclonal Ig"},
731 {"09_5","Goat Polyclonal IgG"},
732 {"10","Hamster IgG"},
733 {"11","Mouse (A.SW) IgG2a, κ"},
734 {"12","Mouse (BALB/c) IgE, κ"},
735 {"13","Mouse (BALB/c) IgG1, κ"},
736 {"14","Mouse (BALB/c) IgG2a, κ"},
737 {"15","Mouse (BALB/c) IgG2b, κ"},
738 {"16","Mouse (C3H.SW) IgG2a, κ"},
739 {"17","Mouse (C3H.SW) IgG3, κ"},
740 {"18","Mouse (C3H) IgG2a, κ"},
741 {"19","Mouse (C57BL/6) IgE, κ"},
742 {"20","Mouse (C57BL/6) IgG1, κ"},
743 {"21","Mouse (CWB) IgG2a, κ"},
744 {"22","Mouse (SJL) IgG2a, κ"},
745 {"23","Mouse (SJL) IgG2b, κ"},
746 {"24","Mouse IgA, κ"},
747 {"24_1","Mouse IgA"},
748 {"25","Mouse IgG"},
749 {"26","Mouse IgG, κ"},
750 {"27","Mouse IgG1"},
751 {"28","Mouse IgG1 (all clones)"},
752 {"29","Mouse IgG1/Mouse IgG2a"},
753 {"29_1","Mouse IgG1, κ/Mouse IgG2a, κ/Mouse IgG2b, κ"},
754 {"29_2","Mouse IgG1/Mouse IgM"},
755 {"31","Mouse IgG1, κ"},
756 {"31_1","Mouse IgG1, κ/Mouse IgG2a, κ"},
757 {"31_2","Mouse IgG1, κ/Rat IgG2b, κ"},
758 {"32","Mouse IgG1, κ (all clones)"},
759 {"32_2","Mouse IgG1, λ"},
760 {"33","Mouse IgG1/Mouse IgG2b"},
761 {"34","Mouse IgG2a"},
762 {"35","Mouse IgG2a, κ"},
763 {"36","Mouse (A.TL) IgG2a, κ"},
764 {"37","Mouse (C3H.KBR) IgG2a, κ"},
765 {"38","Mouse IgG2a, λ"},
766 {"39","Mouse IgG2b"},
767 {"40","Mouse IgG2b, κ"},
768 {"41","Mouse IgG2b, λ"},
769 {"41_2","Mouse IgG2c"},
770 {"41_5","Mouse IgG3"},
771 {"42","Mouse IgG3, κ"},
772 {"43","Mouse IgM"},
773 {"44","Mouse IgM, κ"},
774 {"45","Mouse IgM, λ"},
775 {"46","Mouse (C3H/HeJ) IgG2a, κ"},
776 {"46_5","Mouse Polyclonal"},
777 {"47","Rabbit IgG"},
778 {"47_1","Rabbit Ig"},
779 {"48","Rabbit Polyclonal IgG"},
780 {"48_5","Rabbit Polyclonal"},
781 {"49","Rat (SD) IgG2b, λ"},
782 {"49_5","Rat Polyclonal IgG"},
783 {"50","Rat IgG"},
784 {"51","Rat IgG, κ"},
785 {"52","Rat IgG1"},
786 {"53","Rat IgG1, κ"},
787 {"54","Rat IgG1, λ"},
788 {"55","Rat IgG2a"},
789 {"56","Rat IgG2a, κ"},
790 {"57","Rat IgG2a, λ"},
791 {"58","Rat IgG2a/Rat IgG1"},
792 {"59","Rat IgG2a/Rat IgG2b"},
793 {"59_1","Rat IgG2a, κ/Rat IgG2b, κ"},
794 {"59_2","Armenian Hamster IgG/Rat IgG2a/Rat IgG2b"},
795 {"59_3","Rat IgG2a, κ/Rat IgG2b, κ/Rat IgG2c, κ"},
796 {"60","Rat IgG2b"},
797 {"61","Rat IgG2b, κ"},
798 {"62","Rat IgG2b, λ"},
799 {"62_5","Rat IgG2c"},
800 {"64","Rat IgG2c, κ"},
801 {"64_5","Rat IgM"},
802 {"65","Rat IgM, κ"},
803 {"66","Syrian Hamster IgG"},
804 {"67","Armenian Hamster IgG1, λ"},
805 {"68","Chicken Polyclonal IgY"},
806 {"69","Sheep Polyclonal"},
807 {"70","Guinea Pig Polyclonal"},
808 {"81","Human IgG1"},
809 {"81_5","Human IgG1, κ"},
810 {"82","Human IgG2"},
811 {"82_5","Human IgG2, κ"},
812 {"83","Human IgG3"},
813 {"83_5","Human IgG3, κ"},
814 {"84","Human IgG4"},
815 {"84_5","Human IgG4, κ"},
816 {"99","TBD"},
817 {"47_5","Rabbit Polyclonal Ig"},
818 {"41_3","Mouse IgG2c, κ"},
819 {"67_9","Chicken IgY"},
820 {"40_1","Mouse IgG2b, κ/Mouse IgM, κ"},
821 {"33_1","Mouse IgG1, κ/Mouse IgG2b, κ"},
822 {"71","Llama VH Ig"}
823 };
824 if(!string.IsNullOrWhiteSpace(isotype))
825 {
826 string[] isotypes = isotype.Split(',');
827 foreach (string thisType in isotypes)
828 {
829 ctText += ctDict[thisType] + ", ";
830 }
831
832
833 ctText = ctText.Remove(ctText.Length-2);
834
835
836 #line default
837 #line hidden
838 WriteLiteralTo(__razor_helper_writer, " <dt");
839
840 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-3 noPaddingLeft\"");
841
842 WriteLiteralTo(__razor_helper_writer, ">\r\n");
843
844 WriteLiteralTo(__razor_helper_writer, " ");
845
846
847 #line 559 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
848 WriteTo(__razor_helper_writer, Translate("IsotypeLabel","Isotype"));
849
850
851 #line default
852 #line hidden
853 WriteLiteralTo(__razor_helper_writer, "\r\n </dt>\r\n");
854
855 WriteLiteralTo(__razor_helper_writer, " <dd");
856
857 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-9\"");
858
859 WriteLiteralTo(__razor_helper_writer, ">\r\n");
860
861 WriteLiteralTo(__razor_helper_writer, " ");
862
863
864 #line 562 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
865 WriteTo(__razor_helper_writer, ctText);
866
867
868 #line default
869 #line hidden
870 WriteLiteralTo(__razor_helper_writer, "\r\n </dd>\r\n");
871
872
873 #line 564 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
874 }
875
876
877 #line default
878 #line hidden
879 });
880
881 #line 565 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
882 }
883 #line default
884 #line hidden
885
886
887 #line 567 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
888 public RazorEngine.Templating.TemplateWriter RenderLaser(string laser)
889 {
890 #line default
891 #line hidden
892 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
893
894 #line 568 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
895
896 string laserText = "";
897 string violetLaser = Translate("violetLaser","Violet Laser (405 nm)");
898 string blueLaser = Translate("blueLaser","Blue Laser (488 nm)");
899 string greenLaser = Translate("greenLaser","Green Laser (532 nm)/Yellow-Green Laser (561 nm)");
900 string redLaser = Translate("redLaser","Red Laser (633 nm)");
901 string ultravioletLaser = Translate("ultravioletLaser","Ultraviolet Laser (355 nm)");
902 string[] lasers = laser.Split(',');
903 foreach (string thisLaser in lasers)
904 {
905 if(thisLaser == "violetLaser"){
906 laserText += violetLaser + "<br />";
907 }
908 if(thisLaser == "blueLaser"){
909 laserText += blueLaser + "<br />";
910 }
911 if(thisLaser == "greenLaser"){
912 laserText += greenLaser + "<br />";
913 }
914 if(thisLaser == "redLaser"){
915 laserText += redLaser + "<br />";
916 }
917 if(thisLaser == "ultravioletLaser"){
918 laserText += ultravioletLaser + "<br />";
919 }
920 }
921
922 if(!string.IsNullOrWhiteSpace(laserText))
923 {
924
925
926 #line default
927 #line hidden
928 WriteLiteralTo(__razor_helper_writer, " <dt");
929
930 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-3 noPaddingLeft\"");
931
932 WriteLiteralTo(__razor_helper_writer, ">\r\n");
933
934 WriteLiteralTo(__razor_helper_writer, " ");
935
936
937 #line 598 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
938 WriteTo(__razor_helper_writer, Translate("ExcitationLaser","Excitation Laser"));
939
940
941 #line default
942 #line hidden
943 WriteLiteralTo(__razor_helper_writer, "\r\n </dt>\r\n");
944
945 WriteLiteralTo(__razor_helper_writer, " <dd");
946
947 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-9\"");
948
949 WriteLiteralTo(__razor_helper_writer, ">\r\n");
950
951 WriteLiteralTo(__razor_helper_writer, " ");
952
953
954 #line 601 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
955 WriteTo(__razor_helper_writer, laserText);
956
957
958 #line default
959 #line hidden
960 WriteLiteralTo(__razor_helper_writer, "\r\n </dd>\r\n");
961
962
963 #line 603 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
964 }
965
966
967 #line default
968 #line hidden
969 });
970
971 #line 604 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
972 }
973 #line default
974 #line hidden
975
976
977 #line 606 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
978 public RazorEngine.Templating.TemplateWriter RenderSpectralData(string format = "", string productID = "")
979 {
980 #line default
981 #line hidden
982 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
983
984 #line 607 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
985
986 string variable = "";
987 string textAnchor = "";
988
989 if(format == "A488")
990 {
991 variable = "AF488";
992 textAnchor = "Alexa Fluor® 488";
993 }
994 else if(format == "A555")
995 {
996 variable = "AF555";
997 textAnchor = "Alexa Fluor® 555";
998 }
999 else if(format == "A594")
1000 {
1001 variable = "AF594";
1002 textAnchor = "Alexa Fluor® 594";
1003 }
1004 else if(format == "A647")
1005 {
1006 variable = "AF647";
1007 textAnchor = "Alexa Fluor® 647";
1008 }
1009 else if(format == "A660")
1010 {
1011 variable = "AF660";
1012 textAnchor = "Alexa Fluor® 660";
1013 }
1014 else if(format == "A700")
1015 {
1016 variable = "AF700";
1017 textAnchor = "Alexa Fluor® 700";
1018 }
1019 else if(format == "APC")
1020 {
1021 variable = "APC";
1022 textAnchor = "APC";
1023 }
1024 else if(format == "APC_CY5.5")
1025 {
1026 variable = "APCCY55";
1027 textAnchor = "APC/Cy5.5";
1028 }
1029 else if(format == "APC_CYANINE7")
1030 {
1031 variable = "APCCYANINE7";
1032 textAnchor = "APC/Cyanine7";
1033 }
1034 else if(format == "APC_F750")
1035 {
1036 variable = "APCF750";
1037 textAnchor = "APC/Fire™ 750";
1038 }
1039 else if(format == "BV421")
1040 {
1041 variable = "BV421";
1042 textAnchor = "Brilliant Violet 421™";
1043 }
1044 else if(format == "BV510")
1045 {
1046 variable = "BV510";
1047 textAnchor = "Brilliant Violet 510™";
1048 }
1049 else if(format == "BV570")
1050 {
1051 variable = "BV570";
1052 textAnchor = "Brilliant Violet 570™";
1053 }
1054 else if(format == "BV605")
1055 {
1056 variable = "BV605";
1057 textAnchor = "Brilliant Violet 605™";
1058 }
1059 else if(format == "BV650")
1060 {
1061 variable = "BV650";
1062 textAnchor = "Brilliant Violet 650™";
1063 }
1064 else if(format == "BV711")
1065 {
1066 variable = "BV711";
1067 textAnchor = "Brilliant Violet 711™";
1068 }
1069 else if(format == "BV750")
1070 {
1071 variable = "BV750";
1072 textAnchor = "Brilliant Violet 750™";
1073 }
1074 else if(format == "BV785")
1075 {
1076 variable = "BV785";
1077 textAnchor = "Brilliant Violet 785™";
1078 }
1079 else if(format == "CYANINE3")
1080 {
1081 variable = "CYANINE3";
1082 textAnchor = "Cyanine3";
1083 }
1084 else if(format == "CYANINE5")
1085 {
1086 variable = "CYANINE5";
1087 textAnchor = "Cyanine5";
1088 }
1089 else if(format == "FITC")
1090 {
1091 variable = "FITC";
1092 textAnchor = "FITC";
1093 }
1094 else if(format == "PB")
1095 {
1096 variable = "PB";
1097 textAnchor = "Pacific Blue™";
1098 }
1099 else if(format == "PE")
1100 {
1101 variable = "PE";
1102 textAnchor = "PE";
1103 }
1104 else if(format == "PE_CYANINE5")
1105 {
1106 variable = "PECYANINE5";
1107 textAnchor = "PE/Cyanine5";
1108 }
1109 else if(format == "PE_CY5.5")
1110 {
1111 variable = "PECY55";
1112 textAnchor = "PE/Cy5.5";
1113 }
1114 else if(format == "PE_CYANINE7")
1115 {
1116 variable = "PECYANINE7";
1117 textAnchor = "PE/Cyanine7";
1118 }
1119 else if(format == "PE_DZL594")
1120 {
1121 variable = "PEDZL594";
1122 textAnchor = "PE/Dazzle™ 594";
1123 }
1124 else if(format == "PERCP")
1125 {
1126 variable = "PERCP";
1127 textAnchor = "PerCP";
1128 }
1129 else if(format == "PERCP_CY55")
1130 {
1131 variable = "PERCPCYANINE55";
1132 textAnchor = "PerCP/Cyanine5.5";
1133 }
1134 //PerCP/Cyanine5.5
1135 else if(format == "PERCP_CYANINE5.5")
1136 {
1137 variable = "PERCPCYANINE55";
1138 textAnchor = "PerCP/Cyanine5.5";
1139 }
1140 //Flash Phalloidin NIR 647
1141 else if(productID == "13240")
1142 {
1143 variable = "FPNIR647";
1144 textAnchor = "Flash Phalloidin™ NIR 647";
1145 }
1146 //Flash Phalloidin Red 594
1147 else if(productID == "13203")
1148 {
1149 variable = "FPR594";
1150 textAnchor = "Flash Phalloidin™ Red 594";
1151 }
1152 //Flash Phalloidin Green 488
1153 else if(productID == "13950")
1154 {
1155 variable = "FPG488";
1156 textAnchor = "Flash Phalloidin™ Green 488";
1157 }
1158 //DAPI
1159 else if(productID == "8108")
1160 {
1161 variable = "DAPI";
1162 textAnchor = "DAPI (4',6-Diamidino-2-Phenylindole, Dilactate)";
1163 }
1164 //PI
1165 else if(productID == "2651")
1166 {
1167 variable = "PI";
1168 textAnchor = "Propidium Iodide";
1169 }
1170 //7AAD
1171 else if(productID == "1649")
1172 {
1173 variable = "7AAD";
1174 textAnchor = "7-AAD";
1175 }
1176 /* zombie Aqua */
1177 else if(productID == "8444")
1178 {
1179 variable = "ZA";
1180 textAnchor = "Zombie Aqua™";
1181 }
1182 /* zombie Green */
1183 else if(productID == "9340")
1184 {
1185 variable = "ZG";
1186 textAnchor = "Zombie Green™";
1187 }
1188 /* zombie NIR */
1189 else if(productID == "8657")
1190 {
1191 variable = "ZNIR";
1192 textAnchor = "Zombie NIR™";
1193 }
1194 /* zombie Red */
1195 else if(productID == "9338")
1196 {
1197 variable = "ZR";
1198 textAnchor = "Zombie Red™";
1199 }
1200 /* zombie Ultraviolet */
1201 else if(productID == "9336")
1202 {
1203 variable = "ZUV";
1204 textAnchor = "Zombie UV™";
1205 }
1206 /* zombie Violet */
1207 else if(productID == "9341")
1208 {
1209 variable = "ZV";
1210 textAnchor = "Zombie Violet™";
1211 }
1212 /* zombie Yellow */
1213 else if(productID == "8514")
1214 {
1215 variable = "ZY";
1216 textAnchor = "Zombie Yellow™";
1217 }
1218 /* zombie B550 */
1219 else if(productID == "23629")
1220 {
1221 variable = "ZB550";
1222 textAnchor = "Zombie B550™";
1223 }
1224 /* zombie Zombie YG581 */
1225 else if(productID == "23631")
1226 {
1227 variable = "ZYG581";
1228 textAnchor = "Zombie YG581™";
1229 }
1230 /* zombie R685 */
1231 else if(productID == "23628")
1232 {
1233 variable = "ZR685";
1234 textAnchor = "Zombie R685™";
1235 }
1236 /* zombie R718 */
1237 else if(productID == "23630")
1238 {
1239 variable = "ZR718";
1240 textAnchor = "Zombie R718™";
1241 }
1242 /* CFSE */
1243 else if(productID == "8053")
1244 {
1245 variable = "CFSE";
1246 textAnchor = "CFSE";
1247 }
1248 /* DRAQ7 */
1249 else if(productID == "9628")
1250 {
1251 variable = "DRAQ7";
1252 textAnchor = "DRAQ7™";
1253 }
1254 /* DRAQ5 */
1255 else if(productID == "9674")
1256 {
1257 variable = "DRAQ5";
1258 textAnchor = "DRAQ5™";
1259 }
1260
1261 /* Helix NP NIR */
1262 else if(productID == "13421")
1263 {
1264 variable = "HNPNIR";
1265 textAnchor = "Helix NP™ NIR";
1266 }
1267
1268 /* Cytophase Violet */
1269 else if (productID == "13786")
1270 {
1271 variable = "CV";
1272 textAnchor = "Cytophase™ Violet";
1273 }
1274
1275 /* PE Fire 640 */
1276 else if(format == "PE_F640")
1277 {
1278 variable = "PEFIRE640";
1279 textAnchor = "PE/Fire™ 640";
1280 }
1281
1282 /* PE Fire 700 */
1283 else if(format == "PE_F700")
1284 {
1285 variable = "PEFIRE700";
1286 textAnchor = "PE/Fire™ 700";
1287 }
1288
1289 /* PE Fire 744 */
1290 else if(format == "PE_F744")
1291 {
1292 variable = "PEFIRE744";
1293 textAnchor = "PE/Fire™ 744";
1294 }
1295
1296 /* PE Fire 780 */
1297 else if(format == "PE_F780")
1298 {
1299 variable = "PEFIRE780";
1300 textAnchor = "PE/Fire™ 780";
1301 }
1302
1303 /* PE Fire 810 */
1304 else if(format == "PE_F810")
1305 {
1306 variable = "PEFIRE810";
1307 textAnchor = "PE/Fire™ 810";
1308 }
1309
1310 /* DyLight 649 */
1311 else if(format == "D649")
1312 {
1313 variable = "DYLIGHT649";
1314 textAnchor = "DyLight® 649";
1315 }
1316
1317 /* Karavia 520 */
1318 else if(format == "KB520")
1319 {
1320 variable = "KB520";
1321 textAnchor = "KIRAVIA Blue 520™";
1322 }
1323
1324 /* Apotracker Green */
1325 else if (productID == "18527")
1326 {
1327 variable = "APOTRACKERGREEN";
1328 textAnchor = "Apotracker™ Green";
1329 }
1330
1331 /* Calcein Red-AM */
1332 else if (productID == "18901")
1333 {
1334 variable = "CRAM";
1335 textAnchor = "Calcein Red-AM";
1336 }
1337
1338 /* Spark YG 570 */
1339 else if(format == "SPKYG_570")
1340 {
1341 variable = "SPARKYG570";
1342 textAnchor = "Spark YG™ 570";
1343 }
1344
1345 /* Spark Violet 538 */
1346 else if(format == "SPKVL_538")
1347 {
1348 variable = "SPKV538";
1349 textAnchor = "Spark Violet™ 538";
1350 }
1351
1352 /* Spark YG 581 */
1353 else if(format == "SPKYG_581")
1354 {
1355 variable = "SPKYG581";
1356 textAnchor = "Spark YG™ 581";
1357 }
1358
1359 /* Spark Blue 574 */
1360 else if(format == "SPKBL_574")
1361 {
1362 variable = "SPARKB574";
1363 textAnchor = "Spark Blue™ 574";
1364 }
1365
1366 /* Spark Violet 423 */
1367 else if(format == "SPKVL_423")
1368 {
1369 variable = "SPKV423";
1370 textAnchor = "Spark Violet™ 423";
1371 }
1372
1373 /* Spark UV 387 */
1374 else if(format == "SPKUV_387")
1375 {
1376 variable = "SPARKUV387";
1377 textAnchor = "Spark UV™ 387";
1378 }
1379
1380 /* Spark Violet 500 */
1381 else if(format == "SPKVL_500")
1382 {
1383 variable = "SPARKV500";
1384 textAnchor = "Spark Violet™ 500";
1385 }
1386
1387 /* PerCP/Fire 780 */
1388 else if(format == "PERCP_F780")
1389 {
1390 variable = "PERCPF780";
1391 textAnchor = "PerCP/Fire™ 780";
1392 }
1393
1394 /* PerCP/Fire 806 */
1395 else if(format == "PERCP_F806")
1396 {
1397 variable = "PERCPF806";
1398 textAnchor = "PerCP/Fire™ 806";
1399 }
1400
1401 /* Spark Blue 515 */
1402 else if(format == "SPKBL_515")
1403 {
1404 variable = "SPKBL_515";
1405 textAnchor = "Spark Blue™ 515";
1406 }
1407
1408 /* Lysosome Probe Deep Red */
1409 else if(productID == "23745")
1410 {
1411 variable = "LPDR";
1412 textAnchor = "Lysosome Probe Deep Red";
1413 }
1414
1415 /* Lysosome Probe Green */
1416 else if(productID == "23741")
1417 {
1418 variable = "LPG";
1419 textAnchor = "Lysosome Probe Green";
1420 }
1421
1422 /* Lysosome Probe NIR */
1423 else if(productID == "23744")
1424 {
1425 variable = "LPNIR";
1426 textAnchor = "Lysosome Probe NIR";
1427 }
1428
1429 /* Lysosome Probe Orange */
1430 else if(productID == "23742")
1431 {
1432 variable = "LPO";
1433 textAnchor = "Lysosome Probe Orange";
1434 }
1435
1436 /* Lysosome Probe Red */
1437 else if(productID == "23743")
1438 {
1439 variable = "LPR";
1440 textAnchor = "Lysosome Probe Red";
1441 }
1442
1443 /* JC-10 Mitochondrial Membrane Potential Kit */
1444 else if(productID == "23092")
1445 {
1446 variable = "JC10MMPK";
1447 textAnchor = "JC-10 Mitochondrial Membrane Potential Kit";
1448 }
1449
1450 /* Spark PLUS UV 395 */
1451 else if(format == "SPKPLUSUV_395")
1452 {
1453 variable = "SPKPLUSUV_395";
1454 textAnchor = "Spark PLUS UV™ 395";
1455 }
1456
1457
1458
1459
1460
1461
1462 /* APC/Fire 810 */
1463 else if(format == "APC_F810")
1464 {
1465 variable = "APCF810";
1466 textAnchor = "APC/Fire™ 810";
1467 }
1468
1469 /* Spark Blue 550 */
1470 else if(format == "SPKBL_550")
1471 {
1472 variable = "SPKB550";
1473 textAnchor = "Spark Blue™ 550";
1474 }
1475
1476 /* Spark PLUS B550 */
1477 else if(format == "SPKPLUSB_550")
1478 {
1479 variable = "SPKPLUSB_550";
1480 textAnchor = "Spark PLUS B550™";
1481 }
1482
1483 /* Spark NIR 685 */
1484 else if(format == "SPKNIR_685")
1485 {
1486 variable = "SPKNIR685";
1487 textAnchor = "Spark NIR™ 685";
1488 }
1489
1490 /* Spark Red 718 */
1491 else if(format == "SPKR_718")
1492 {
1493 variable = "SPKR718";
1494 textAnchor = "Spark Red™ 718";
1495 }
1496
1497 /* Spark YG 593 */
1498 else if(format == "SPKYG_593")
1499 {
1500 variable = "SPKYG593";
1501 textAnchor = "Spark YG™ 593";
1502 }
1503
1504 /* GMP Alexa Fluor® 488 */
1505 else if(format == "GMP_A488")
1506 {
1507 variable = "AF488";
1508 textAnchor = "GMP Alexa Fluor® 488";
1509 }
1510
1511 /* GMP Alexa Fluor® 647 */
1512 else if(format == "GMP_A647")
1513 {
1514 variable = "AF647";
1515 textAnchor = "GMP Alexa Fluor® 647";
1516 }
1517
1518 /* GMP Alexa Fluor® 700 */
1519 else if(format == "GMP_A700")
1520 {
1521 variable = "AF700";
1522 textAnchor = "GMP Alexa Fluor® 700";
1523 }
1524
1525 /* GMP APC */
1526 else if(format == "GMP_APC")
1527 {
1528 variable = "APC";
1529 textAnchor = "GMP APC";
1530 }
1531
1532 /* GMP APC/Cyanine7 */
1533 else if(format == "GMP_APC_CYANINE7")
1534 {
1535 variable = "APCCYANINE7";
1536 textAnchor = "GMP APC/Cyanine7";
1537 }
1538
1539 /* GMP APC/Fire 750 */
1540 else if(format == "GMP_APC_F750")
1541 {
1542 variable = "APCF750";
1543 textAnchor = "GMP APC/Fire™ 750";
1544 }
1545
1546 /* GMP FITC */
1547 else if(format == "GMP_FITC")
1548 {
1549 variable = "FITC";
1550 textAnchor = "GMP FITC";
1551 }
1552
1553 /* GMP Pacific Blue */
1554 else if(format == "GMP_PB")
1555 {
1556 variable = "PB";
1557 textAnchor = "GMP Pacific Blue™";
1558 }
1559
1560 /* GMP PE */
1561 else if(format == "GMP_PE")
1562 {
1563 variable = "PE";
1564 textAnchor = "GMP PE";
1565 }
1566
1567 /* GMP PE/Cyanine5 */
1568 else if(format == "GMP_PE_CYANINE5")
1569 {
1570 variable = "PECYANINE5";
1571 textAnchor = "GMP PE/Cyanine5";
1572 }
1573
1574 /* GMP PE/Cyanine7 */
1575 else if(format == "GMP_PE_CYANINE7")
1576 {
1577 variable = "PECYANINE7";
1578 textAnchor = "GMP PE/Cyanine7";
1579 }
1580
1581 /* GMP PE/Dazzle 594 */
1582 else if(format == "GMP_PE_DZL594")
1583 {
1584 variable = "PEDZL594";
1585 textAnchor = "GMP PE/Dazzle™ 594";
1586 }
1587
1588 /* GMP PerCP */
1589 else if(format == "GMP_PERCP")
1590 {
1591 variable = "PERCP";
1592 textAnchor = "GMP PerCP";
1593 }
1594
1595 /* GMP PerCP/Cyanine5.5 */
1596 else if(format == "GMP_PERCP_CYANINE5.5")
1597 {
1598 variable = "PERCPCYANINE55";
1599 textAnchor = "GMP PerCP/Cyanine5.5";
1600 }
1601
1602 /* GMP Spark Violet 423 */
1603 else if(format == "GMP_SPKVL_423")
1604 {
1605 variable = "SPKV423";
1606 textAnchor = "GMP Spark Violet™ 423";
1607 }
1608
1609 /* GMP Spark Violet 538 */
1610 else if(format == "GMP_SPKVL_538")
1611 {
1612 variable = "SPKV538";
1613 textAnchor = "GMP Spark Violet™ 538";
1614 }
1615
1616
1617 if (!string.IsNullOrWhiteSpace(variable))
1618 {
1619 string spectraImage = "/Files/Images/media_assets/fluorophore_equivalency/data/"+variable+".png";
1620 bool fileExists = File.Exists(HttpContext.Current.Server.MapPath(spectraImage));
1621
1622 if(fileExists)
1623 {
1624
1625
1626 #line default
1627 #line hidden
1628 WriteLiteralTo(__razor_helper_writer, " <a");
1629
1630 WriteLiteralTo(__razor_helper_writer, " id=\"spectralDataLink\"");
1631
1632 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-9\"");
1633
1634 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\'", 34954), Tuple.Create("\'", 34997)
1635 , Tuple.Create(Tuple.Create("", 34961), Tuple.Create("javascript:loadSpectra(\"", 34961), true)
1636
1637 #line 1246 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1638 , Tuple.Create(Tuple.Create("", 34985), Tuple.Create<System.Object, System.Int32>(variable
1639
1640 #line default
1641 #line hidden
1642 , 34985), false)
1643 , Tuple.Create(Tuple.Create("", 34994), Tuple.Create("\");", 34994), true)
1644 );
1645
1646 WriteLiteralTo(__razor_helper_writer, ">\r\n <i");
1647
1648 WriteLiteralTo(__razor_helper_writer, " class=\"bl bl-iconLink\"");
1649
1650 WriteLiteralTo(__razor_helper_writer, "></i>\r\n");
1651
1652 WriteLiteralTo(__razor_helper_writer, " ");
1653
1654
1655 #line 1248 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1656 WriteTo(__razor_helper_writer, Translate("seeSpectralData","See {{Format}} spectral data").Replace("{{Format}}", textAnchor));
1657
1658
1659 #line default
1660 #line hidden
1661 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n");
1662
1663
1664 #line 1250 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1665 }
1666 }
1667
1668
1669 #line default
1670 #line hidden
1671 });
1672
1673 #line 1252 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1674 }
1675 #line default
1676 #line hidden
1677
1678
1679 #line 1254 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1680 public RazorEngine.Templating.TemplateWriter RenderMaterialDataSheet(string MSDS_Type = "", string MSDS_File = "", string MSDS_Options = "", string Regulatory_Status = "", string productID = "", string techSupportID = "", string translateAnchor = "", string translateAnchorCommingSoon = "",string translateAnchorNATechSupport = ""){
1681 #line default
1682 #line hidden
1683 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
1684
1685 #line 1254 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1686
1687
1688 string msdsLink = "";
1689
1690 var cdnStaticDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("Static_Content", "Static_Content_Domain"); //CUSTOM CODE
1691
1692 if(MSDS_Type.Equals("LEAF"))
1693 {
1694 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/LEAF_NC_EN_CLP_2015-07-01.pdf";
1695 }
1696 else if(MSDS_Type.Equals("ELISAMAXStandard"))
1697 {
1698 msdsLink = "/dwcountry/sdsoptions-4416";
1699 }
1700 else if(MSDS_Type.Equals("ELISAMAXDeluxe"))
1701 {
1702 msdsLink = "/dwcountry/sdsoptions-4417";
1703 }
1704 else if(MSDS_Type.Equals("LEGENDMAX"))
1705 {
1706 msdsLink = "/dwcountry/sdsoptions-4419";
1707 }
1708 else if(MSDS_Type.Equals("LEGENDplex"))
1709 {
1710 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/LEGENDplex_COMP_SDS_2015-05-07_Revised.pdf";
1711 }
1712 else if(MSDS_Type.Equals("MojoSort"))
1713 {
1714 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/MojoSort_NC_EN_CLP2015-07-01.pdf";
1715 }
1716 else if(MSDS_Type.Equals("Streptavidin and Avidin"))
1717 {
1718 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/Streptavidin_and_Avidin_NC_EN_CLP_2015-11-20.pdf";
1719 }
1720 else if(MSDS_Type.Equals("ASR"))
1721 {
1722 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/Diagnostic_Pure_and_Conjugated_Antibodies RSD_United_States-3.pdf";
1723 }
1724 else if(MSDS_Type.Equals("7AAD"))
1725 {
1726 msdsLink = "/dwcountry/sdsoptions-28";
1727 }
1728 else if(MSDS_Type.Equals("IVD A"))
1729 {
1730 msdsLink = "/dwcountry/sdsoptions-4109";
1731 }
1732 else if(MSDS_Type.Equals("IVD B"))
1733 {
1734 msdsLink = "/dwcountry/sdsoptions-4110";
1735 }
1736 else if(MSDS_Type.Equals("Veri-Cells")){
1737 msdsLink = "/dwcountry/sdsoptions-4000";
1738 }
1739 else if(MSDS_Type.Equals("Flow Kit"))
1740 {
1741 msdsLink = "/dwcountry/sds";
1742 }
1743 else if(MSDS_Type.Equals("Zombie Dye"))
1744 {
1745 msdsLink = "/dwcountry/sdsoptions-4210";
1746 }
1747 else if(MSDS_Type.Equals("Calcein AM"))
1748 {
1749 msdsLink = "/dwcountry/sdsoptions-4209";
1750 }
1751 else if(MSDS_Type.Equals("Mitospy"))
1752 {
1753 msdsLink = "/dwcountry/sdsoptions-4208";
1754 }
1755 else if(MSDS_Type.Equals("LPXKit1"))
1756 {
1757 msdsLink = "/dwcountry/sdsoptions-4965";
1758 }
1759 else if(MSDS_Type.Equals("LPXKit2"))
1760 {
1761 msdsLink = "/dwcountry/sdsoptions-4966";
1762 }
1763 else if(MSDS_Type.Equals("LPXKit3"))
1764 {
1765 msdsLink = "/dwcountry/sdsoptions-4967";
1766 }
1767 else if(MSDS_Type.Equals("LPXKit4"))
1768 {
1769 msdsLink = "/dwcountry/sdsoptions-4968";
1770 }
1771 else if(MSDS_Type.Equals("LPXKit5"))
1772 {
1773 msdsLink = "/dwcountry/sdsoptions-4969";
1774 }
1775 else if(MSDS_Type.Equals("LPXKit7"))
1776 {
1777 msdsLink = "/dwcountry/sdsoptions-4971";
1778 }
1779 else if(MSDS_Type.Equals("LPXCaptureBead"))
1780 {
1781 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/Non_Hazardous_Statement_LegendPlex_Capture_Beads.pdf";
1782 }
1783 else if(MSDS_Type.Equals("LPXLyophStandard"))
1784 {
1785 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/Non_Hazardous_Statement_LegendPlex_Lyo_Formula_B.pdf";
1786 }
1787 else if(MSDS_Type.Equals("LPXLyophStandardSoloFormulationA"))
1788 {
1789 msdsLink = "/dwcountry/sdsoptions-4964";
1790 }
1791 else if(MSDS_Type.Equals("LyophilizedAntibodieswithAzide"))
1792 {
1793 msdsLink = "/dwcountry/sdsoptions-4494";
1794 }
1795 else if(MSDS_Type.Equals("RecProtein1"))
1796 {
1797 msdsLink = "/dwcountry/sdsoptions-4975";
1798 }
1799 else if(MSDS_Type.Equals("RecProtein2"))
1800 {
1801 msdsLink = "/dwcountry/sdsoptions-4973";
1802 }
1803 else if(MSDS_Type.Equals("RecProtein3"))
1804 {
1805 msdsLink = "/dwcountry/sdsoptions-4974";
1806 }
1807 else if(MSDS_Type.Equals("RecProtein4"))
1808 {
1809 msdsLink = "/dwcountry/sdsoptions-4976";
1810 }
1811 else if(MSDS_Type.Equals("RecProtein5"))
1812 {
1813 msdsLink = "/dwcountry/sdsoptions-4972";
1814 }
1815 else if(MSDS_Type.Equals("ELISAKIT1"))
1816 {
1817 msdsLink = "/dwcountry/sdsoptions-4978";
1818 }
1819 else if(MSDS_Type.Equals("ELISAKIT2"))
1820 {
1821 msdsLink = "/dwcountry/sdsoptions-4979";
1822 }
1823 else if(MSDS_Type.Equals("ELISAKIT3"))
1824 {
1825 msdsLink = "/dwcountry/sdsoptions-4981";
1826 }
1827 else if(MSDS_Type.Equals("ELISAKIT5"))
1828 {
1829 msdsLink = "/dwcountry/sdsoptions-4987";
1830 }
1831 else if(MSDS_Type.Equals("ELISAKIT7"))
1832 {
1833 msdsLink = "/dwcountry/sdsoptions-4986";
1834 }
1835 else if(MSDS_Type.Equals("ELISAKIT8"))
1836 {
1837 msdsLink = "/dwcountry/sdsoptions-4982";
1838 }
1839 else if(MSDS_Type.Equals("ELISAKIT9"))
1840 {
1841 msdsLink = "/dwcountry/sdsoptions-4984";
1842 }
1843 else if(MSDS_Type.Equals("ELISAKIT10"))
1844 {
1845 msdsLink = "/dwcountry/sdsoptions-4983";
1846 }
1847 else if(MSDS_Type.Equals("ELISAKIT11"))
1848 {
1849 msdsLink = "/dwcountry/sdsoptions-4988";
1850 }
1851 else if(MSDS_Type.Equals("ELISAKIT13"))
1852 {
1853 msdsLink = "/dwcountry/sdsoptions-4991";
1854 }
1855 else if(MSDS_Type.Equals("RAPIDMAXKIT1"))
1856 {
1857 msdsLink = "/dwcountry/sdsoptions-4997";
1858 }
1859 else if(MSDS_Type.Equals("Custom") && !string.IsNullOrWhiteSpace(MSDS_Options))
1860 {
1861 msdsLink = "/dwcountry/sdsoptions-"+MSDS_Options;
1862 }
1863 else if(MSDS_Type.Equals("Custom") && !string.IsNullOrWhiteSpace(MSDS_File))
1864 {
1865 msdsLink = MSDS_File;
1866 }
1867 else{
1868 msdsLink = "/dwcountry/sdsoptions-22";
1869 }
1870
1871 if(msdsLink.Contains("sds-options"))
1872 {
1873
1874
1875 #line default
1876 #line hidden
1877 WriteLiteralTo(__razor_helper_writer, " <a");
1878
1879 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\'", 40699), Tuple.Create("\'", 40734)
1880
1881 #line 1441 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1882 , Tuple.Create(Tuple.Create("", 40706), Tuple.Create<System.Object, System.Int32>(LocalizeLinksHTML(msdsLink)
1883
1884 #line default
1885 #line hidden
1886 , 40706), false)
1887 );
1888
1889 WriteLiteralTo(__razor_helper_writer, " target=\"_blank\"");
1890
1891 WriteLiteralTo(__razor_helper_writer, " title=\"\"");
1892
1893 WriteLiteralTo(__razor_helper_writer, "><i");
1894
1895 WriteLiteralTo(__razor_helper_writer, " class=\"bl bl-dataIcon\"");
1896
1897 WriteLiteralTo(__razor_helper_writer, "></i>");
1898
1899
1900 #line 1441 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1901 WriteTo(__razor_helper_writer, translateAnchor);
1902
1903
1904 #line default
1905 #line hidden
1906 WriteLiteralTo(__razor_helper_writer, "</a>\r\n");
1907
1908
1909 #line 1442 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1910 }
1911 else
1912 {
1913
1914
1915 #line default
1916 #line hidden
1917 WriteLiteralTo(__razor_helper_writer, " <a");
1918
1919 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\'", 40837), Tuple.Create("\'", 40915)
1920 , Tuple.Create(Tuple.Create("", 40844), Tuple.Create("javascript:openPopup(\"", 40844), true)
1921
1922 #line 1445 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1923 , Tuple.Create(Tuple.Create("", 40866), Tuple.Create<System.Object, System.Int32>(LocalizeLinksHTML(msdsLink)
1924
1925 #line default
1926 #line hidden
1927 , 40866), false)
1928 , Tuple.Create(Tuple.Create("", 40894), Tuple.Create("\",\"", 40894), true)
1929
1930 #line 1445 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1931 , Tuple.Create(Tuple.Create("", 40897), Tuple.Create<System.Object, System.Int32>(translateAnchor
1932
1933 #line default
1934 #line hidden
1935 , 40897), false)
1936 , Tuple.Create(Tuple.Create("", 40913), Tuple.Create("\")", 40913), true)
1937 );
1938
1939 WriteLiteralTo(__razor_helper_writer, "><i");
1940
1941 WriteLiteralTo(__razor_helper_writer, " class=\"bl bl-dataIcon\"");
1942
1943 WriteLiteralTo(__razor_helper_writer, "></i>");
1944
1945
1946 #line 1445 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1947 WriteTo(__razor_helper_writer, translateAnchor);
1948
1949
1950 #line default
1951 #line hidden
1952 WriteLiteralTo(__razor_helper_writer, "</a>\r\n");
1953
1954
1955 #line 1446 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1956 }
1957
1958
1959 #line default
1960 #line hidden
1961 });
1962
1963 #line 1447 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1964 }
1965 #line default
1966 #line hidden
1967
1968
1969 #line 1449 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1970 public RazorEngine.Templating.TemplateWriter RenderCustomField( string productFieldType, string customField, string translate, LoopItem productObj = null){
1971 #line default
1972 #line hidden
1973 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
1974
1975 #line 1449 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
1976
1977 string productTag;
1978 if (productObj != null)
1979 {
1980 productTag = productObj.GetString("Ecom:Product.CategoryField." + productFieldType + "." + customField + ".Value.Clean");
1981 }
1982 else
1983 {
1984 productTag = GetString("Ecom:Product.CategoryField." + productFieldType + "." + customField + ".Value.Clean");
1985 }
1986
1987 if(!string.IsNullOrWhiteSpace(productTag))
1988 {
1989
1990
1991 #line default
1992 #line hidden
1993 WriteLiteralTo(__razor_helper_writer, " <dt");
1994
1995 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-3 noPaddingLeft\"");
1996
1997 WriteLiteralTo(__razor_helper_writer, ">\r\n");
1998
1999 WriteLiteralTo(__razor_helper_writer, " ");
2000
2001
2002 #line 1463 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2003 WriteTo(__razor_helper_writer, translate);
2004
2005
2006 #line default
2007 #line hidden
2008 WriteLiteralTo(__razor_helper_writer, "\r\n </dt>\r\n");
2009
2010 WriteLiteralTo(__razor_helper_writer, " <dd");
2011
2012 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-9\"");
2013
2014 WriteLiteralTo(__razor_helper_writer, ">\r\n");
2015
2016 WriteLiteralTo(__razor_helper_writer, " ");
2017
2018
2019 #line 1466 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2020 WriteTo(__razor_helper_writer, productTag);
2021
2022
2023 #line default
2024 #line hidden
2025 WriteLiteralTo(__razor_helper_writer, "\r\n </dd>\r\n");
2026
2027
2028 #line 1468 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2029 }
2030
2031
2032 #line default
2033 #line hidden
2034 });
2035
2036 #line 1469 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2037 }
2038 #line default
2039 #line hidden
2040
2041
2042 #line 1471 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2043 public RazorEngine.Templating.TemplateWriter RenderABType( string productField, string translate, string productID = "", string str_productRegulatoryStatus = "", string catalogFirstLetter = "0", string str_productFormat = "", string productFieldType = "", string str_productName = "", LoopItem productObj = null){
2044 #line default
2045 #line hidden
2046 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
2047
2048 #line 1471 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2049
2050 string productTag;
2051 if (productObj != null)
2052 {
2053 productTag = productObj.GetString("Ecom:Product:Field." + productField + ".Value");
2054 }
2055 else
2056 {
2057 productTag = GetString("Ecom:Product:Field." + productField + ".Value");
2058 }
2059
2060 if(!string.IsNullOrWhiteSpace(productTag) && !productTag.Equals("N/A") )
2061 {
2062
2063
2064 #line default
2065 #line hidden
2066 WriteLiteralTo(__razor_helper_writer, " <dt");
2067
2068 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-3 noPaddingLeft\"");
2069
2070 WriteLiteralTo(__razor_helper_writer, ">\r\n");
2071
2072 WriteLiteralTo(__razor_helper_writer, " ");
2073
2074
2075 #line 1485 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2076 WriteTo(__razor_helper_writer, translate);
2077
2078
2079 #line default
2080 #line hidden
2081 WriteLiteralTo(__razor_helper_writer, "\r\n </dt>\r\n");
2082
2083 WriteLiteralTo(__razor_helper_writer, " <dd");
2084
2085 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-9\"");
2086
2087 WriteLiteralTo(__razor_helper_writer, ">\r\n");
2088
2089 WriteLiteralTo(__razor_helper_writer, " ");
2090
2091
2092 #line 1488 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2093 WriteTo(__razor_helper_writer, productTag);
2094
2095
2096 #line default
2097 #line hidden
2098 WriteLiteralTo(__razor_helper_writer, "\r\n </dd>\r\n");
2099
2100
2101 #line 1490 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2102 }
2103
2104
2105 #line default
2106 #line hidden
2107 });
2108
2109 #line 1491 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2110 }
2111 #line default
2112 #line hidden
2113
2114
2115 #line 1493 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2116 public RazorEngine.Templating.TemplateWriter RenderProductField( string productField, string translate, string productID = "", string str_productRegulatoryStatus = "", string catalogFirstLetter = "0", string str_productFormat = "", string productFieldType = "", string str_productName = "", LoopItem productObj = null, bool isCommaSeparatedList = false){
2117 #line default
2118 #line hidden
2119 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
2120
2121 #line 1493 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2122
2123
2124 var isPdf = Convert.ToBoolean(Dynamicweb.Context.Current.Request.Params["pdf"]);
2125 string appNotesID = "";
2126 string productTag = "";
2127
2128
2129 if (productObj != null)
2130 {
2131 productTag = productObj.GetString("Ecom:Product:Field." + productField + ".Value");
2132 }
2133 else
2134 {
2135 productTag = GetString("Ecom:Product:Field." + productField + ".Value");
2136 }
2137
2138 if(isCommaSeparatedList){
2139
2140 productTag = productTag.Replace(",",", ");
2141
2142 }
2143
2144 if(productField.Equals("Reactivity") && productFieldType.Equals("RecombinantProteins")){}
2145 else if(!string.IsNullOrWhiteSpace(productTag))
2146 {
2147
2148
2149 #line default
2150 #line hidden
2151 WriteLiteralTo(__razor_helper_writer, " <dt");
2152
2153 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-3 noPaddingLeft\"");
2154
2155 WriteLiteralTo(__razor_helper_writer, ">\r\n");
2156
2157 WriteLiteralTo(__razor_helper_writer, " ");
2158
2159
2160 #line 1519 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2161 WriteTo(__razor_helper_writer, translate);
2162
2163
2164 #line default
2165 #line hidden
2166 WriteLiteralTo(__razor_helper_writer, "\r\n </dt>\r\n");
2167
2168
2169 #line 1521 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2170
2171
2172
2173 #line default
2174 #line hidden
2175 WriteLiteralTo(__razor_helper_writer, " <dd");
2176
2177 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-9\"");
2178
2179 WriteLiteralTo(__razor_helper_writer, ">\r\n");
2180
2181
2182 #line 1523 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2183
2184
2185 #line default
2186 #line hidden
2187
2188 #line 1523 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2189 if(productField.Equals("Usage") && !str_productRegulatoryStatus.Equals("ASR")){
2190
2191
2192 #line default
2193 #line hidden
2194
2195 #line 1524 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2196 WriteTo(__razor_helper_writer, UsageProductExceptions(productTag, str_productFormat, catalogFirstLetter, productFieldType, str_productName, productID));
2197
2198
2199 #line default
2200 #line hidden
2201
2202 #line 1524 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2203
2204 }
2205 else if(productField.Equals("Disclaimer") && str_productRegulatoryStatus.Equals("ASR")){
2206 string replace = "";
2207 if(str_productFormat.Equals("PB") || str_productFormat.Equals("A488") || str_productFormat.Equals("A555") || str_productFormat.Equals("A594") || str_productFormat.Equals("A647") || str_productFormat.Equals("A660") || str_productFormat.Equals("A700") || str_productFormat.Equals("A488_COCKTAIL") || str_productFormat.Equals("A647_COCKTAIL") || str_productFormat.Equals("A700_COCKTAIL"))
2208 {
2209 var termsLink = "/dwcountry/terms";
2210 replace = "<br />Alexa Fluor® and Pacific Blue™ are trademarks of Life Technologies Corporation.<br /><br /><a href='"+@LocalizeLinksHTML(termsLink)+"' target=\"_blank\" title=\"Label License\">View full statement regarding label licenses</a>";
2211 productTag += replace;
2212 }
2213
2214 if (isPdf)
2215 {
2216
2217
2218 #line default
2219 #line hidden
2220
2221 #line 1537 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2222 WriteTo(__razor_helper_writer, productTag);
2223
2224
2225 #line default
2226 #line hidden
2227
2228 #line 1537 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2229
2230 }
2231 else
2232 {
2233
2234
2235 #line default
2236 #line hidden
2237
2238 #line 1541 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2239 WriteTo(__razor_helper_writer, LocalizeLinksHTML(productTag));
2240
2241
2242 #line default
2243 #line hidden
2244
2245 #line 1541 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2246
2247 }
2248 }
2249 else
2250 {
2251 if (isPdf)
2252 {
2253
2254
2255 #line default
2256 #line hidden
2257
2258 #line 1548 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2259 WriteTo(__razor_helper_writer, productTag);
2260
2261
2262 #line default
2263 #line hidden
2264
2265 #line 1548 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2266
2267 }
2268 else
2269 {
2270
2271
2272 #line default
2273 #line hidden
2274
2275 #line 1552 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2276 WriteTo(__razor_helper_writer, LocalizeLinksHTML(productTag));
2277
2278
2279 #line default
2280 #line hidden
2281
2282 #line 1552 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2283
2284 }
2285 }
2286
2287 #line default
2288 #line hidden
2289 WriteLiteralTo(__razor_helper_writer, "\r\n");
2290
2291 WriteLiteralTo(__razor_helper_writer, " ");
2292
2293
2294 #line 1555 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2295 WriteTo(__razor_helper_writer, AddShelfLifeException(productField,productID));
2296
2297
2298 #line default
2299 #line hidden
2300 WriteLiteralTo(__razor_helper_writer, "\r\n");
2301
2302 WriteLiteralTo(__razor_helper_writer, " ");
2303
2304
2305 #line 1556 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2306 WriteTo(__razor_helper_writer, AddActivationBundleException(productField,productID));
2307
2308
2309 #line default
2310 #line hidden
2311 WriteLiteralTo(__razor_helper_writer, "\r\n </dd>\r\n");
2312
2313
2314 #line 1558 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2315 }
2316
2317
2318 #line default
2319 #line hidden
2320 });
2321
2322 #line 1559 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2323 }
2324 #line default
2325 #line hidden
2326
2327
2328 #line 1561 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2329 public RazorEngine.Templating.TemplateWriter RenderLongDescription(string productField, string productID = "", bool isPdf = false)
2330 {
2331 #line default
2332 #line hidden
2333 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
2334
2335 #line 1562 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2336
2337 string replace = "";
2338
2339 if (productID.Equals("8309") || productID.Equals("14141"))
2340 {
2341 replace = "<br /><br /><a href=\"/legendscreen\" title=\"LEGENDScreen™ Antibody Panels\">Learn more about LEGENDScreen™ Antibody Panels and view plate maps.</a>";
2342 productField += replace;
2343 }
2344
2345 if (isPdf)
2346 {
2347
2348
2349 #line default
2350 #line hidden
2351
2352 #line 1573 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2353 WriteTo(__razor_helper_writer, System.Web.HttpUtility.HtmlDecode(productField));
2354
2355
2356 #line default
2357 #line hidden
2358
2359 #line 1573 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2360
2361 }
2362 else
2363 {
2364
2365
2366 #line default
2367 #line hidden
2368
2369 #line 1577 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2370 WriteTo(__razor_helper_writer, System.Web.HttpUtility.HtmlDecode(LocalizeLinksHTML(productField)));
2371
2372
2373 #line default
2374 #line hidden
2375
2376 #line 1577 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2377
2378 }
2379
2380
2381 #line default
2382 #line hidden
2383 });
2384
2385 #line 1579 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2386 }
2387 #line default
2388 #line hidden
2389
2390
2391 #line 1581 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2392 public RazorEngine.Templating.TemplateWriter RenderCustomConjugationButton( string catalogFirstTwoNumbers = "00", string catalogFirstThreeNumbers = "000", string formRequestConjugation = ""){
2393 #line default
2394 #line hidden
2395 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
2396
2397 #line 1581 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2398
2399 if(catalogFirstTwoNumbers == "42" || catalogFirstTwoNumbers == "43" || catalogFirstTwoNumbers == "44" || catalogFirstTwoNumbers == "48" || catalogFirstTwoNumbers == "55" || catalogFirstTwoNumbers == "56" || catalogFirstTwoNumbers == "57" || catalogFirstTwoNumbers == "58" || catalogFirstTwoNumbers == "59" || catalogFirstTwoNumbers == "70" || catalogFirstTwoNumbers == "71" || catalogFirstTwoNumbers == "74" || catalogFirstTwoNumbers == "75" || catalogFirstTwoNumbers == "76" || catalogFirstThreeNumbers == "401" || catalogFirstThreeNumbers == "402" || catalogFirstThreeNumbers == "403" || catalogFirstThreeNumbers == "404" || catalogFirstThreeNumbers == "842" || catalogFirstThreeNumbers == "843" )
2400 {}
2401 else{
2402 var customConjugationFormLink = @LocalizeLinksHTML("/dwcountry/custom-solutions/custom-requests-form");
2403
2404
2405 #line default
2406 #line hidden
2407 WriteLiteralTo(__razor_helper_writer, "<a");
2408
2409 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-default\"");
2410
2411 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 46629), Tuple.Create("\"", 46662)
2412
2413 #line 1586 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2414 , Tuple.Create(Tuple.Create("", 46636), Tuple.Create<System.Object, System.Int32>(customConjugationFormLink
2415
2416 #line default
2417 #line hidden
2418 , 46636), false)
2419 );
2420
2421 WriteLiteralTo(__razor_helper_writer, ">\r\n");
2422
2423 WriteLiteralTo(__razor_helper_writer, " ");
2424
2425
2426 #line 1587 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2427 WriteTo(__razor_helper_writer, Translate("requestCustomConjugation","Request Custom Conjugation"));
2428
2429
2430 #line default
2431 #line hidden
2432 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n");
2433
2434
2435 #line 1589 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2436 }
2437
2438
2439 #line default
2440 #line hidden
2441 });
2442
2443 #line 1590 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2444 }
2445 #line default
2446 #line hidden
2447
2448
2449 #line 1592 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2450 public RazorEngine.Templating.TemplateWriter UsageProductExceptions(string productField, string str_productFormat, string catalogFirstLetter = "0", string productFieldType = "", string str_productName = "", string productID = "")
2451 {
2452 #line default
2453 #line hidden
2454 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
2455
2456 #line 1593 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2457
2458 string str = "Each lot of this antibody is quality control tested by immunofluorescent staining with flow cytometric analysis";
2459 string replace = "";
2460
2461 if ( productField.Contains(str))
2462 {
2463 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/cell-surface-flow-cytometry-staining-protocol/4283/\" target=\"_blank\" title=\"View Protocol\">immunofluorescent staining with flow cytometric analysis</a>");
2464 }
2465
2466 str = "Each lot of these antibodies is quality control tested by immunofluorescent staining with flow cytometric analysis";
2467 if ( productField.Contains(str))
2468 {
2469 productField = productField.Replace(str,"Each lot of these antibodies is quality control tested by <a href=\"/protocols/cell-surface-flow-cytometry-staining-protocol/4283/\" target=\"_blank\" title=\"View Protocol\">immunofluorescent staining with flow cytometric analysis</a>");
2470 }
2471
2472 str = "Each lot of this antibody is quality control tested by cell surface immunofluorescent staining with flow cytometric analysis as negative control.";
2473 if ( productField.Contains(str))
2474 {
2475 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/cell-surface-flow-cytometry-staining-protocol/4283/\" target=\"_blank\" title=\"View Protocol\">cell surface immunofluorescent staining</a> with flow cytometric analysis as negative control.");
2476 }
2477
2478 str = "Each lot of this antibody is quality control tested by intracellular immunofluorescent staining with flow cytometric analysis as negative control.";
2479 if ( productField.Contains(str))
2480 {
2481 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/intracellular-flow-cytometry-staining-protocol/4260/\" target=\"_blank\" title=\"View Protocol\">intracellular immunofluorescence staining</a> with flow cytometric analysis as negative control.");
2482 }
2483
2484 str = "Each lot of this antibody is quality control tested by Western blotting.";
2485 if ( productField.Contains(str))
2486 {
2487 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/western-blotting-protocol/4269/\" target=\"_blank\" title=\"View Protocol\">Western blotting</a>.");
2488 }
2489
2490 str = "Each lot of this antibody is quality control tested by ELISA assay.";
2491 if ( productField.Contains(str))
2492 {
2493 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/sandwich-elisa-protocol/4268/\" target=\"_blank\" title=\"View Protocol\">ELISA assay</a>.");
2494 }
2495
2496 str = "Each lot of this antibody is quality control tested by intracellular immunofluorescent staining with flow cytometric analysis.";
2497 if ( productField.Contains(str))
2498 {
2499 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/intracellular-flow-cytometry-staining-protocol/4260/\" target=\"_blank\" title=\"View Protocol\">intracellular immunofluorescent staining with flow cytometric analysis</a>.");
2500 }
2501
2502 str = "Each lot of this protein is quality control tested by ELISA assay.";
2503 if ( productField.Contains(str))
2504 {
2505 productField = productField.Replace(str,"Each lot of this protein is quality control tested by <a href=\"/protocols/sandwich-elisa-protocol/4268/\" target=\"_blank\" title=\"View Protocol\">ELISA assay</a>.");
2506 }
2507
2508 str = "Each lot of this antibody is quality control tested by Immunofluorescence staining.";
2509 if ( productField.Contains(str))
2510 {
2511 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/immunofluorescence-microscopy-protocol/4275/\" target=\"_blank\" title=\"View Protocol\">immunofluorescence staining</a>.");
2512 }
2513
2514 str = "Each lot of this antibody is quality control tested by intracellular flow cytometry using our True-Phos™ Perm Buffer in Cell Suspensions Protocol.";
2515 if ( productField.Contains(str))
2516 {
2517 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by intracellular flow cytometry using our <a href=\"/protocols/intracellular-staining-with-true-phos-perm-buffer-in-cell-suspensions-protocol/4262/\" target=\"_blank\" title=\"View Protocol\">True-Phos™ Perm Buffer in Cell Suspensions Protocol</a>.");
2518 }
2519
2520 str = "Each lot of this antibody is quality control tested by intracellular flow cytometry using our True-Phos™ Perm Buffer in Whole Blood Protocol.";
2521 if ( productField.Contains(str))
2522 {
2523 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by intracellular flow cytometry using our <a href=\"/protocols/intracellular-staining-with-true-phos-perm-buffer-in-whole-blood/4261/\" target=\"_blank\" title=\"View Protocol\">True-Phos™ Perm Buffer in Whole Blood Protocol</a>.");
2524 }
2525
2526
2527 if(str_productFormat.Equals("PB") || str_productFormat.Equals("GMP_PB") || str_productFormat.Equals("A488") || str_productFormat.Equals("A555") || str_productFormat.Equals("A594") || str_productFormat.Equals("A647") || str_productFormat.Equals("A660") || str_productFormat.Equals("A700") || str_productFormat.Equals("A488_COCKTAIL") || str_productFormat.Equals("A647_COCKTAIL") || str_productFormat.Equals("A700_COCKTAIL") || str_productFormat.Equals("GMP_A488") || str_productFormat.Equals("GMP_A647") || str_productFormat.Equals("GMP_A700"))
2528 {
2529 var termsLink = "/dwcountry/terms";
2530 replace = "<br />Alexa Fluor® and Pacific Blue™ are trademarks of Life Technologies Corporation.<br /><br /><a href='"+@LocalizeLinksHTML(termsLink)+"' target=\"_blank\" title=\"Label License\">View full statement regarding label licenses</a>";
2531 productField += replace;
2532 }
2533
2534 if (productID == "9340")
2535 {
2536 replace = "<br />This product is provided under an intellectual property license from Life Technologies Corporation.<br /><br /><a href=\"/Files/Images/media_assets/support_resource/Limited_Use_Label_License_For_Licensee_Products_Sold_in_the_Research_Field.pdf\" target=\"_blank\" title=\"Label License\">View full statement regarding label licenses</a>";
2537 productField += replace;
2538 }
2539
2540 str = "* PerCP/Cyanine5.5 has a maximum absorption of 482 nm and 564 nm and a maximum emission of 690 nm.";
2541 if ( productField.Contains(str))
2542 {
2543 productField = productField.Replace(str,"* PerCP/Cyanine5.5 has a maximum absorption of 482 nm and a maximum emission of 690 nm.");
2544 }
2545
2546 str = "* PerCP has a maximum absorption of 482 nm and 564 nm and a maximum emission of 675 nm.";
2547 if ( productField.Contains(str))
2548 {
2549 productField = productField.Replace(str,"* PerCP has a maximum absorption of 482 nm and a maximum emission of 675 nm.");
2550 }
2551
2552 if ( str_productFormat.Equals("KB520"))
2553 {
2554 replace = "<br />KIRAVIA Blue™ 520 is a trademark of Sony. This product is subject to proprietary rights of Sony and is made and sold under license from Sony Corporation. This product is covered by U.S. Patent(s), pending patent applications and foreign equivalents.<br /><br />Sony and the Sony logo are registered trademarks of Sony Corporation.";
2555 productField += replace;
2556 }
2557
2558 if ( str_productFormat.Equals("APC_F810"))
2559 {
2560 var fireLink = "/dwcountry/fire-dyes";
2561 replace = "<br />Excessive exposure to light, and commonly used fixation, permeabilization buffers can affect APC/Fire™ 810 fluorescence signal intensity and spread. Please keep conjugates protected from light exposure. For more information and representative data, visit our <a href=\""+@LocalizeLinksHTML(fireLink)+"\">Fire Dyes</a> page.";
2562 productField += replace;
2563 }
2564
2565 if ( str_productFormat.Equals("PE_F810"))
2566 {
2567 var fireLink = "/dwcountry/fire-dyes";
2568 replace = "<br />Excessive exposure to light, and commonly used fixation, permeabilization buffers can affect PE/Fire™ 810 fluorescence signal intensity and spread. Please keep conjugates protected from light exposure. For more information and representative data, visit our <a href=\""+@LocalizeLinksHTML(fireLink)+"\">Fire Dyes</a> page.";
2569 productField += replace;
2570 }
2571
2572 if ( str_productName.Contains("Brilliant"))
2573 {
2574 var bvLink = "/dwcountry/brilliant-violet";
2575 replace = "<br /><a href=\""+@LocalizeLinksHTML(bvLink)+"\" title=\"Brilliant Violet™\">Learn more about Brilliant Violet™</a>. <br /><br />This product is subject to proprietary rights of Sirigen Inc. and is made and sold under license from Sirigen Inc. The purchase of this product conveys to the buyer a non-transferable right to use the purchased product for research purposes only. This product may not be resold or incorporated in any manner into another product for resale. Any use for therapeutics or diagnostics is strictly prohibited. This product is covered by U.S. Patent(s), pending patent applications and foreign equivalents.";
2576 productField += replace;
2577 }
2578
2579 if ( str_productName.Contains("TotalSeq"))
2580 {
2581 replace = "<br />Buyer is solely responsible for determining whether Buyer has all intellectual property rights that are necessary for Buyer's intended uses of the BioLegend TotalSeq™ products. For example, for any technology platform Buyer uses with TotalSeq™, it is Buyer's sole responsibility to determine whether it has all necessary third party intellectual property rights to use that platform and TotalSeq™ with that platform.";
2582 productField += replace;
2583 }
2584
2585
2586
2587 #line default
2588 #line hidden
2589
2590 #line 1721 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2591 WriteTo(__razor_helper_writer, System.Web.HttpUtility.HtmlDecode(productField));
2592
2593
2594 #line default
2595 #line hidden
2596
2597 #line 1721 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2598
2599
2600
2601 #line default
2602 #line hidden
2603 });
2604
2605 #line 1722 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2606 }
2607 #line default
2608 #line hidden
2609
2610
2611 #line 1724 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2612 public RazorEngine.Templating.TemplateWriter AddActivationBundleException(string productField, string productID = "")
2613 {
2614 #line default
2615 #line hidden
2616 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
2617
2618 #line 1725 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2619
2620 if(productField.Equals("Usage") && !string.IsNullOrWhiteSpace(productID))
2621 {
2622 Dictionary<string, string> lstNumbers = new Dictionary<string, string>();
2623 lstNumbers.Add("24","24");
2624 lstNumbers.Add("114","114");
2625 lstNumbers.Add("4526","4526");
2626 lstNumbers.Add("6479","6479");
2627 lstNumbers.Add("892","892");
2628 lstNumbers.Add("7236","7236");
2629 lstNumbers.Add("5833","5833");
2630 lstNumbers.Add("996","996");
2631 lstNumbers.Add("5469","5469");
2632 lstNumbers.Add("6959","6959");
2633
2634 if(lstNumbers.ContainsKey(productID))
2635 {
2636
2637
2638 #line default
2639 #line hidden
2640 WriteLiteralTo(__razor_helper_writer, " ");
2641
2642 WriteLiteralTo(__razor_helper_writer, "\r\n <br/>\r\n ");
2643
2644 WriteLiteralTo(__razor_helper_writer, "\r\n");
2645
2646
2647 #line 1745 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2648
2649
2650 #line default
2651 #line hidden
2652
2653 #line 1745 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2654 WriteTo(__razor_helper_writer, Translate("ActivationBundle","This product is included in our Activation Bundles. <a href=\"/activation_bundles\" title=\"Activation Bundles\">Learn more...</a>"));
2655
2656
2657 #line default
2658 #line hidden
2659
2660 #line 1745 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2661
2662 }
2663
2664 }
2665
2666
2667 #line default
2668 #line hidden
2669 });
2670
2671 #line 1749 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2672 }
2673 #line default
2674 #line hidden
2675
2676
2677 #line 1751 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2678 public RazorEngine.Templating.TemplateWriter CalculateFooterDisclaimer(string footerDisclaimer, string regulatoryStatus, string format)
2679 {
2680 #line default
2681 #line hidden
2682 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
2683
2684 #line 1752 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2685
2686
2687 var licenceLink = LocalizeLinksHTML("/dwcountry/ordering#license");
2688 var termsLink = LocalizeLinksHTML("/dwcountry/terms");
2689
2690 var customFooterDisclaimer = footerDisclaimer + "<p> </p>";
2691
2692 var ASRDisclaimer = "<p>Analyte Specific Reagent. Analytical and performance characteristics are not established.</p><p> </p><p>This product is supplied subject to the terms and conditions, including the limited license, located at <a href=\"/dwcountry/terms\">www.biolegend.com/terms</a> (\"Terms\") and may be used only as provided in the Terms. Without limiting the foregoing, BioLegend products may not be used for any Commercial Purpose as defined in the Terms, resold in any form, used in manufacturing, or reverse engineered, sequenced, or otherwise studied or used to learn its design or composition without express written approval of BioLegend. Regardless of the information given in this document, user is solely responsible for determining any license requirements necessary for user’s intended use and assumes all risk and liability arising from use of the product. BioLegend is not responsible for patent infringement or any other risks or liabilities whatsoever resulting from the use of its products.</p><p> </p><p>BioLegend, the BioLegend logo, and all other trademarks are property of BioLegend, Inc. or their respective owners, and all rights are reserved.</p><p> </p>";
2693
2694 var IVDDisclaimer = "<p>For In Vitro Diagnostic Use. Not for therapeutic use.</p><p> </p><p>This product is supplied subject to the terms and conditions, including the limited license, located at <a href=\"/dwcountry/terms\">www.biolegend.com/terms</a> (\"Terms\") and may be used only as provided in the Terms. Without limiting the foregoing, BioLegend products may not be used for any Commercial Purpose as defined in the Terms, resold in any form, used in manufacturing, or reverse engineered, sequenced, or otherwise studied or used to learn its design or composition without express written approval of BioLegend. Regardless of the information given in this document, user is solely responsible for determining any license requirements necessary for user’s intended use and assumes all risk and liability arising from use of the product. BioLegend is not responsible for patent infringement or any other risks or liabilities whatsoever resulting from the use of its products.</p><p> </p><p>BioLegend, the BioLegend logo, and all other trademarks are property of BioLegend, Inc. or their respective owners, and all rights are reserved.</p><p> </p>";
2695
2696 var GMPRUODisclaimer = "<p>For Research Use Only. Suitable for <em>ex vivo</em> cell processing. Not for injection or diagnostic or therapeutic use. </p><p> </p><p>This product is supplied subject to the terms and conditions, including the limited license, located at <a href=\"/dwcountry/terms\">www.biolegend.com/terms</a> (\"Terms\") and may be used only as provided in the Terms. Without limiting the foregoing, BioLegend products may not be used for any Commercial Purpose as defined in the Terms, resold in any form, used in manufacturing, or reverse engineered, sequenced, or otherwise studied or used to learn its design or composition without express written approval of BioLegend. Regardless of the information given in this document, user is solely responsible for determining any license requirements necessary for user’s intended use and assumes all risk and liability arising from use of the product. BioLegend is not responsible for patent infringement or any other risks or liabilities whatsoever resulting from the use of its products. </p><p> </p><p>BioLegend, the BioLegend logo, and all other trademarks are property of BioLegend, Inc. or their respective owners, and all rights are reserved.</p><p> </p>";
2697
2698 var RUODisclaimer = "<p>For Research Use Only. Not for diagnostic or therapeutic use.</p><p> </p><p>This product is supplied subject to the terms and conditions, including the limited license, located at <a href=\"/dwcountry/terms\">www.biolegend.com/terms</a>) (\"Terms\") and may be used only as provided in the Terms. Without limiting the foregoing, BioLegend products may not be used for any Commercial Purpose as defined in the Terms, resold in any form, used in manufacturing, or reverse engineered, sequenced, or otherwise studied or used to learn its design or composition without express written approval of BioLegend. Regardless of the information given in this document, user is solely responsible for determining any license requirements necessary for user’s intended use and assumes all risk and liability arising from use of the product. BioLegend is not responsible for patent infringement or any other risks or liabilities whatsoever resulting from the use of its products.</p><p> </p><p>BioLegend, the BioLegend logo, and all other trademarks are property of BioLegend, Inc. or their respective owners, and all rights are reserved.</p><p> </p>";
2699
2700 if ( !String.IsNullOrEmpty(footerDisclaimer) && footerDisclaimer != "" )
2701 {
2702
2703
2704 #line default
2705 #line hidden
2706
2707 #line 1769 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2708 WriteTo(__razor_helper_writer, customFooterDisclaimer);
2709
2710
2711 #line default
2712 #line hidden
2713
2714 #line 1769 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2715
2716 }
2717 else if( regulatoryStatus.Equals("ASR") )
2718 {
2719
2720
2721 #line default
2722 #line hidden
2723
2724 #line 1773 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2725 WriteTo(__razor_helper_writer, LocalizeLinksHTML(ASRDisclaimer));
2726
2727
2728 #line default
2729 #line hidden
2730
2731 #line 1773 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2732
2733 }
2734 else if( regulatoryStatus.Equals("IVD") ){
2735
2736
2737 #line default
2738 #line hidden
2739
2740 #line 1776 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2741 WriteTo(__razor_helper_writer, LocalizeLinksHTML(IVDDisclaimer));
2742
2743
2744 #line default
2745 #line hidden
2746
2747 #line 1776 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2748
2749 }
2750 else if ( regulatoryStatus.Equals("GMP-RUO") )
2751 {
2752
2753
2754 #line default
2755 #line hidden
2756
2757 #line 1780 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2758 WriteTo(__razor_helper_writer, LocalizeLinksHTML(GMPRUODisclaimer));
2759
2760
2761 #line default
2762 #line hidden
2763
2764 #line 1780 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2765
2766 }
2767 else{
2768
2769
2770 #line default
2771 #line hidden
2772
2773 #line 1783 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2774 WriteTo(__razor_helper_writer, LocalizeLinksHTML(RUODisclaimer));
2775
2776
2777 #line default
2778 #line hidden
2779
2780 #line 1783 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2781
2782 }
2783
2784
2785 #line default
2786 #line hidden
2787 });
2788
2789 #line 1785 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2790 }
2791 #line default
2792 #line hidden
2793
2794
2795 #line 1787 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2796 public RazorEngine.Templating.TemplateWriter CalculateCloneString(string clone, string otherFormats, bool asrCheck, string searchID, bool isPdf = false)
2797 {
2798 #line default
2799 #line hidden
2800 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
2801
2802 #line 1788 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2803
2804 if (!string.IsNullOrEmpty(clone))
2805 {
2806
2807
2808 #line default
2809 #line hidden
2810 WriteLiteralTo(__razor_helper_writer, " ");
2811
2812 WriteLiteralTo(__razor_helper_writer, "\r\n <dt");
2813
2814 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-4 col-sm-3 noPaddingLeft\"");
2815
2816 WriteLiteralTo(__razor_helper_writer, ">\r\n");
2817
2818 WriteLiteralTo(__razor_helper_writer, " ");
2819
2820
2821 #line 1793 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2822 WriteTo(__razor_helper_writer, GetString("Ecom:Product:Field.Clone.Name"));
2823
2824
2825 #line default
2826 #line hidden
2827 WriteLiteralTo(__razor_helper_writer, "\r\n </dt>\r\n ");
2828
2829 WriteLiteralTo(__razor_helper_writer, "\r\n");
2830
2831
2832 #line 1796 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2833 if (asrCheck)
2834 {
2835
2836
2837 #line default
2838 #line hidden
2839 WriteLiteralTo(__razor_helper_writer, " <dd>");
2840
2841
2842 #line 1798 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2843 WriteTo(__razor_helper_writer, clone);
2844
2845
2846 #line default
2847 #line hidden
2848 WriteLiteralTo(__razor_helper_writer, "</dd>\r\n");
2849
2850
2851 #line 1799 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2852 }
2853 else
2854 {
2855 if (clone.Contains(";"))
2856 {
2857 if (isPdf)
2858 {
2859
2860
2861 #line default
2862 #line hidden
2863 WriteLiteralTo(__razor_helper_writer, " <dd>");
2864
2865
2866 #line 1806 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2867 WriteTo(__razor_helper_writer, clone);
2868
2869
2870 #line default
2871 #line hidden
2872 WriteLiteralTo(__razor_helper_writer, "</dd>\r\n");
2873
2874
2875 #line 1807 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2876 }
2877 else{
2878 string[] clones = (clone).Replace(" ", "").Split(';');
2879
2880
2881 #line default
2882 #line hidden
2883 WriteLiteralTo(__razor_helper_writer, " <dd>\r\n");
2884
2885
2886 #line 1811 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2887
2888
2889 #line default
2890 #line hidden
2891
2892 #line 1811 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2893 foreach (var x in clones)
2894 {
2895 string cloneHTML = System.Web.HttpUtility.HtmlDecode(x);
2896 string cloneTag = "; ";
2897 if (!isPdf)
2898 {
2899
2900
2901 #line default
2902 #line hidden
2903 WriteLiteralTo(__razor_helper_writer, " <a");
2904
2905 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 64231), Tuple.Create("\"", 64285)
2906 , Tuple.Create(Tuple.Create("", 64238), Tuple.Create("/Default.aspx?ID=", 64238), true)
2907
2908 #line 1817 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2909 , Tuple.Create(Tuple.Create("", 64255), Tuple.Create<System.Object, System.Int32>(searchID
2910
2911 #line default
2912 #line hidden
2913 , 64255), false)
2914 , Tuple.Create(Tuple.Create("", 64264), Tuple.Create("&Clone=", 64264), true)
2915
2916 #line 1817 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2917 , Tuple.Create(Tuple.Create("", 64275), Tuple.Create<System.Object, System.Int32>(cloneHTML
2918
2919 #line default
2920 #line hidden
2921 , 64275), false)
2922 );
2923
2924 WriteLiteralTo(__razor_helper_writer, ">");
2925
2926
2927 #line 1817 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2928 WriteTo(__razor_helper_writer, x);
2929
2930
2931 #line default
2932 #line hidden
2933 WriteLiteralTo(__razor_helper_writer, "</a>");
2934
2935
2936 #line 1817 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2937
2938
2939 #line default
2940 #line hidden
2941
2942 #line 1817 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2943 WriteTo(__razor_helper_writer, cloneTag);
2944
2945
2946 #line default
2947 #line hidden
2948
2949 #line 1817 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2950
2951 }
2952
2953 }
2954
2955 #line default
2956 #line hidden
2957 WriteLiteralTo(__razor_helper_writer, "\r\n </dd>\r\n");
2958
2959
2960 #line 1822 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2961 }
2962 }
2963 else
2964 {
2965 if (isPdf)
2966 {
2967
2968
2969 #line default
2970 #line hidden
2971 WriteLiteralTo(__razor_helper_writer, " <dd>");
2972
2973
2974 #line 1828 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2975 WriteTo(__razor_helper_writer, clone);
2976
2977
2978 #line default
2979 #line hidden
2980 WriteLiteralTo(__razor_helper_writer, "</dd>\r\n");
2981
2982
2983 #line 1829 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2984 }
2985 else
2986 {
2987
2988
2989 #line default
2990 #line hidden
2991 WriteLiteralTo(__razor_helper_writer, " <dd><a");
2992
2993 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 64640), Tuple.Create("\"", 64727)
2994 , Tuple.Create(Tuple.Create("", 64647), Tuple.Create("/Default.aspx?ID=", 64647), true)
2995
2996 #line 1832 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
2997 , Tuple.Create(Tuple.Create("", 64664), Tuple.Create<System.Object, System.Int32>(searchID
2998
2999 #line default
3000 #line hidden
3001 , 64664), false)
3002 , Tuple.Create(Tuple.Create("", 64673), Tuple.Create("&Clone=", 64673), true)
3003
3004 #line 1832 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3005 , Tuple.Create(Tuple.Create("", 64684), Tuple.Create<System.Object, System.Int32>(System.Web.HttpUtility.HtmlDecode(clone)
3006
3007 #line default
3008 #line hidden
3009 , 64684), false)
3010 );
3011
3012 WriteLiteralTo(__razor_helper_writer, ">");
3013
3014
3015 #line 1832 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3016 WriteTo(__razor_helper_writer, clone);
3017
3018
3019 #line default
3020 #line hidden
3021 WriteLiteralTo(__razor_helper_writer, "</a> (<a");
3022
3023 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 64743), Tuple.Create("\"", 64763)
3024
3025 #line 1832 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3026 , Tuple.Create(Tuple.Create("", 64750), Tuple.Create<System.Object, System.Int32>(otherFormats
3027
3028 #line default
3029 #line hidden
3030 , 64750), false)
3031 );
3032
3033 WriteLiteralTo(__razor_helper_writer, ">");
3034
3035
3036 #line 1832 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3037 WriteTo(__razor_helper_writer, Translate("SeeOtherAvailableFormats", "See other available formats"));
3038
3039
3040 #line default
3041 #line hidden
3042 WriteLiteralTo(__razor_helper_writer, "</a>)</dd>\r\n");
3043
3044
3045 #line 1833 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3046 }
3047 }
3048 }
3049 }
3050
3051
3052 #line default
3053 #line hidden
3054 });
3055
3056 #line 1837 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3057 }
3058 #line default
3059 #line hidden
3060
3061
3062 #line 1839 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3063 public RazorEngine.Templating.TemplateWriter AddShelfLifeException(string productField, string productID = "")
3064 {
3065 #line default
3066 #line hidden
3067 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
3068
3069 #line 1840 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3070
3071 if(productField.Equals("Storage") && !string.IsNullOrWhiteSpace(productID))
3072 {
3073 Dictionary<string, string> lstNumbersUse = new Dictionary<string, string>();
3074 lstNumbersUse.Add("1395","1395");
3075 lstNumbersUse.Add("1396","1396");
3076 lstNumbersUse.Add("1474","1474");
3077 lstNumbersUse.Add("2264","2264");
3078 lstNumbersUse.Add("2507","2507");
3079
3080 Dictionary<string, string> lstNumbers = new Dictionary<string, string>();
3081 lstNumbers.Add("2508","2508");
3082 lstNumbers.Add("2915","2915");
3083 lstNumbers.Add("2939","2939");
3084 lstNumbers.Add("2988","2988");
3085 lstNumbers.Add("2989","2989");
3086 lstNumbers.Add("3071","3071");
3087 lstNumbers.Add("3177","3177");
3088 lstNumbers.Add("3180","3180");
3089 lstNumbers.Add("3194","3194");
3090 lstNumbers.Add("3195","3195");
3091 lstNumbers.Add("3843","3843");
3092 lstNumbers.Add("4347","4347");
3093 lstNumbers.Add("4664","4664");
3094 lstNumbers.Add("5654","5654");
3095 lstNumbers.Add("5660","5660");
3096 lstNumbers.Add("6373","6373");
3097 lstNumbers.Add("6398","6398");
3098 lstNumbers.Add("6646","6646");
3099 lstNumbers.Add("8053","8053");
3100 lstNumbers.Add("8135","8135");
3101 lstNumbers.Add("9539","9539");
3102
3103 if(lstNumbersUse.ContainsKey(productID))
3104 {
3105
3106
3107 #line default
3108 #line hidden
3109 WriteLiteralTo(__razor_helper_writer, " ");
3110
3111 WriteLiteralTo(__razor_helper_writer, "\r\n <br/>\r\n <br/>\r\n ");
3112
3113 WriteLiteralTo(__razor_helper_writer, "\r\n");
3114
3115
3116 #line 1879 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3117
3118
3119 #line default
3120 #line hidden
3121
3122 #line 1879 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3123 WriteTo(__razor_helper_writer, Translate("LookUpConcentrationLookUpStorage","This product has a shelf-life of 12 months or less. Please use our <a href=\"/concentrationlookup\" target=\"_blank\">Expiration Lookup Tool</a> to verify the expiration date of your lot of product"));
3124
3125
3126 #line default
3127 #line hidden
3128
3129 #line 1879 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3130
3131 }else if(lstNumbers.ContainsKey(productID))
3132 {
3133
3134
3135 #line default
3136 #line hidden
3137 WriteLiteralTo(__razor_helper_writer, " ");
3138
3139 WriteLiteralTo(__razor_helper_writer, "\r\n <br/>\r\n <br/>\r\n ");
3140
3141 WriteLiteralTo(__razor_helper_writer, "\r\n");
3142
3143
3144 #line 1886 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3145
3146
3147 #line default
3148 #line hidden
3149
3150 #line 1886 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3151 WriteTo(__razor_helper_writer, Translate("LookUpConcentrationLookUpStorageContact","This product has a shelf-life of 12 months or less. Please contact our <a href=\"/contact_technical_service\" target=\"_blank\">technical support</a> team for lot specific CoA and expiration date inquiries of this product."));
3152
3153
3154 #line default
3155 #line hidden
3156
3157 #line 1886 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3158
3159 }
3160
3161 }
3162
3163
3164 #line default
3165 #line hidden
3166 });
3167
3168 #line 1890 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3169 }
3170 #line default
3171 #line hidden
3172
3173
3174 #line 1892 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3175 public RazorEngine.Templating.TemplateWriter RenderTDS(bool htmlStructType, string dataSheetFile, string dataSheet, string printPage, string productType = "", string productID = "", string productName = "", string regulatoryStatus = "", string techSupportPage = "", string translateTechnicalSupport = "", string appAbbreviation = "", string pdfUrl = "", string productUpdated = "")
3176 {
3177 #line default
3178 #line hidden
3179 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
3180
3181 #line 1893 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3182
3183 TDS techinicalDataSheet = new TDS(dataSheetFile, dataSheet, printPage, productType, productID, productName, regulatoryStatus, techSupportPage, translateTechnicalSupport, Translate("ViewCurrentManual", "View Current Manual (pdf)"), Translate("InstructionsForUseA", "Instructions for Use - English (PDF)"), Translate("TechnicalDataSheet", "Technical Data Sheet (pdf)"), Translate("InstrumentSoftwareManual", "Instrument and Software Manual"), appAbbreviation, pdfUrl);
3184
3185 var cdnPdfDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("DynamicallyCreated_PDFFiles", "DynamicallyCreated_PDF_Files_Domain"); //CUSTOM CODE
3186 var cdnStaticDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("Static_Content", "Static_Content_Domain"); // CUSTOM CODE
3187 var pdfCdn = techinicalDataSheet.link.EndsWith(".pdf") ? cdnStaticDomain : cdnPdfDomain;
3188 var version = (techinicalDataSheet.link.Contains("?") ? "&v=" : "?v=") + productUpdated;
3189
3190 if (htmlStructType)
3191 {
3192 // Is for the product link
3193
3194
3195 #line default
3196 #line hidden
3197 WriteLiteralTo(__razor_helper_writer, " <a ");
3198
3199
3200 #line 1904 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3201 WriteTo(__razor_helper_writer, techinicalDataSheet.target);
3202
3203
3204 #line default
3205 #line hidden
3206 WriteLiteralTo(__razor_helper_writer, " data-regulatory=\"");
3207
3208
3209 #line 1904 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3210 WriteTo(__razor_helper_writer, regulatoryStatus);
3211
3212
3213 #line default
3214 #line hidden
3215 WriteLiteralTo(__razor_helper_writer, "\" data-datasheet=\"");
3216
3217
3218 #line 1904 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3219 WriteTo(__razor_helper_writer, dataSheet);
3220
3221
3222 #line default
3223 #line hidden
3224 WriteLiteralTo(__razor_helper_writer, "\" data-datasheetFile=\"");
3225
3226
3227 #line 1904 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3228 WriteTo(__razor_helper_writer, dataSheetFile);
3229
3230
3231 #line default
3232 #line hidden
3233 WriteLiteralTo(__razor_helper_writer, "\" href=\"");
3234
3235
3236 #line 1904 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3237 WriteTo(__razor_helper_writer, pdfCdn);
3238
3239
3240 #line default
3241 #line hidden
3242
3243 #line 1904 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3244 WriteTo(__razor_helper_writer, techinicalDataSheet.link);
3245
3246
3247 #line default
3248 #line hidden
3249
3250 #line 1904 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3251 WriteTo(__razor_helper_writer, version);
3252
3253
3254 #line default
3255 #line hidden
3256 WriteLiteralTo(__razor_helper_writer, "\" class=\"btn btn-default techincalDataSheet\">\r\n <i");
3257
3258 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-file-pdf-o\"");
3259
3260 WriteLiteralTo(__razor_helper_writer, "></i> ");
3261
3262
3263 #line 1905 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3264 WriteTo(__razor_helper_writer, techinicalDataSheet.text);
3265
3266
3267 #line default
3268 #line hidden
3269 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n");
3270
3271
3272 #line 1907 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3273 }
3274 else
3275 {
3276 // Is for the product navigation
3277
3278
3279 #line default
3280 #line hidden
3281 WriteLiteralTo(__razor_helper_writer, " <a ");
3282
3283
3284 #line 1911 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3285 WriteTo(__razor_helper_writer, techinicalDataSheet.target);
3286
3287
3288 #line default
3289 #line hidden
3290 WriteLiteralTo(__razor_helper_writer, " data-regulatory=\"");
3291
3292
3293 #line 1911 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3294 WriteTo(__razor_helper_writer, regulatoryStatus);
3295
3296
3297 #line default
3298 #line hidden
3299 WriteLiteralTo(__razor_helper_writer, "\" data-datasheet=\"");
3300
3301
3302 #line 1911 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3303 WriteTo(__razor_helper_writer, dataSheet);
3304
3305
3306 #line default
3307 #line hidden
3308 WriteLiteralTo(__razor_helper_writer, "\" data-datasheetFile=\"");
3309
3310
3311 #line 1911 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3312 WriteTo(__razor_helper_writer, dataSheetFile);
3313
3314
3315 #line default
3316 #line hidden
3317 WriteLiteralTo(__razor_helper_writer, "\" href=\"");
3318
3319
3320 #line 1911 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3321 WriteTo(__razor_helper_writer, pdfCdn);
3322
3323
3324 #line default
3325 #line hidden
3326
3327 #line 1911 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3328 WriteTo(__razor_helper_writer, techinicalDataSheet.link);
3329
3330
3331 #line default
3332 #line hidden
3333
3334 #line 1911 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3335 WriteTo(__razor_helper_writer, version);
3336
3337
3338 #line default
3339 #line hidden
3340 WriteLiteralTo(__razor_helper_writer, "\">\r\n <i");
3341
3342 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-file-pdf-o\"");
3343
3344 WriteLiteralTo(__razor_helper_writer, "></i>");
3345
3346
3347 #line 1912 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3348 WriteTo(__razor_helper_writer, techinicalDataSheet.text);
3349
3350
3351 #line default
3352 #line hidden
3353 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n");
3354
3355
3356 #line 1914 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3357 }
3358
3359
3360 #line default
3361 #line hidden
3362 });
3363
3364 #line 1915 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3365 }
3366 #line default
3367 #line hidden
3368
3369
3370 #line 1919 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3371 public RazorEngine.Templating.TemplateWriter RenderTDSForPreview(bool htmlStructType, string dataSheetFile, string dataSheet, string productID = "", string productName = "", string regulatoryStatus = "", string pdfUrl = "", string productUpdated = "")
3372 {
3373 #line default
3374 #line hidden
3375 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
3376
3377 #line 1920 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3378
3379 previewTDS techinicalDataSheet = new previewTDS(productID, productName, Translate("TechnicalDataSheet", "Technical Data Sheet (pdf)"), pdfUrl);
3380
3381 //NOTE - Customer requested for Cdn not to be applied here
3382 var version = (techinicalDataSheet.link.Contains("?") ? "&v=" : "?v=") + productUpdated;
3383
3384 if (htmlStructType)
3385 {
3386 // Is for the product link
3387
3388
3389 #line default
3390 #line hidden
3391 WriteLiteralTo(__razor_helper_writer, " <a");
3392
3393 WriteLiteralTo(__razor_helper_writer, " target=\"_blank\"");
3394
3395 WriteLiteralTo(__razor_helper_writer, " data-regulatory=\"");
3396
3397
3398 #line 1929 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3399 WriteTo(__razor_helper_writer, regulatoryStatus);
3400
3401
3402 #line default
3403 #line hidden
3404 WriteLiteralTo(__razor_helper_writer, "\"");
3405
3406 WriteLiteralTo(__razor_helper_writer, " data-datasheet=\"");
3407
3408
3409 #line 1929 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3410 WriteTo(__razor_helper_writer, dataSheet);
3411
3412
3413 #line default
3414 #line hidden
3415 WriteLiteralTo(__razor_helper_writer, "\"");
3416
3417 WriteLiteralTo(__razor_helper_writer, " data-datasheetFile=\"");
3418
3419
3420 #line 1929 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3421 WriteTo(__razor_helper_writer, dataSheetFile);
3422
3423
3424 #line default
3425 #line hidden
3426 WriteLiteralTo(__razor_helper_writer, "\"");
3427
3428 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 69670), Tuple.Create("\"", 69710)
3429
3430 #line 1929 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3431 , Tuple.Create(Tuple.Create("", 69677), Tuple.Create<System.Object, System.Int32>(techinicalDataSheet.link
3432
3433 #line default
3434 #line hidden
3435 , 69677), false)
3436
3437 #line 1929 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3438 , Tuple.Create(Tuple.Create("", 69702), Tuple.Create<System.Object, System.Int32>(version
3439
3440 #line default
3441 #line hidden
3442 , 69702), false)
3443 );
3444
3445 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-default techincalDataSheet\"");
3446
3447 WriteLiteralTo(__razor_helper_writer, ">\r\n <i");
3448
3449 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-file-pdf-o\"");
3450
3451 WriteLiteralTo(__razor_helper_writer, "></i> ");
3452
3453
3454 #line 1930 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3455 WriteTo(__razor_helper_writer, techinicalDataSheet.text);
3456
3457
3458 #line default
3459 #line hidden
3460 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n");
3461
3462
3463 #line 1932 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3464 }
3465 else
3466 {
3467 // Is for the product navigation
3468
3469
3470 #line default
3471 #line hidden
3472 WriteLiteralTo(__razor_helper_writer, " <a");
3473
3474 WriteLiteralTo(__razor_helper_writer, " target=\"_blank\"");
3475
3476 WriteLiteralTo(__razor_helper_writer, " data-regulatory=\"");
3477
3478
3479 #line 1936 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3480 WriteTo(__razor_helper_writer, regulatoryStatus);
3481
3482
3483 #line default
3484 #line hidden
3485 WriteLiteralTo(__razor_helper_writer, "\"");
3486
3487 WriteLiteralTo(__razor_helper_writer, " data-datasheet=\"");
3488
3489
3490 #line 1936 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3491 WriteTo(__razor_helper_writer, dataSheet);
3492
3493
3494 #line default
3495 #line hidden
3496 WriteLiteralTo(__razor_helper_writer, "\"");
3497
3498 WriteLiteralTo(__razor_helper_writer, " data-datasheetFile=\"");
3499
3500
3501 #line 1936 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3502 WriteTo(__razor_helper_writer, dataSheetFile);
3503
3504
3505 #line default
3506 #line hidden
3507 WriteLiteralTo(__razor_helper_writer, "\"");
3508
3509 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 70011), Tuple.Create("\"", 70051)
3510
3511 #line 1936 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3512 , Tuple.Create(Tuple.Create("", 70018), Tuple.Create<System.Object, System.Int32>(techinicalDataSheet.link
3513
3514 #line default
3515 #line hidden
3516 , 70018), false)
3517
3518 #line 1936 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3519 , Tuple.Create(Tuple.Create("", 70043), Tuple.Create<System.Object, System.Int32>(version
3520
3521 #line default
3522 #line hidden
3523 , 70043), false)
3524 );
3525
3526 WriteLiteralTo(__razor_helper_writer, ">\r\n <i");
3527
3528 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-file-pdf-o\"");
3529
3530 WriteLiteralTo(__razor_helper_writer, "></i>");
3531
3532
3533 #line 1937 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3534 WriteTo(__razor_helper_writer, techinicalDataSheet.text);
3535
3536
3537 #line default
3538 #line hidden
3539 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n");
3540
3541
3542 #line 1939 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3543 }
3544
3545
3546 #line default
3547 #line hidden
3548 });
3549
3550 #line 1940 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3551 }
3552 #line default
3553 #line hidden
3554
3555
3556 #line 1942 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3557 public RazorEngine.Templating.TemplateWriter RenderInternationalGMPQualityStatement(string country = "", string regStatus = "", string format = "")
3558 {
3559 #line default
3560 #line hidden
3561 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
3562
3563 #line 1943 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3564
3565 bool b = false;
3566 if ( format.Equals("GMP_APC") || format.Equals("GMP_APC_F750") || format.Equals("GMP_FITC") || format.Equals("GMP_PB") || format.Equals("GMP_PE") || format.Equals("GMP_PE_CYANINE5") || format.Equals("GMP_PE_CYANINE7") || format.Equals("GMP_PE_DZL594") || format.Equals("GMP_PERCP") || format.Equals("GMP_PERCP_CYANINE5.5") || format.Equals("GMP_A488") || format.Equals("GMP_A647") || format.Equals("GMP_A700") || format.Equals("GMP_APC_CYANINE7") || format.Equals("GMP_SPKVL_423") || format.Equals("GMP_SPKVL_538") ){
3567 b = true;
3568 }
3569 if(!country.Equals("en-US") && !country.Equals("ja-JP") && regStatus.Equals("GMP-RUO") && b){
3570
3571
3572 #line default
3573 #line hidden
3574 WriteLiteralTo(__razor_helper_writer, " <div");
3575
3576 WriteLiteralTo(__razor_helper_writer, " class=\"introDescription col-xs-12 noPaddingLeft\"");
3577
3578 WriteLiteralTo(__razor_helper_writer, ">\r\n <span");
3579
3580 WriteLiteralTo(__razor_helper_writer, " class=\"title\"");
3581
3582 WriteLiteralTo(__razor_helper_writer, @">Quality Statement</span>
3583 This BioLegend’s GMP-RUO reagent is a fluorochrome-labeled monoclonal antibody single reagent for Research Use Only. Suitable for use in laboratory-developed multicolor flow cytometry tests. Single GMP-RUO products can be used in various multicolor flow cytometry combinations. Laboratory need to establish the GMP-RUO performance characteristics in combination with other reagents in normal and pathological samples.
3584 </div>
3585 ");
3586
3587
3588 #line 1953 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3589 }
3590
3591
3592
3593
3594 #line default
3595 #line hidden
3596 });
3597
3598 #line 1956 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3599 }
3600 #line default
3601 #line hidden
3602
3603
3604 #line 1958 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3605
3606
3607 public static string StripSpecialCharacters(string input)
3608 {
3609 return System.Text.RegularExpressions.Regex.Replace(input, "[^0-9a-zA-Z -]+", "");
3610 }
3611
3612 public class TDS
3613 {
3614 public TDS()
3615 {
3616
3617 }
3618
3619 public string link { get; set; }
3620 public string text { get; set; }
3621 public string target { get; set; }
3622
3623 public TDS(string dataSheetFile, string dataSheet, string printPage, string productType = "", string productID = "", string productName = "", string regulatoryStatus = "", string techSupportPage = "", string translateTechnicalSupport = "", string viewCurrentManual = "", string instructionsForUse = "", string technicalDataSheet = "", string instrumentSoftwareManual = "", string appAbbreviation = "", string pdfUrl = "")
3624 {
3625 var linkPrint = pdfUrl + "&ProductID=" + productID + "&leftRightMargin=15&topBottomMargin=15&filename=" + productName + ".pdf";
3626 var translate = "";
3627 var block = "";
3628 var urlTarget = "target=\"_blank\"";
3629
3630 var p = Dynamicweb.Ecommerce.Services.Products.GetProductById(productID, "", true);
3631
3632 if (!string.IsNullOrWhiteSpace(dataSheet) && !dataSheet.Equals("Standard") && !dataSheet.Equals("Recombinant"))
3633 {
3634 linkPrint = dataSheetFile;
3635 block = "1";
3636 }
3637
3638 if (productType.Equals("ELISA") || productID.Equals("10801"))
3639 {
3640 linkPrint = dataSheetFile;
3641 block = "2";
3642 }
3643
3644 if (productType.Equals("LEGENDplex") && !productName.Contains("Buffer") && !productName.Contains("Carboxyl") && !productName.Contains("SA-PE") && !productID.Equals("12677") && !productID.Equals("12678") && appAbbreviation.Contains("Multiplex - Panel"))
3645 {
3646 linkPrint = dataSheetFile;
3647 translate = viewCurrentManual;
3648 block = "3";
3649 }
3650 else if (regulatoryStatus.Equals("IVD"))
3651 {
3652 if (dataSheet.Equals("Standard") || dataSheet.Equals("Recombinant") || (dataSheet.Equals("Custom") && string.IsNullOrWhiteSpace(dataSheetFile)) || string.IsNullOrWhiteSpace(dataSheet))
3653 {
3654 linkPrint = string.Format("javascript:confirmRedirection('{0}','{1}')", HttpUtility.JavaScriptStringEncode(translateTechnicalSupport), techSupportPage);
3655 urlTarget = string.Empty;
3656 block = "4";
3657 }
3658 else
3659 {
3660 linkPrint = dataSheetFile;
3661 block = "5";
3662 }
3663
3664 translate = instructionsForUse;
3665 block = "6";
3666 }
3667 //ASR PDF Datasheet Override
3668 else if (regulatoryStatus.Equals("ASR"))
3669 {
3670 if (dataSheet.Equals("Standard") || dataSheet.Equals("Recombinant") || (dataSheet.Equals("Custom") && string.IsNullOrWhiteSpace(dataSheetFile)) || string.IsNullOrWhiteSpace(dataSheet))
3671 {
3672 linkPrint = string.Format("javascript:confirmRedirection('{0}','{1}')", HttpUtility.JavaScriptStringEncode(translateTechnicalSupport), techSupportPage);
3673 urlTarget = string.Empty;
3674 block = "7";
3675 }
3676 else
3677 {
3678 linkPrint = dataSheetFile;
3679 block = "8";
3680 }
3681
3682 translate = technicalDataSheet;
3683 block = "9";
3684 }
3685 else if (!string.IsNullOrWhiteSpace(dataSheetFile))
3686 {
3687 linkPrint = dataSheetFile;
3688 translate = technicalDataSheet;
3689 block = "10";
3690 }
3691 else
3692 {
3693 linkPrint = pdfUrl + "&ProductID=" + productID + "&leftRightMargin=15&topBottomMargin=15&filename=" + productName + ".pdf";
3694 translate = technicalDataSheet;
3695 block = "11";
3696 }
3697
3698 link = linkPrint;
3699 text = translate;
3700 target = urlTarget;
3701 }
3702 }
3703
3704 public class previewTDS
3705 {
3706 public previewTDS()
3707 {
3708
3709 }
3710
3711 public string link { get; set; }
3712 public string text { get; set; }
3713
3714 public previewTDS(string productID = "", string productName = "", string technicalDataSheet = "", string pdfUrl = "")
3715 {
3716 var linkPrint = pdfUrl + "&ProductID=" + productID + "&leftRightMargin=15&topBottomMargin=15&filename=" + productName + ".pdf";
3717 var translate = technicalDataSheet;
3718
3719 link = linkPrint;
3720 text = translate;
3721 }
3722 }
3723
3724
3725 #line default
3726 #line hidden
3727
3728
3729 #line 2079 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3730
3731 public static string GetImage(string str_source, int num_width, int num_height, int num_widthTablet = 0, int num_heightTablet = 0, int num_widthMobile = 0, int num_heightMobile = 0, string str_format = "jpg", int num_compression = 75, int num_crop = 5)
3732 {
3733 Dynamicweb.Frontend.PageView obj_currentPageview = Dynamicweb.Frontend.PageView.Current();
3734 string str_currDevice = obj_currentPageview.Device.ToString();
3735 string str_alternativeImage = obj_currentPageview.Area.Item["NoImage"] != null ? obj_currentPageview.Area.Item["NoImage"].ToString() : "/Files/Templates/Designs/Lorenz/images/alternativeImage.jpg";
3736
3737 string str_width = "";
3738 string str_height = "";
3739 int num_getImageWidth = num_width != 0 ? num_width : 0;
3740 int num_getImageHeight = num_height != 0 ? num_height : 0;
3741 string str_getImageFormat = str_format != "jpg" ? "&Format=" + str_format : "";
3742 string str_getImageCompression = num_compression != 75 ? "&Compression=" + num_compression : "";
3743
3744 var cdnImageHandleDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("Image_Handler", "Image_Handler_Domain"); //CUSTOM CODE
3745
3746 if (str_currDevice == Dynamicweb.Frontend.Devices.DeviceType.Tablet.ToString())
3747 {
3748 num_getImageWidth = num_widthTablet != 0 ? num_widthTablet : num_getImageWidth;
3749 num_getImageHeight = num_heightTablet != 0 ? num_heightTablet : num_getImageHeight;
3750 }
3751 else if (str_currDevice == Dynamicweb.Frontend.Devices.DeviceType.Mobile.ToString())
3752 {
3753 num_getImageWidth = num_widthMobile != 0 ? num_widthMobile : num_getImageWidth;
3754 num_getImageHeight = num_heightMobile != 0 ? num_heightMobile : num_getImageHeight;
3755 }
3756
3757 if (num_getImageWidth != 0)
3758 {
3759 str_width = "&Width=" + num_getImageWidth;
3760 }
3761 if (num_getImageHeight != 0)
3762 {
3763 str_height = "&Height=" + num_getImageHeight;
3764 }
3765
3766 string str_output = cdnImageHandleDomain + "/Admin/Public/GetImage.ashx?Image=" + str_source + str_width + str_height + "&altFmImage_path=" + str_alternativeImage + str_getImageFormat + str_getImageCompression + "&Crop=" + num_crop;
3767 return str_output;
3768 }
3769
3770 #line default
3771 #line hidden
3772
3773
3774 #line 2349 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3775
3776 public string CalculateProductName(string prodName, string prodType, string prodFormat, bool excludeAntibody)
3777 {
3778 string cleanName = prodName;
3779 if(prodType.Equals("PrimaryAntibodies") && !prodName.Contains(" Antibody") && !prodName.Contains("Buffer") && !prodName.Contains("Annexin") && !prodName.Contains("Solution") && !prodName.Contains("Diluent") && !prodName.Contains("Substrate Reagent") && !prodName.Contains("ecombinant") && !prodName.Contains("Panel") && !prodName.Contains("Elisa Max") && !prodName.Contains("Cocktail") && !prodName.Contains("Isotype Control") && !prodName.Contains("Avidin") && !prodName.Contains("Normal Serum Block") && !prodName.Contains("Detection Kit") && !prodName.Contains("Affinity") && !prodName.Contains("ELISA Kit") && !prodName.Contains("Phase-Flow") && !prodName.Contains("Treg Flow") && !prodFormat.Equals("Peptide") && (!excludeAntibody)){
3780 cleanName += " Antibody";
3781 }
3782
3783 if(prodType.Equals("SecondaryReagents") && !prodName.Contains(" Antibody") && !prodName.Contains("Streptavidin") && !prodName.Contains("Avidin") && (!excludeAntibody)){
3784 cleanName += " Antibody";
3785 }
3786
3787 if(prodType.Equals("IsotypeControls") && !prodName.Contains(" Antibody") && !prodName.Contains("Lineage Cocktail") && (!excludeAntibody)){
3788 cleanName += " Antibody";
3789 }
3790
3791 return cleanName;
3792 }
3793
3794 #line default
3795 #line hidden
3796
3797
3798 #line 2945 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3799 public RazorEngine.Templating.TemplateWriter RenderProtocols(List<KeyValuePair<string,string>> productProtocolsResults)
3800 {
3801 #line default
3802 #line hidden
3803 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
3804
3805 #line 2946 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3806
3807
3808
3809 #line default
3810 #line hidden
3811 WriteLiteralTo(__razor_helper_writer, " <div");
3812
3813 WriteLiteralTo(__razor_helper_writer, " id=\"productRelatedProtocols\"");
3814
3815 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12 col-sm-9 noPadding pull-right\"");
3816
3817 WriteLiteralTo(__razor_helper_writer, ">\r\n <h2");
3818
3819 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12 noPadding\"");
3820
3821 WriteLiteralTo(__razor_helper_writer, ">\r\n <a");
3822
3823 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 127148), Tuple.Create("\"", 127217)
3824
3825 #line 2949 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3826 , Tuple.Create(Tuple.Create("", 127155), Tuple.Create<System.Object, System.Int32>(Pageview.SearchFriendlyUrl.ToString()
3827
3828 #line default
3829 #line hidden
3830 , 127155), false)
3831 , Tuple.Create(Tuple.Create("", 127193), Tuple.Create("#productRelatedProtocols", 127193), true)
3832 );
3833
3834 WriteLiteralTo(__razor_helper_writer, " name=\"13\"");
3835
3836 WriteLiteralTo(__razor_helper_writer, ">");
3837
3838
3839 #line 2949 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3840 WriteTo(__razor_helper_writer, Translate("RelatedProtocols", "Related Protocols"));
3841
3842
3843 #line default
3844 #line hidden
3845 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </h2>\r\n\r\n");
3846
3847 WriteLiteralTo(__razor_helper_writer, " ");
3848
3849
3850 #line 2952 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3851 WriteTo(__razor_helper_writer, SnippetStart("navigationAnchors"));
3852
3853
3854 #line default
3855 #line hidden
3856 WriteLiteralTo(__razor_helper_writer, "\r\n <li>\r\n <a");
3857
3858 WriteLiteralTo(__razor_helper_writer, " class=\"anchor_13\"");
3859
3860 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 127375), Tuple.Create("\"", 127444)
3861
3862 #line 2954 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3863 , Tuple.Create(Tuple.Create("", 127382), Tuple.Create<System.Object, System.Int32>(Pageview.SearchFriendlyUrl.ToString()
3864
3865 #line default
3866 #line hidden
3867 , 127382), false)
3868 , Tuple.Create(Tuple.Create("", 127420), Tuple.Create("#productRelatedProtocols", 127420), true)
3869 );
3870
3871 WriteLiteralTo(__razor_helper_writer, ">");
3872
3873
3874 #line 2954 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3875 WriteTo(__razor_helper_writer, Translate("RelatedProtocols", "Related Protocols"));
3876
3877
3878 #line default
3879 #line hidden
3880 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </li>\r\n");
3881
3882 WriteLiteralTo(__razor_helper_writer, " ");
3883
3884
3885 #line 2956 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3886 WriteTo(__razor_helper_writer, SnippetEnd("navigationAnchors"));
3887
3888
3889 #line default
3890 #line hidden
3891 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n <ul");
3892
3893 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12 noPadding\"");
3894
3895 WriteLiteralTo(__razor_helper_writer, ">\r\n");
3896
3897
3898 #line 2959 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3899
3900
3901 #line default
3902 #line hidden
3903
3904 #line 2959 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3905 foreach (var protocolPair in productProtocolsResults)
3906 {
3907 var itemName = protocolPair.Key;
3908 var itemLink = protocolPair.Value;
3909
3910
3911
3912 #line default
3913 #line hidden
3914 WriteLiteralTo(__razor_helper_writer, " <li");
3915
3916 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12\"");
3917
3918 WriteLiteralTo(__razor_helper_writer, ">\r\n <a");
3919
3920 WriteLiteralTo(__razor_helper_writer, " target=\"_blank\"");
3921
3922 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 127811), Tuple.Create("\"", 127827)
3923
3924 #line 2965 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3925 , Tuple.Create(Tuple.Create("", 127818), Tuple.Create<System.Object, System.Int32>(itemLink
3926
3927 #line default
3928 #line hidden
3929 , 127818), false)
3930 );
3931
3932 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 127828), Tuple.Create("\"", 127845)
3933
3934 #line 2965 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3935 , Tuple.Create(Tuple.Create("", 127836), Tuple.Create<System.Object, System.Int32>(itemName
3936
3937 #line default
3938 #line hidden
3939 , 127836), false)
3940 );
3941
3942 WriteLiteralTo(__razor_helper_writer, ">\r\n");
3943
3944 WriteLiteralTo(__razor_helper_writer, " ");
3945
3946
3947 #line 2966 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3948 WriteTo(__razor_helper_writer, itemName);
3949
3950
3951 #line default
3952 #line hidden
3953 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </li>\r\n");
3954
3955
3956 #line 2969 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3957 }
3958
3959
3960 #line default
3961 #line hidden
3962 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n </div>\r\n");
3963
3964
3965 #line 2972 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3966
3967
3968 #line default
3969 #line hidden
3970 });
3971
3972 #line 2972 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3973 }
3974 #line default
3975 #line hidden
3976
3977
3978 #line 3367 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
3979
3980 /* Get related pages */
3981 public static List<Dictionary<string, string>> GetRelatedPages(List<string> pages)
3982 {
3983 List<Dictionary<string, string>> relatedPages = new List<Dictionary<string, string>>();
3984
3985 using (var connection = Dynamicweb.Data.Database.CreateConnection())
3986 {
3987 using (var command = connection.CreateCommand())
3988 {
3989 command.CommandText = string.Format("SELECT Page,LinkExt,Icon_Source,Name from itemtype_relatedPages WHERE ID IN ({0})", string.Join(", ", pages));
3990
3991 using (var reader = command.ExecuteReader())
3992 {
3993 if (reader != null)
3994 {
3995 while (reader.Read())
3996 {
3997 Dictionary<string, string> relatedPagesProperties = new Dictionary<string, string>();
3998
3999 relatedPagesProperties.Add("Page", reader["Page"].ToString());
4000 relatedPagesProperties.Add("LinkExt", reader["LinkExt"].ToString());
4001 relatedPagesProperties.Add("Icon_Source", reader["Icon_Source"].ToString());
4002 relatedPagesProperties.Add("Name", reader["Name"].ToString());
4003 relatedPages.Add(relatedPagesProperties);
4004 }
4005 }
4006 }
4007 }
4008 }
4009
4010 return relatedPages;
4011 }
4012
4013 #line default
4014 #line hidden
4015
4016
4017 #line 3526 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4018
4019
4020 public string GetApplicationsLabel(string applicationValues, Dictionary<string, string> applicationsData)
4021 {
4022 applicationValues = applicationValues.Replace("\"", "").Replace(",", ", ");
4023 return applicationValues;
4024 }
4025
4026 public Dictionary<string, string> GetFilterData(string fieldID)
4027 {
4028 //HttpContext.Current.Cache.Remove("applicationsDataCache_" + fieldID);
4029 var applicationCache = HttpContext.Current.Cache["applicationsDataCache_" + fieldID];
4030 var applicationsData = applicationCache as Dictionary<string, string> ?? new Dictionary<string, string>();
4031 if (applicationCache == null)
4032 {
4033 using (var connection = Dynamicweb.Data.Database.CreateConnection())
4034 {
4035 using (var command = connection.CreateCommand())
4036 {
4037 command.CommandText = "SELECT FieldOptionValue,FieldOptionName FROM EcomFieldOption WHERE FieldOptionFieldID=''+@fieldID+'' ORDER BY FieldOptionValue";
4038 command.Parameters.Add(new System.Data.SqlClient.SqlParameter()
4039 {
4040 ParameterName = "fieldID",
4041 SqlDbType = System.Data.SqlDbType.NVarChar,
4042 Value = fieldID
4043 });
4044 using (var reader = command.ExecuteReader())
4045 {
4046 if (reader != null)
4047 {
4048 while (reader.Read())
4049 {
4050 applicationsData.Add(reader["FieldOptionValue"].ToString(), reader["FieldOptionName"].ToString());
4051 }
4052 }
4053 }
4054 }
4055 }
4056 HttpContext.Current.Cache.Insert("applicationsDataCache_" + fieldID, applicationsData, null, DateTime.Now.AddMinutes(5), System.Web.Caching.Cache.NoSlidingExpiration);
4057 }
4058 return applicationsData;
4059 }
4060
4061 #line default
4062 #line hidden
4063
4064
4065 public RazorEngine_f56ccda280c04d6f98f5241345024a33() {
4066 }
4067
4068 public override void Execute() {
4069
4070 #line 96 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4071
4072
4073
4074 #line default
4075 #line hidden
4076
4077 #line 97 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4078
4079 bool bol_userLogged = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn();
4080 int? userID = null;
4081 if(bol_userLogged){
4082 userID = Pageview.User.ID;
4083 if(Pageview.User.CurrentSecondaryUser != null && Pageview.User.CurrentSecondaryUser.ID != 0) {
4084 userID = Pageview.User.CurrentSecondaryUser.ID;
4085 }
4086 }
4087 string str_productLanguageId = GetString("Ecom:Product.LanguageID");
4088 string str_productID = GetString("Ecom:Product.ID");
4089 List<LoopItem> obj_loopVariantCombinations = GetLoop("VariantCombinations");
4090 Dictionary<string, Dictionary<string, Dictionary<string, string>>> dic_product = new Dictionary<string, Dictionary<string, Dictionary<string, string>>>();
4091 Dictionary<string, Dictionary<string, string>> dic_variants = new Dictionary<string, Dictionary<string, string>>();
4092 string str_productJSON = "";
4093 string str_productFavoritesUrl = string.Format("Default.aspx?ID={0}", GetPageFromAreaSetting("FavoritesProcess", Pageview));
4094
4095 if(obj_loopVariantCombinations.Any()){
4096 foreach (LoopItem variant in obj_loopVariantCombinations){
4097 string str_variantHref = "/"+ variant.GetValue("Ecom:VariantCombination.Link.Clean") + "?PID=" + Dynamicweb.Frontend.PageView.Current().CurrentParagraph.ID.ToString();
4098 string str_articleNum = variant.GetString("Ecom:Product.Number");
4099 string str_price = variant.GetString("Ecom:Product.Price");
4100 string str_stock = variant.GetString("Ecom:Product.AvailableAmount");
4101 string str_smallImage = variant.GetString("Ecom:Product.ImageSmall.Clean");
4102 string str_id = variant.GetString("Ecom:VariantCombination.VariantID");
4103 string str_variantName = variant.GetString("Ecom:VariantCombination.VariantText");
4104 string str_variantShortDescription = variant.GetString("Ecom:VariantCombination.VariantText");
4105 Dictionary<string, string> dic_variant = new Dictionary<string, string>();
4106
4107 dic_variant.Add("name", str_variantName);
4108 dic_variant.Add("id", str_id);
4109 dic_variant.Add("number", str_articleNum);
4110 dic_variant.Add("price", str_price);
4111 dic_variant.Add("stock", str_stock);
4112 dic_variant.Add("smallImage", str_smallImage);
4113 // dic_variant.Add("productIsFavorite", variant.GetString("Ecom:Product.IsProductInFavoriteList"));
4114
4115 try{
4116 var favoriteListProducts = Dynamicweb.Ecommerce.CustomerCenter.CustomerProductList.GetListByCustomerId(int.Parse(userID.ToString()));
4117 if (favoriteListProducts.Any())
4118 {
4119 var favoriteProducts = favoriteListProducts.FirstOrDefault().Products;
4120 bool isFavorite = favoriteProducts.Where(x => x.ProductVariantId == str_id).Any() && favoriteProducts.Where(x => x.ProductId == str_productID).Any();
4121 dic_variant.Add("productIsFavorite", isFavorite.ToString());
4122 }
4123 }catch{}
4124
4125 string str_productAddToList = string.Format("{0}&favoriteID={1}&languageID={2}&variantID={3}&favoriteAction=add", str_productFavoritesUrl, str_productID, str_productLanguageId, str_id);
4126 string str_productRemoveFromList = string.Format("{0}&favoriteID={1}&languageID={2}&variantID={3}&favoriteAction=remove", str_productFavoritesUrl, str_productID, str_productLanguageId, str_id);
4127 dic_variant.Add("addToList", str_productAddToList);
4128 dic_variant.Add("removeFromList", str_productRemoveFromList);
4129
4130
4131 dic_variants.Add(str_id, dic_variant);
4132
4133 }
4134 dic_product.Add("product", dic_variants);
4135 }
4136 str_productJSON = new JavaScriptSerializer().Serialize(dic_product);
4137
4138
4139
4140 #line default
4141 #line hidden
4142 WriteLiteral("\r\n\r\n");
4143
4144 WriteLiteral("\r\n\r\n");
4145
4146
4147 #line 175 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4148 try
4149 {
4150
4151
4152 #line default
4153 #line hidden
4154
4155 #line 223 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4156
4157
4158
4159
4160 #line default
4161 #line hidden
4162
4163 #line 284 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4164
4165
4166
4167
4168 #line default
4169 #line hidden
4170
4171 #line 369 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4172
4173
4174
4175
4176 #line default
4177 #line hidden
4178
4179 #line 439 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4180
4181
4182
4183
4184 #line default
4185 #line hidden
4186
4187 #line 565 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4188
4189
4190
4191
4192 #line default
4193 #line hidden
4194
4195 #line 604 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4196
4197
4198
4199
4200 #line default
4201 #line hidden
4202
4203 #line 1252 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4204
4205
4206
4207
4208 #line default
4209 #line hidden
4210
4211 #line 1447 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4212
4213
4214
4215
4216 #line default
4217 #line hidden
4218
4219 #line 1469 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4220
4221
4222
4223
4224 #line default
4225 #line hidden
4226
4227 #line 1491 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4228
4229
4230
4231
4232 #line default
4233 #line hidden
4234
4235 #line 1559 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4236
4237
4238
4239
4240 #line default
4241 #line hidden
4242
4243 #line 1579 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4244
4245
4246
4247
4248 #line default
4249 #line hidden
4250
4251 #line 1590 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4252
4253
4254
4255
4256 #line default
4257 #line hidden
4258
4259 #line 1722 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4260
4261
4262
4263
4264 #line default
4265 #line hidden
4266
4267 #line 1749 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4268
4269
4270
4271
4272 #line default
4273 #line hidden
4274
4275 #line 1785 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4276
4277
4278
4279
4280 #line default
4281 #line hidden
4282
4283 #line 1837 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4284
4285
4286
4287
4288 #line default
4289 #line hidden
4290
4291 #line 1890 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4292
4293
4294
4295
4296 #line default
4297 #line hidden
4298
4299 #line 1915 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4300
4301
4302
4303
4304
4305
4306 #line default
4307 #line hidden
4308
4309 #line 1940 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4310
4311
4312
4313
4314 #line default
4315 #line hidden
4316
4317 #line 1956 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4318
4319
4320
4321
4322 #line default
4323 #line hidden
4324
4325 #line 2077 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4326
4327
4328
4329
4330 #line default
4331 #line hidden
4332
4333 #line 2118 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4334
4335
4336
4337
4338 #line default
4339 #line hidden
4340
4341 #line 2120 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4342
4343 var str_requestPreview = System.Web.HttpContext.Current.Request.Params["preview"] ?? "";
4344
4345 var itemArea = Pageview.Area.Item;
4346
4347 //START CUSTOM CODE
4348 var cdnStaticDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("Static_Content", "Static_Content_Domain");
4349 var cdnJsCssDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("CSS_JS", "CSS_JS_Domain");
4350 //END CUSTOM CODE
4351
4352 var productStatus = GetInteger("Ecom:Product:Field.ProductStatus.Value.Clean");
4353 if (productStatus.Equals(1) && str_requestPreview!= "true")
4354 {
4355
4356
4357 #line default
4358 #line hidden
4359
4360 #line 2133 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4361 Write(itemArea["ProductDiscontinued"].ToString());
4362
4363
4364 #line default
4365 #line hidden
4366
4367 #line 2133 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4368
4369 }
4370 else
4371 {
4372 /* Workaround due a DW bug */
4373 var applicationsData = GetFilterData("BLFD_1");
4374 /* END Workaround */
4375
4376
4377 #line default
4378 #line hidden
4379
4380 #line 2140 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4381
4382 var addToCartFormAction = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("Default.aspx?ID=" + (itemArea["AddToCart"] ?? Pageview.Page.ID).ToString());
4383 var searchPageID = itemArea["SearchResults"].ToString();
4384 var formRequestConjugation = itemArea["FormRequestConjugation"].ToString();
4385 var printPage = itemArea["PrintPage"].ToString();
4386 var coaPage = itemArea["CertificateAnalysisPage"].ToString();
4387 var coaRedirect = itemArea["CertificateAnalysisRedirect"].ToString();
4388 var techSupportPageID = itemArea["FormTechSupport"].ToString();
4389 var productListJson = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(itemArea["ProductListJson"].ToString());
4390 var requestBulk = itemArea["RequestBulk"].ToString();
4391 var cartDisabled = Convert.ToBoolean(itemArea["DisableAddToCart"].ToString());
4392 var orderContext = itemArea["OrderContext"] != null ? itemArea["OrderContext"].ToString() : "";
4393 var isWebserviceAvailable = TemplatesHelper.IsWebServiceConnectionAvailable();
4394
4395 var navEnvironment = itemArea["NavEnvironment"] != null ? itemArea["NavEnvironment"].ToString() : "";
4396
4397 var userAvailableStartMsg = Translate("userAvailableStartMsg", "The entered quantity of");
4398 var userOrdersMoreThanAvailable = Translate("userOrdersMoreThanAvailable", "is unavailable. Replenishment is currently underway. You will be notified by BioLegend’s Customer Service of the ETA if we are unable to deliver the full quantity.");
4399 var userOrdersLessThanAvailable = Translate("userOrdersLessThanAvailable", "is available and will be scheduled for shipment ASAP.");
4400
4401
4402
4403 #line default
4404 #line hidden
4405
4406 #line 2160 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4407
4408 var str_requestConc = System.Web.HttpContext.Current.Request.Params["concExpLookup"] ?? "";
4409 var str_requestLotNumber = System.Web.HttpContext.Current.Request.Params["lotNumber"] ?? "";
4410
4411
4412
4413 #line default
4414 #line hidden
4415
4416 #line 2164 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4417
4418 var str_currentPageId = Pageview.Page.ID.ToString();
4419 var bol_isLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn();
4420 var bol_isFrontEnd = Dynamicweb.Environment.ExecutingContext.IsFrontEnd();
4421
4422 var siteCurrency = Dynamicweb.Frontend.PageView.Current().Area.EcomCurrencyId;
4423 var userCurrency = bol_userLogged ? Dynamicweb.Security.UserManagement.User.GetCurrentUser().Currency : siteCurrency;
4424
4425 var RRIDLists = new Dictionary<string, string>();
4426
4427
4428
4429 #line default
4430 #line hidden
4431
4432 #line 2174 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4433
4434 var str_variantDefaultId = GetString("Ecom:Product.DefaultVariantComboID");
4435 var str_variantCurrentId = GetString("Ecom:Product.VariantID");
4436 var str_variantId = (!String.IsNullOrEmpty(str_variantCurrentId)) ? str_variantCurrentId : str_variantDefaultId;
4437 var str_variantParam = (!String.IsNullOrEmpty(str_variantId)) ? "&variantid=" + str_variantId : "";
4438
4439 var str_productId = GetString("Ecom:Product.ID");
4440 var str_productLanguage = GetString("Ecom:Product.LanguageID");
4441 var str_productName = GetString("Ecom:Product.Name");
4442 var str_productIntro = GetString("Ecom:Product.ShortDescription");
4443 var str_productDescription = GetString("Ecom:Product.LongDescription");
4444 var str_productPrice = GetString("Ecom:Product.Price");
4445 var str_productOtherNames = GetString("Ecom:Product:Field.OtherNames.Value");
4446 var str_productDataSheet = GetString("Ecom:Product:Field.Datasheet.Value.Clean");
4447 var str_productDataSheetFile = GetString("Ecom:Product:Field.DatasheetFile.Clean");
4448 var str_productMSDSType = GetString("Ecom:Product:Field.MSDSType.Value");
4449 var str_productMSDSCFile = GetString("Ecom:Product:Field.MSDSFile.Clean");
4450 var str_productMSDSOptions = GetString("Ecom:Product:Field.MSDSOptions.Value");
4451 var str_groupPrimary = GetString("Ecom:Product.PrimaryOrFirstGroupID");
4452 var str_productImage = GetString("Ecom:Product.ImageSmall.Clean");
4453 var str_productImageMedium = GetString("Ecom:Product.ImageMedium.Clean");
4454 var str_productImageLarge = GetString("Ecom:Product.ImageLarge.Clean");
4455 var str_productImage4 = GetString("Ecom:Product:Field.Image4Path.Clean").Replace("/Files/Images/Images/", "/Files/Images/");
4456 var str_productGetImage = str_productImage; //GetImage(str_productImage, 180, 0, 180, 0, 180, 0,"jpg",90,5);
4457 var str_productGetImageMedium = str_productImageMedium; // GetImage(str_productImageMedium, 180, 0, 180, 0, 180, 0,"jpg",90,5);
4458 var str_productGetImageLarge = str_productImageLarge; // GetImage(str_productImageLarge, 180, 0, 180, 0, 180, 0,"jpg",90,5);
4459 var str_productGetImage4 = str_productImage4; //GetImage(str_productImage4, 180, 0, 180, 0, 180, 0,"jpg",90,5);
4460 var str_image1Description = GetString("Ecom:Product:Field.Image1Description.Value");
4461 var str_image2Description = GetString("Ecom:Product:Field.Image2Description.Value");
4462 var str_image3Description = GetString("Ecom:Product:Field.Image3Description.Value");
4463 var str_image4Description = GetString("Ecom:Product:Field.Image4Description.Value");
4464 var str_image1Title = GetString("Ecom:Product:Field.Image1Title.Value");
4465 var str_image2Title = GetString("Ecom:Product:Field.Image2Title.Value");
4466 var str_image3Title = GetString("Ecom:Product:Field.Image3Title.Value");
4467 var str_image4Title = GetString("Ecom:Product:Field.Image4Title.Value");
4468 var lst_images = new List<Tuple<string, string, string>>();
4469
4470 var str_productImage5 = GetString("Ecom:Product:Field.Image5Path.Clean").Replace("/Files/Images/Images/", "/Files/Images/");
4471 var str_productGetImage5 = str_productImage5;
4472 var str_image5Description = GetString("Ecom:Product:Field.Image5Description.Value");
4473 var str_image5Title = GetString("Ecom:Product:Field.Image5Title.Value");
4474
4475 var str_productImage6 = GetString("Ecom:Product:Field.Image6Path.Clean").Replace("/Files/Images/Images/", "/Files/Images/");
4476 var str_productGetImage6 = str_productImage6;
4477 var str_image6Description = GetString("Ecom:Product:Field.Image6Description.Value");
4478 var str_image6Title = GetString("Ecom:Product:Field.Image6Title.Value");
4479
4480 var str_starClass = "";
4481 var str_halfStar = "";
4482
4483 var productUpdated = GetDate("Ecom:Product.Updated").ToString("yyyyMMddhhmmss"); //CUSTOM CODE
4484
4485
4486
4487 #line default
4488 #line hidden
4489
4490 #line 2226 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4491
4492 var productType = GetString("Ecom:Product:Field.CMProductType.Value");
4493 var productSpecificity = GetString("Ecom:Product:Field.Specificity.Value");
4494 var str_productFormat = GetString("Ecom:Product:Field.Format.Value");
4495 var str_productLaser = GetString("Ecom:Product:Field.ExcitationLaser.Value");
4496 var str_productRegulatoryStatus = GetString("Ecom:Product:Field.RegulatoryStatus.Value");
4497 var str_productAppAbrv = GetString("Ecom:Product:Field.AppAbrv.Value");
4498 var str_moreDataTitle = GetString("Ecom:Product:Field.MoreDataTitle.Value");
4499 var str_moreData = GetString("Ecom:Product:Field.MoreData.Clean");
4500 var excludeAB = GetBoolean("Ecom:Product:Field.ExcludeAB");
4501 var productClone = Regex.Replace(GetString("Ecom:Product:Field.Clone.Value"), "<!.*?>", String.Empty, RegexOptions.Singleline).Trim();
4502 var geneList = GetString("Ecom:Product:Field.GeneID.Value").Split(new char[] {','}, StringSplitOptions.RemoveEmptyEntries);
4503 var str_biologyArea = GetString("Ecom:Product:Field.BiologyArea.Value");
4504 var str_molecularFamily = GetString("Ecom:Product:Field.MolecularFamily.Value");
4505 var str_cellType = GetString("Ecom:Product:Field.CellType.Value");
4506 var productFieldType = "";
4507 var longLang = (string) GetGlobalValue("Global:Area.LongLang");
4508 var versionDate = GetDate("Ecom:Product:Field.VersionDate.Value.Clean");
4509 var dateTimeVersionDate = DateTime.Now;
4510 var productIsUg = "";
4511 var productIsUl = "";
4512 var isASR = str_productRegulatoryStatus.Equals("ASR");
4513 var isIVD = str_productRegulatoryStatus.Equals("IVD");
4514 var isGMPRUO = str_productRegulatoryStatus.Equals("GMP-RUO");
4515 var isGMPRUOException = ( str_productFormat.Equals("GMP_RECOM") || str_productFormat.Equals("SOLUTION") || str_productFormat.Equals("GMP_ULEAF") );
4516 var isRUO = str_productRegulatoryStatus.Equals("RUO");
4517 var str_ProductNameNormalized = GetString("Ecom:Product:Field.ProductNameNormalized.Value");
4518 var str_TotalseqSequence = GetString("Ecom:Product:Field.TotalseqSequence.Value");
4519 var str_IsotypeForFilter = GetString("Ecom:Product:Field.IsotypeFilter.Value");
4520 var str_footerDisclaimer = GetString("Ecom:Product:Field.FooterDisclaimer.Value");
4521 var str_qualityStatement = GetString("Ecom:Product:Field.QualityStatement.Value");
4522
4523 if(versionDate != null)
4524 {
4525 dateTimeVersionDate = versionDate;
4526 }
4527
4528 /* Other Formats */
4529 var otherFormatsProducts = Dynamicweb.Ecommerce.Products.Product.GetProductsBySql("SELECT * FROM ecomProducts WHERE Clone != '' AND Clone = '" + productClone + "' AND ProductActive = 'True' AND (ProductStatus = '0' OR ProductStatus = '2' OR ProductStatus = '3' OR ProductStatus = '4') AND ProductLanguageID = 'LANG1'").Where(prod => prod.Id != str_productId);
4530
4531
4532
4533 #line default
4534 #line hidden
4535
4536 #line 2266 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4537
4538 var loop_variantCombinations = GetLoop("VariantCombinations").Where(x => x.GetBoolean("Ecom:Product.IsActive"));
4539 var loopAssociatedGroups = GetLoop("AssociatedGroups");
4540 var loopComments = GetLoop("Comments.Newfirst");
4541 var loop_variantsWithDC = loop_variantCombinations.Where(x => x.GetInteger("Ecom:Product:Field.ProductStatus.Value.Clean").Equals(4));
4542
4543 if (!string.IsNullOrEmpty(str_productImage))
4544 {
4545 lst_images.Add(new Tuple<string, string, string>(str_productImage, str_image1Title, str_image1Description));
4546 }
4547 if (!string.IsNullOrEmpty(str_productImageMedium))
4548 {
4549 lst_images.Add(new Tuple<string, string, string>(str_productImageMedium, str_image2Title, str_image2Description));
4550 }
4551 if (!string.IsNullOrEmpty(str_productImageLarge))
4552 {
4553 lst_images.Add(new Tuple<string, string, string>(str_productImageLarge, str_image3Title, str_image3Description));
4554 }
4555 if (!string.IsNullOrEmpty(str_productImage4))
4556 {
4557 lst_images.Add(new Tuple<string, string, string>(str_productImage4, str_image4Title, str_image4Description));
4558 }
4559 if (!string.IsNullOrEmpty(str_productImage5))
4560 {
4561 lst_images.Add(new Tuple<string, string, string>(str_productImage5, str_image5Title, str_image5Description));
4562 }
4563 if (!string.IsNullOrEmpty(str_productImage6))
4564 {
4565 lst_images.Add(new Tuple<string, string, string>(str_productImage6, str_image6Title, str_image6Description));
4566 }
4567
4568 var productTypes = new Dictionary<string, string>();
4569 productTypes.Add("AncillaryProducts", "Ancillary");
4570 productTypes.Add("BuffersSolutionsChemicals", "Ancillary");
4571 productTypes.Add("CellBiologyAntibodies", "PrimaryAntibodies");
4572 productTypes.Add("CellSeparation", "MojoSort");
4573 productTypes.Add("CytokineChemokineAntibodies", "PrimaryAntibodies");
4574 productTypes.Add("ELISAMAXLEGENDMAX", "ELISA");
4575 productTypes.Add("EpitopeTagProducts", "PrimaryAntibodies");
4576 productTypes.Add("HumanImmunologyAntibodies", "PrimaryAntibodies");
4577 productTypes.Add("IsotypeControls", "IsotypeControls");
4578 productTypes.Add("LEGENDplex", "LEGENDplex");
4579 productTypes.Add("LEGENDScreen", "LEGENDScreen");
4580 productTypes.Add("MarmosetImmunologyAntibodies", "PrimaryAntibodies");
4581 productTypes.Add("MouseImmunologyAntibodies", "PrimaryAntibodies");
4582 productTypes.Add("NeuroscienceProducts", "PrimaryAntibodies");
4583 productTypes.Add("RatImmunologyAntibodies", "PrimaryAntibodies");
4584 productTypes.Add("RecombinantProteins", "Recombinant");
4585 productTypes.Add("SecondaryReagents", "SecondaryReagents");
4586 productTypes.Add("VirusImmunologyAntibodies", "PrimaryAntibodies");
4587 productTypes.Add("EnzymeAssays", "EnzymeAssays");
4588 productTypes.Add("FlexT", "FlexT");
4589 productTypes.Add("NonAntibodyChemicalProbes", "NonAntibodyChemicalProbes");
4590 productTypes.Add("CellFunction", "CellFunction");
4591 productTypes.Add("PorcineImmunologyAntibodies", "PrimaryAntibodies");
4592 productTypes.Add("FlexiFluor", "PrimaryAntibodies");
4593
4594 if (productTypes.ContainsKey(productType))
4595 {
4596 productFieldType = productTypes[productType];
4597 }
4598
4599
4600
4601 #line default
4602 #line hidden
4603
4604 #line 2328 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4605
4606 var notShowCategories = new List<string>();
4607 notShowCategories.Add("GROUP20");
4608 notShowCategories.Add("GROUP21");
4609 notShowCategories.Add("GROUP22");
4610 notShowCategories.Add("GROUP23");
4611 notShowCategories.Add("GROUP24");
4612 notShowCategories.Add("GROUP25");
4613 notShowCategories.Add("GROUP26");
4614 notShowCategories.Add("GROUP27");
4615 notShowCategories.Add("GROUP28");
4616 notShowCategories.Add("GROUP29");
4617 notShowCategories.Add("GROUP30");
4618 notShowCategories.Add("GROUP31");
4619 notShowCategories.Add("GROUP32");
4620 notShowCategories.Add("GROUP33");
4621 notShowCategories.Add("GROUP34");
4622 notShowCategories.Add("GROUP35");
4623 notShowCategories.Add("GROUP36");
4624 notShowCategories.Add("GROUP37");
4625
4626
4627
4628 #line default
4629 #line hidden
4630
4631 #line 2367 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4632
4633 //str_productName = CalculateProductName(str_productName,productFieldType,str_productFormat,excludeAB);
4634 str_productName = str_ProductNameNormalized;
4635
4636
4637 var productCatalogNumbers = loop_variantCombinations.Where(x => !string.IsNullOrWhiteSpace(x.GetString("Ecom:Product.Number"))).Select(x => x.GetString("Ecom:Product.Number"));
4638 var catalogFirstLetter = "0";
4639 var catalogSecondLetter = "0";
4640 var catalogThirdLetter = "0";
4641 var str_workshop = GetString("Ecom:Product.CategoryField." + productFieldType + ".Workshop.Value.Clean");
4642
4643 if (productCatalogNumbers.Any())
4644 {
4645 foreach (var xx in productCatalogNumbers)
4646 {
4647 catalogFirstLetter = xx.ToCharArray()[0].ToString();
4648 catalogSecondLetter = xx.ToCharArray()[1].ToString();
4649 catalogThirdLetter = xx.ToCharArray()[2].ToString();
4650 }
4651 }
4652
4653 var catalogFirstTwoNumbers = catalogFirstLetter + catalogSecondLetter;
4654 var catalogFirstThreeNumbers = catalogFirstTwoNumbers + catalogThirdLetter;
4655
4656
4657
4658 #line default
4659 #line hidden
4660
4661 #line 2391 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4662
4663 var previousCompany = new Dictionary<string,string>();
4664 var previouslyConcatName = "";
4665
4666 var catalogOldField = Regex.Split(GetString("Ecom:Product:Field.CatalogOld.Value.Clean"), "\r\n|\r|\n");
4667
4668 foreach (var line in catalogOldField)
4669 {
4670 var lineSplit = line.Split('|');
4671
4672 if(lineSplit.Count() == 2 ){
4673 if(lineSplit[0] == "Covance")
4674 {
4675 previouslyConcatName = String.Format("{0} {1}", Translate("previouslyCovanceCatalog","Previously Covance catalog#"), lineSplit[1]);
4676 }
4677 previousCompany.Add(lineSplit[1],lineSplit[0]);
4678 }
4679 }
4680
4681
4682
4683 #line default
4684 #line hidden
4685
4686 #line 2410 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4687
4688 var variantTypes = new Dictionary<string, string>();
4689 variantTypes.Add("microg", " µg");
4690 variantTypes.Add("mug", " μg");
4691 variantTypes.Add("mul", " μl");
4692 variantTypes.Add("microl", " µl");
4693 variantTypes.Add("ug", " &mmicro;g");
4694
4695 var readerPathwaysCount = 0;
4696 var countRelatedPages = 0;
4697 var countIVD2 = 0;
4698
4699 using (var connection = Dynamicweb.Data.Database.CreateConnection())
4700 {
4701 using (var countIVD = connection.CreateCommand())
4702 {
4703 countIVD.CommandText = "SELECT Count(1) FROM ecomgroupproductrelation where GroupProductRelationGroupID = 'BLG14317' and GroupProductRelationProductID = ''+@productId+''";
4704 countIVD.Parameters.Add(new System.Data.SqlClient.SqlParameter()
4705 {
4706 ParameterName = "productId",
4707 SqlDbType = System.Data.SqlDbType.NVarChar,
4708 Value = str_productId
4709 });
4710
4711 countIVD2 = Convert.ToInt32(countIVD.ExecuteScalar());
4712 }
4713 }
4714
4715 var isMixMatch = (str_productName.Contains("Capture Bead") || (str_productName.Contains("LEGENDplex") && (str_productName.Contains("Standard") || str_productName.Contains("Detection Antibodies") || str_productName.Contains("Buffer Set"))));
4716 var isCustomFlexT = (str_productName.Contains("Flex-T") && str_productName.Contains("Custom"));
4717
4718 var repositoryPageID = itemArea["RepositoryPageId"] != null ? Convert.ToInt32(itemArea["RepositoryPageId"].ToString()) : 0;
4719 var applicationReferences = RenderItemList(new
4720 {
4721 ItemType = "Publications",
4722 ListSourceType = "NamedList",
4723 TargetNamedList = "Publications",
4724 NamedListPageID = repositoryPageID,
4725 ItemFieldsList = "*",
4726 ListTemplate = "eCom/Product/Includes/productRelatedPublications.cshtml",
4727 ListPageSize = 1000,
4728 // IncludeAllChildItems = true,
4729 Filter = "WebID contains 'p_" + str_productId + ",' or WebID contains 'p_" + str_productId + ":' or WebID ends with 'p_" + str_productId + "'"
4730 }).ToString();
4731
4732
4733 if (str_currentPageId == @printPage || str_currentPageId == coaPage)
4734 {
4735
4736
4737 #line default
4738 #line hidden
4739
4740 #line 2458 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4741 Write(SnippetStart("forcePrint"));
4742
4743
4744 #line default
4745 #line hidden
4746
4747 #line 2458 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4748
4749
4750
4751 #line default
4752 #line hidden
4753 WriteLiteral(" <link");
4754
4755 WriteLiteral(" rel=\"stylesheet\"");
4756
4757 WriteLiteral(" type=\"text/css\"");
4758
4759 WriteAttribute("href", Tuple.Create(" href=\"", 99228), Tuple.Create("\"", 99309)
4760
4761 #line 2459 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4762 , Tuple.Create(Tuple.Create("", 99235), Tuple.Create<System.Object, System.Int32>(cdnJsCssDomain
4763
4764 #line default
4765 #line hidden
4766 , 99235), false)
4767 , Tuple.Create(Tuple.Create("", 99250), Tuple.Create("/Files/Templates/Designs/BioLegend/css/exceptions/print.css", 99250), true)
4768 );
4769
4770 WriteLiteral("/>\r\n");
4771
4772 WriteLiteral(" <style>\r\n .container { max-width: 700px !important; }\r" +
4773 "\n </style>\r\n");
4774
4775
4776 #line 2463 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4777
4778
4779 #line default
4780 #line hidden
4781
4782 #line 2463 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4783 Write(SnippetEnd("forcePrint"));
4784
4785
4786 #line default
4787 #line hidden
4788
4789 #line 2463 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4790
4791 }
4792
4793 if (!string.IsNullOrWhiteSpace(GetString("Ecom:Product:Field.VersionDate.Value.Clean")) && !string.IsNullOrWhiteSpace(GetString("Ecom:Product:Field.VersionNumber.Value.Clean")))
4794 {
4795
4796
4797 #line default
4798 #line hidden
4799
4800 #line 2468 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4801 Write(SnippetStart("forcePrintVersion"));
4802
4803
4804 #line default
4805 #line hidden
4806
4807 #line 2468 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4808
4809
4810
4811 #line default
4812 #line hidden
4813 WriteLiteral(" <span");
4814
4815 WriteLiteral(" class=\"versionDatePrint hidden-sm hidden-md hidden-lg col-xs-12 col-sm-9 pull-ri" +
4816 "ght\"");
4817
4818 WriteLiteral(">\r\n");
4819
4820 WriteLiteral(" ");
4821
4822
4823 #line 2470 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4824 Write(Translate("version", "Version"));
4825
4826
4827 #line default
4828 #line hidden
4829 WriteLiteral("<text>:</text> ");
4830
4831
4832 #line 2470 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4833 Write(GetString("Ecom:Product:Field.VersionNumber.Value.Clean"));
4834
4835
4836 #line default
4837 #line hidden
4838 WriteLiteral(" ");
4839
4840
4841 #line 2470 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4842 Write(Translate("revisionDate", "Revision Date"));
4843
4844
4845 #line default
4846 #line hidden
4847 WriteLiteral("<text>:</text> ");
4848
4849
4850 #line 2470 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4851 Write(dateTimeVersionDate.ToString("MM/dd/yyyy"));
4852
4853
4854 #line default
4855 #line hidden
4856 WriteLiteral("\r\n </span>\r\n");
4857
4858
4859 #line 2472 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4860
4861
4862 #line default
4863 #line hidden
4864
4865 #line 2472 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4866 Write(SnippetEnd("forcePrintVersion"));
4867
4868
4869 #line default
4870 #line hidden
4871
4872 #line 2472 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4873
4874 }
4875
4876
4877
4878 #line default
4879 #line hidden
4880 WriteLiteral(" <div");
4881
4882 WriteLiteral(" data-productType=\"");
4883
4884
4885 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4886 Write(productType);
4887
4888
4889 #line default
4890 #line hidden
4891 WriteLiteral("\"");
4892
4893 WriteLiteral(" data-regulatoryStatus=\"");
4894
4895
4896 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4897 Write(str_productRegulatoryStatus);
4898
4899
4900 #line default
4901 #line hidden
4902 WriteLiteral("\"");
4903
4904 WriteLiteral(" data-productName=\"");
4905
4906
4907 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4908 Write(str_productName);
4909
4910
4911 #line default
4912 #line hidden
4913 WriteLiteral("\"");
4914
4915 WriteLiteral(" id=\"product-container\"");
4916
4917 WriteLiteral(" data-format=\"");
4918
4919
4920 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4921 Write(str_productFormat);
4922
4923
4924 #line default
4925 #line hidden
4926 WriteLiteral("\"");
4927
4928 WriteLiteral(" data-productSpecificity=\"");
4929
4930
4931 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4932 Write(productSpecificity);
4933
4934
4935 #line default
4936 #line hidden
4937 WriteLiteral("\"");
4938
4939 WriteLiteral(" data-ajaxPage=\"");
4940
4941
4942 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4943 Write(productListJson);
4944
4945
4946 #line default
4947 #line hidden
4948 WriteLiteral("\"");
4949
4950 WriteLiteral(" data-productType=\"");
4951
4952
4953 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4954 Write(productFieldType);
4955
4956
4957 #line default
4958 #line hidden
4959 WriteLiteral("\"");
4960
4961 WriteLiteral(" class=\"container noPadding\"");
4962
4963 WriteLiteral(" data-productClone=\"");
4964
4965
4966 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4967 Write(productClone);
4968
4969
4970 #line default
4971 #line hidden
4972 WriteLiteral("\"");
4973
4974 WriteLiteral(" data-pageId=\"");
4975
4976
4977 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4978 Write(str_currentPageId);
4979
4980
4981 #line default
4982 #line hidden
4983 WriteLiteral("\"");
4984
4985 WriteLiteral(" data-productId=\"");
4986
4987
4988 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
4989 Write(str_productId);
4990
4991
4992 #line default
4993 #line hidden
4994 WriteLiteral("\"");
4995
4996 WriteLiteral(" data-variantId=\"");
4997
4998
4999 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5000 Write(str_variantId);
5001
5002
5003 #line default
5004 #line hidden
5005 WriteLiteral("\"");
5006
5007 WriteLiteral(" data-errorCombination1=\'");
5008
5009
5010 #line 2475 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5011 Write(Translate("Combination not available"));
5012
5013
5014 #line default
5015 #line hidden
5016 WriteLiteral("\'");
5017
5018 WriteLiteral(">\r\n <div");
5019
5020 WriteLiteral(" id=\"product-description\"");
5021
5022 WriteLiteral(" class=\"col-xs-12 noPaddingLeft\"");
5023
5024 WriteLiteral(">\r\n <div");
5025
5026 WriteLiteral(" id=\"productInfo\"");
5027
5028 WriteLiteral(" class=\"col-xs-12 col-sm-9\"");
5029
5030 WriteLiteral(">\r\n\r\n");
5031
5032
5033 #line 2479 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5034
5035
5036 #line default
5037 #line hidden
5038
5039 #line 2479 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5040 if (isASR)
5041 {
5042
5043
5044 #line default
5045 #line hidden
5046 WriteLiteral(" <p");
5047
5048 WriteLiteral(" class=\"col-xs-6 noPadding asrWarning\"");
5049
5050 WriteLiteral(">\r\n <b>");
5051
5052
5053 #line 2482 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5054 Write(Translate("ASRwarnMessage", "Analyte Specific Reagent. Analytical and performance characteristics are not established."));
5055
5056
5057 #line default
5058 #line hidden
5059 WriteLiteral("</b>\r\n </p>\r\n");
5060
5061
5062 #line 2484 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5063 }
5064
5065
5066 #line default
5067 #line hidden
5068 WriteLiteral("\r\n <dl");
5069
5070 WriteLiteral(" class=\"col-xs-12 noPaddingLeft\"");
5071
5072 WriteLiteral(">\r\n");
5073
5074
5075 #line 2487 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5076
5077
5078 #line default
5079 #line hidden
5080
5081 #line 2487 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5082 if (loop_variantCombinations.Where(x => !x.GetInteger("Ecom:Product:Field.ProductStatus.Value.Clean").Equals(1)).OrderBy(pv => pv.GetDouble("Ecom:Product.Price.Price")).Any())
5083 {
5084
5085
5086 #line default
5087 #line hidden
5088 WriteLiteral(" <dt");
5089
5090 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
5091
5092 WriteLiteral(">\r\n");
5093
5094 WriteLiteral(" ");
5095
5096
5097 #line 2490 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5098 Write(Translate("Catalog#Size", "Catalog# / Size"));
5099
5100
5101 #line default
5102 #line hidden
5103 WriteLiteral("\r\n </dt>\r\n");
5104
5105 WriteLiteral(" <dd");
5106
5107 WriteLiteral(" class=\"col-xs-9\"");
5108
5109 WriteLiteral(">\r\n");
5110
5111
5112 #line 2493 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5113
5114
5115 #line default
5116 #line hidden
5117
5118 #line 2493 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5119 foreach (var productVariant in loop_variantCombinations.Where(x => !x.GetInteger("Ecom:Product:Field.ProductStatus.Value.Clean").Equals(1)).OrderBy(pv => pv.GetDouble("Ecom:Product.Price.Price")))
5120 {
5121 if (!string.IsNullOrWhiteSpace(productVariant.GetString("Ecom:Product:Field.RRID.Value.Clean")))
5122 {
5123 RRIDLists.Add(productVariant.GetString("Ecom:Product.Number"), productVariant.GetString("Ecom:Product:Field.RRID.Value.Clean"));
5124 }
5125 var variantName = productVariant.GetString("Ecom:VariantCombination.VariantText");
5126 if(variantName.Contains("µg")){productIsUg += "Yes";}
5127 if(variantName.Contains("µl")){productIsUl += "Yes";}
5128
5129
5130 #line default
5131 #line hidden
5132
5133 #line 2502 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5134 Write(String.Format("{0} / {1}", productVariant.GetString("Ecom:Product.Number"), productVariant.GetString("Ecom:VariantCombination.VariantText")));
5135
5136
5137 #line default
5138 #line hidden
5139
5140 #line 2502 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5141
5142
5143
5144 #line default
5145 #line hidden
5146 WriteLiteral(" <br/>\r\n");
5147
5148
5149 #line 2504 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5150 }
5151
5152
5153 #line default
5154 #line hidden
5155 WriteLiteral(" </dd>\r\n");
5156
5157
5158 #line 2506 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5159 }
5160
5161
5162 #line default
5163 #line hidden
5164 WriteLiteral(" ");
5165
5166
5167 #line 2507 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5168 if (!string.IsNullOrEmpty(productClone))
5169 {
5170
5171
5172 #line default
5173 #line hidden
5174 WriteLiteral(" <dt");
5175
5176 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
5177
5178 WriteLiteral(">\r\n");
5179
5180 WriteLiteral(" ");
5181
5182
5183 #line 2510 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5184 Write(GetString("Ecom:Product:Field.Clone.Name"));
5185
5186
5187 #line default
5188 #line hidden
5189 WriteLiteral("\r\n </dt>\r\n");
5190
5191 WriteLiteral(" <dd");
5192
5193 WriteLiteral(" class=\"col-xs-9\"");
5194
5195 WriteLiteral(">\r\n");
5196
5197 WriteLiteral(" ");
5198
5199
5200 #line 2513 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5201 Write(productClone);
5202
5203
5204 #line default
5205 #line hidden
5206 WriteLiteral("\r\n </dd>\r\n");
5207
5208
5209 #line 2515 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5210 }
5211
5212
5213 #line default
5214 #line hidden
5215 WriteLiteral(" ");
5216
5217
5218 #line 2516 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5219 if (isRUO)
5220 {
5221
5222
5223 #line default
5224 #line hidden
5225 WriteLiteral(" <dt");
5226
5227 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
5228
5229 WriteLiteral(">\r\n");
5230
5231 WriteLiteral(" ");
5232
5233
5234 #line 2519 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5235 Write(Translate("RegulatoryStatus","Regulatory Status"));
5236
5237
5238 #line default
5239 #line hidden
5240 WriteLiteral("\r\n </dt>\r\n");
5241
5242 WriteLiteral(" <dd");
5243
5244 WriteLiteral(" class=\"col-xs-9\"");
5245
5246 WriteLiteral(">\r\n");
5247
5248 WriteLiteral(" ");
5249
5250
5251 #line 2522 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5252 Write(str_productRegulatoryStatus);
5253
5254
5255 #line default
5256 #line hidden
5257 WriteLiteral("\r\n </dd>\r\n");
5258
5259
5260 #line 2524 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5261 }
5262
5263
5264 #line default
5265 #line hidden
5266 WriteLiteral(" ");
5267
5268
5269 #line 2525 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5270 if(!string.IsNullOrEmpty(str_workshop))
5271 {
5272
5273
5274 #line default
5275 #line hidden
5276 WriteLiteral(" <dt");
5277
5278 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
5279
5280 WriteLiteral(">\r\n");
5281
5282 WriteLiteral(" ");
5283
5284
5285 #line 2528 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5286 Write(Translate("WorkshopName","Workshop"));
5287
5288
5289 #line default
5290 #line hidden
5291 WriteLiteral("\r\n </dt>\r\n");
5292
5293 WriteLiteral(" <dd");
5294
5295 WriteLiteral(" class=\"col-xs-9\"");
5296
5297 WriteLiteral(">\r\n");
5298
5299 WriteLiteral(" ");
5300
5301
5302 #line 2531 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5303 Write(str_workshop);
5304
5305
5306 #line default
5307 #line hidden
5308 WriteLiteral("\r\n </dd>\r\n");
5309
5310
5311 #line 2533 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5312 }
5313
5314
5315 #line default
5316 #line hidden
5317 WriteLiteral(" ");
5318
5319
5320 #line 2534 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5321
5322 var pattern = @"\<[^>]*\>";
5323 Regex rgx = new Regex(pattern);
5324 string otherNamesValue = rgx.Replace(GetString("Ecom:Product:Field.OtherNames.Value"), String.Empty);
5325
5326
5327 #line default
5328 #line hidden
5329 WriteLiteral("\r\n");
5330
5331
5332 #line 2539 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5333
5334
5335 #line default
5336 #line hidden
5337
5338 #line 2539 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5339 if (!String.IsNullOrWhiteSpace(otherNamesValue) && !isIVD )
5340 {
5341
5342
5343 #line default
5344 #line hidden
5345 WriteLiteral(" <dt");
5346
5347 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
5348
5349 WriteLiteral(">\r\n");
5350
5351 WriteLiteral(" ");
5352
5353
5354 #line 2542 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5355 Write(GetString("Ecom:Product:Field.OtherNames.Name"));
5356
5357
5358 #line default
5359 #line hidden
5360 WriteLiteral("\r\n </dt>\r\n");
5361
5362 WriteLiteral(" <dd");
5363
5364 WriteLiteral(" class=\"col-xs-9\"");
5365
5366 WriteLiteral(">\r\n");
5367
5368 WriteLiteral(" ");
5369
5370
5371 #line 2545 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5372 Write(otherNamesValue);
5373
5374
5375 #line default
5376 #line hidden
5377 WriteLiteral("\r\n </dd>\r\n");
5378
5379
5380 #line 2547 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5381 }
5382
5383
5384 #line default
5385 #line hidden
5386 WriteLiteral("\r\n");
5387
5388
5389 #line 2549 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5390
5391
5392 #line default
5393 #line hidden
5394
5395 #line 2549 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5396 if (previousCompany.Any() && !isASR && !isIVD)
5397 {
5398
5399
5400 #line default
5401 #line hidden
5402 WriteLiteral(" <dt");
5403
5404 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
5405
5406 WriteLiteral(">\r\n");
5407
5408 WriteLiteral(" ");
5409
5410
5411 #line 2552 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5412 Write(Translate("Previously", "Previously"));
5413
5414
5415 #line default
5416 #line hidden
5417 WriteLiteral("\r\n </dt>\r\n");
5418
5419 WriteLiteral(" <dd");
5420
5421 WriteLiteral(" class=\"col-xs-9\"");
5422
5423 WriteLiteral(">\r\n <div>\r\n");
5424
5425
5426 #line 2556 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5427
5428
5429 #line default
5430 #line hidden
5431
5432 #line 2556 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5433 foreach (var x in previousCompany)
5434 {
5435
5436
5437 #line default
5438 #line hidden
5439
5440 #line 2558 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5441 Write(String.Format("{1} Catalog# {0}<br/>", x.Key.ToString(), x.Value.ToString()));
5442
5443
5444 #line default
5445 #line hidden
5446
5447 #line 2558 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5448
5449 }
5450
5451
5452 #line default
5453 #line hidden
5454 WriteLiteral(" </div>\r\n </dd>\r\n");
5455
5456
5457 #line 2562 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5458 }
5459
5460
5461 #line default
5462 #line hidden
5463 WriteLiteral("\r\n");
5464
5465 WriteLiteral(" ");
5466
5467
5468 #line 2564 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5469 Write(RenderIsoype(str_IsotypeForFilter));
5470
5471
5472 #line default
5473 #line hidden
5474 WriteLiteral("\r\n");
5475
5476
5477 #line 2565 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5478
5479
5480 #line default
5481 #line hidden
5482
5483 #line 2565 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5484 if (!string.IsNullOrEmpty(str_TotalseqSequence))
5485 {
5486
5487
5488 #line default
5489 #line hidden
5490 WriteLiteral(" <dt");
5491
5492 WriteLiteral(" class=\"col-xs-4 col-sm-3 noPaddingLeft\"");
5493
5494 WriteLiteral(">\r\n");
5495
5496 WriteLiteral(" ");
5497
5498
5499 #line 2568 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5500 Write(Translate("Barcode Sequence"));
5501
5502
5503 #line default
5504 #line hidden
5505 WriteLiteral("\r\n </dt>\r\n");
5506
5507 WriteLiteral(" <dd>\r\n");
5508
5509 WriteLiteral(" ");
5510
5511
5512 #line 2571 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5513 Write(str_TotalseqSequence);
5514
5515
5516 #line default
5517 #line hidden
5518 WriteLiteral("\r\n </dd>\r\n");
5519
5520
5521 #line 2573 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5522 }
5523
5524
5525 #line default
5526 #line hidden
5527 WriteLiteral(" </dl>\r\n\r\n ");
5528
5529 WriteLiteral("\r\n");
5530
5531
5532 #line 2577 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5533
5534
5535 #line default
5536 #line hidden
5537
5538 #line 2577 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5539 if (str_currentPageId != printPage && str_currentPageId == printPage && !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".KitContents.Value")) && !isASR)
5540 {
5541
5542
5543 #line default
5544 #line hidden
5545 WriteLiteral(" <dl");
5546
5547 WriteLiteral(" class=\"col-xs-12 noPadding\"");
5548
5549 WriteLiteral(">\r\n");
5550
5551 WriteLiteral(" ");
5552
5553
5554 #line 2580 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5555 Write(RenderCustomField(productFieldType, "KitContents", @Translate("KitContents", "Kit Contents")));
5556
5557
5558 #line default
5559 #line hidden
5560 WriteLiteral("\r\n </dl>\r\n");
5561
5562
5563 #line 2582 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5564 }
5565
5566
5567
5568 #line default
5569 #line hidden
5570
5571 #line 2584 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5572
5573
5574
5575 #line default
5576 #line hidden
5577 WriteLiteral(" ");
5578
5579
5580 #line 2585 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5581 if(str_productFormat.ToUpper().Contains("BV") && str_productName.ToUpper().Contains("MOUSE") && productIsUg.ToUpper().Contains("YES") && productIsUl.ToUpper().Contains("YES") && !isASR){
5582
5583
5584 #line default
5585 #line hidden
5586 WriteLiteral(" <div");
5587
5588 WriteLiteral(" class=\"pdfDescription col-xs-12 noPaddingLeft\"");
5589
5590 WriteLiteral(">\r\n <div");
5591
5592 WriteLiteral(" class=\"title col-xs-3 noPaddingLeft\"");
5593
5594 WriteLiteral("> </div>\r\n <div");
5595
5596 WriteLiteral(" class=\"col-xs-9\"");
5597
5598 WriteLiteral(">This product is offered in multiple sizing options (µg and µL/test s" +
5599 "izes). To compare these sizing options and learn which is the best choice for yo" +
5600 "u, please contact tech support.</div>\r\n </div>\r\n");
5601
5602
5603 #line 2590 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5604 }
5605
5606
5607 #line default
5608 #line hidden
5609 WriteLiteral("\r\n");
5610
5611
5612 #line 2592 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5613
5614
5615 #line default
5616 #line hidden
5617
5618 #line 2592 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5619 if (!String.IsNullOrEmpty(str_productDescription))
5620 {
5621
5622
5623 #line default
5624 #line hidden
5625 WriteLiteral(" <dl");
5626
5627 WriteLiteral(" class=\"pdfDescription col-xs-12 noPaddingLeft\"");
5628
5629 WriteLiteral(">\r\n <dt");
5630
5631 WriteLiteral(" class=\"title col-xs-3 noPaddingLeft\"");
5632
5633 WriteLiteral("><strong>");
5634
5635
5636 #line 2595 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5637 Write(Translate("Description", "Description"));
5638
5639
5640 #line default
5641 #line hidden
5642 WriteLiteral("</strong></dt>\r\n <dd");
5643
5644 WriteLiteral(" class=\"col-xs-9 noPaddingLeft\"");
5645
5646 WriteLiteral(">");
5647
5648
5649 #line 2596 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5650 Write(RenderLongDescription(str_productDescription, str_productId));
5651
5652
5653 #line default
5654 #line hidden
5655 WriteLiteral("</dd>\r\n </dl>\r\n");
5656
5657
5658 #line 2598 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5659 }
5660
5661
5662 #line default
5663 #line hidden
5664 WriteLiteral(" ");
5665
5666
5667 #line 2599 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5668 if (!String.IsNullOrEmpty(str_qualityStatement))
5669 {
5670
5671
5672 #line default
5673 #line hidden
5674
5675 #line 2601 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5676 Write(RenderProductField("QualityStatement",@Translate("QualityStatementNameB","Quality Statement"),str_productId,str_productRegulatoryStatus,catalogFirstLetter,str_productFormat,productFieldType,str_productName));
5677
5678
5679 #line default
5680 #line hidden
5681
5682 #line 2601 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5683
5684 }
5685
5686
5687 #line default
5688 #line hidden
5689 WriteLiteral("\r\n\r\n");
5690
5691 WriteLiteral(" ");
5692
5693
5694 #line 2605 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5695 Write(RenderTDS(
5696 true,
5697 str_productDataSheetFile,
5698 str_productDataSheet,
5699 printPage,
5700 productFieldType,
5701 str_productId,
5702 str_productName,
5703 str_productRegulatoryStatus,
5704 techSupportPageID,
5705 @Translate("datasheetNotAvailable", "This datasheet is currently not available online. Click 'OK' to contact technical service for more information."),
5706 "",
5707 "",
5708 productUpdated
5709 ));
5710
5711
5712 #line default
5713 #line hidden
5714 WriteLiteral("\r\n\r\n </div>\r\n\r\n ");
5715
5716 WriteLiteral("\r\n");
5717
5718
5719 #line 2624 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5720
5721
5722 #line default
5723 #line hidden
5724
5725 #line 2624 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5726 if (!String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".KitContents.Value")) && !isASR)
5727 {
5728
5729
5730 #line default
5731 #line hidden
5732 WriteLiteral(" <div");
5733
5734 WriteLiteral(" id=\"kitContents\"");
5735
5736 WriteLiteral(" class=\"col-xs-12 col-sm-9 pull-right\"");
5737
5738 WriteLiteral(">\r\n\r\n <h2");
5739
5740 WriteLiteral(" class=\"col-xs-12 noPadding\"");
5741
5742 WriteLiteral(">\r\n");
5743
5744 WriteLiteral(" ");
5745
5746
5747 #line 2629 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5748 Write(Translate("KitContents", "Kit Contents"));
5749
5750
5751 #line default
5752 #line hidden
5753 WriteLiteral("\r\n </h2>\r\n <dl");
5754
5755 WriteLiteral(" class=\"col-xs-12 noPadding\"");
5756
5757 WriteLiteral(">\r\n");
5758
5759 WriteLiteral(" ");
5760
5761
5762 #line 2632 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5763 Write(RenderCustomField(productFieldType, "KitContents", @Translate("KitContents", "Kit Contents")));
5764
5765
5766 #line default
5767 #line hidden
5768 WriteLiteral("\r\n </dl>\r\n </div>\r\n");
5769
5770
5771 #line 2635 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5772 }
5773
5774
5775 #line default
5776 #line hidden
5777 WriteLiteral("\r\n <div");
5778
5779 WriteLiteral(" id=\"productDetails\"");
5780
5781 WriteLiteral(" class=\"col-xs-12 col-sm-9 pull-right\"");
5782
5783 WriteLiteral(" data-isotypeControl=\'");
5784
5785
5786 #line 2637 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5787 Write(Translate("IsotypeControl", "Isotype Control"));
5788
5789
5790 #line default
5791 #line hidden
5792 WriteLiteral("\'");
5793
5794 WriteLiteral(">\r\n <h2");
5795
5796 WriteLiteral(" class=\"col-xs-12 noPadding\"");
5797
5798 WriteLiteral(">\r\n");
5799
5800 WriteLiteral(" ");
5801
5802
5803 #line 2639 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5804 Write(Translate("ProductDetails", "Product Details"));
5805
5806
5807 #line default
5808 #line hidden
5809 WriteLiteral("\r\n </h2>\r\n\r\n <dl");
5810
5811 WriteLiteral(" class=\"col-xs-12 noPadding\"");
5812
5813 WriteLiteral(">\r\n\r\n");
5814
5815
5816 #line 2644 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5817
5818
5819 #line default
5820 #line hidden
5821
5822 #line 2644 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5823 if(isIVD){
5824
5825
5826 #line default
5827 #line hidden
5828
5829 #line 2645 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5830 Write(RenderProductField("ProductInfo", @Translate("ProductInformation","Product Information")));
5831
5832
5833 #line default
5834 #line hidden
5835
5836 #line 2645 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5837 ;
5838 }
5839
5840
5841 #line default
5842 #line hidden
5843 WriteLiteral(" ");
5844
5845
5846 #line 2647 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5847 if(isRUO){
5848
5849
5850 #line default
5851 #line hidden
5852
5853 #line 2648 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5854 Write(RenderProductField("Reactivity", @Translate("VerifiedReactivity","Verified Reactivity"), "", "", "", "", productType, "", null, true));
5855
5856
5857 #line default
5858 #line hidden
5859
5860 #line 2648 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5861
5862 }
5863 else{
5864
5865
5866 #line default
5867 #line hidden
5868
5869 #line 2651 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5870 Write(RenderProductField("Reactivity", @Translate("Reactivity","Reactivity"), "", "", "", "", productType, "", null, true));
5871
5872
5873 #line default
5874 #line hidden
5875
5876 #line 2651 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5877
5878 }
5879
5880
5881 #line default
5882 #line hidden
5883 WriteLiteral(" ");
5884
5885
5886 #line 2653 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5887 Write(RenderProductField("ReportedReactivity", @Translate("ReportedReactivity","Reported Reactivity"), "", "", "", "", productType, "", null, true));
5888
5889
5890 #line default
5891 #line hidden
5892 WriteLiteral("\r\n");
5893
5894
5895 #line 2654 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5896
5897
5898 #line default
5899 #line hidden
5900
5901 #line 2654 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5902 if(!isASR && !isIVD){
5903
5904
5905 #line default
5906 #line hidden
5907
5908 #line 2655 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5909 Write(RenderABType("ABType", @Translate("AntibodyType","Antibody Type")));
5910
5911
5912 #line default
5913 #line hidden
5914
5915 #line 2655 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5916
5917 }
5918
5919
5920 #line default
5921 #line hidden
5922 WriteLiteral(" ");
5923
5924
5925 #line 2657 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5926 if(!isASR && !isIVD){
5927
5928
5929 #line default
5930 #line hidden
5931
5932 #line 2658 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5933 Write(RenderProductField("HostSpecies", @Translate("HostSpecies","Host Species")));
5934
5935
5936 #line default
5937 #line hidden
5938
5939 #line 2658 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5940
5941 }
5942
5943
5944 #line default
5945 #line hidden
5946 WriteLiteral(" ");
5947
5948
5949 #line 2660 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5950 if(!isASR){
5951
5952
5953 #line default
5954 #line hidden
5955
5956 #line 2661 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5957 Write(RenderCustomField(productFieldType, "Immunogen", @Translate("Immunogen", "Immunogen")));
5958
5959
5960 #line default
5961 #line hidden
5962
5963 #line 2661 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5964
5965 }
5966
5967
5968 #line default
5969 #line hidden
5970 WriteLiteral(" ");
5971
5972
5973 #line 2663 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5974 if(!isASR){
5975
5976
5977 #line default
5978 #line hidden
5979
5980 #line 2664 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5981 Write(RenderCustomField(productFieldType, "Derivation", @Translate("Source", "Source")));
5982
5983
5984 #line default
5985 #line hidden
5986
5987 #line 2664 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5988
5989 }
5990
5991
5992 #line default
5993 #line hidden
5994 WriteLiteral(" ");
5995
5996
5997 #line 2666 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
5998 if(!isASR){
5999
6000
6001 #line default
6002 #line hidden
6003
6004 #line 2667 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6005 Write(RenderCustomField(productFieldType, "Mass", @Translate("MolecularMass", "Molecular Mass")));
6006
6007
6008 #line default
6009 #line hidden
6010
6011 #line 2667 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6012
6013 }
6014
6015
6016 #line default
6017 #line hidden
6018 WriteLiteral(" ");
6019
6020
6021 #line 2669 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6022 Write(RenderProductField("NTerminalSequenceAnalysis",@Translate("NTerminalSequenceAnalysisNameA","N-terminal<br />Sequence Analysis")));
6023
6024
6025 #line default
6026 #line hidden
6027 WriteLiteral("\r\n");
6028
6029
6030 #line 2670 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6031
6032
6033 #line default
6034 #line hidden
6035
6036 #line 2670 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6037 if(!isASR){
6038
6039
6040 #line default
6041 #line hidden
6042
6043 #line 2671 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6044 Write(RenderCustomField(productFieldType, "Purity", @Translate("Purity", "Purity")));
6045
6046
6047 #line default
6048 #line hidden
6049
6050 #line 2671 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6051
6052 }
6053
6054
6055 #line default
6056 #line hidden
6057 WriteLiteral(" ");
6058
6059
6060 #line 2673 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6061 Write(RenderProductField("Formulation", @Translate("Formulation", "Formulation")));
6062
6063
6064 #line default
6065 #line hidden
6066 WriteLiteral("\r\n");
6067
6068 WriteLiteral(" ");
6069
6070
6071 #line 2674 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6072 Write(RenderProductField("EndotoxinLevel",@Translate("EndotoxinLevelName","Endotoxin Level")));
6073
6074
6075 #line default
6076 #line hidden
6077 WriteLiteral("\r\n");
6078
6079 WriteLiteral(" ");
6080
6081
6082 #line 2675 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6083 Write(RenderProductField("ResidualHostCellProteinContent",@Translate("ResidualHostCellProteinContentName","Residual Host Cell Protein Content")));
6084
6085
6086 #line default
6087 #line hidden
6088 WriteLiteral("\r\n");
6089
6090 WriteLiteral(" ");
6091
6092
6093 #line 2676 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6094 Write(RenderProductField("Specifications",@Translate("SpecificationsName","Specifications")));
6095
6096
6097 #line default
6098 #line hidden
6099 WriteLiteral("\r\n");
6100
6101 WriteLiteral(" ");
6102
6103
6104 #line 2677 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6105 Write(RenderCustomField(productFieldType, "Preparation", @Translate("Preparation", "Preparation")));
6106
6107
6108 #line default
6109 #line hidden
6110 WriteLiteral("\r\n\r\n");
6111
6112
6113 #line 2679 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6114
6115
6116 #line default
6117 #line hidden
6118
6119 #line 2679 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6120 if (!String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Concentration.Value.Clean")))
6121 {
6122
6123
6124 #line default
6125 #line hidden
6126 WriteLiteral(" <dt");
6127
6128 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
6129
6130 WriteLiteral(">\r\n");
6131
6132 WriteLiteral(" ");
6133
6134
6135 #line 2682 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6136 Write(Translate("Concentration", "Concentration"));
6137
6138
6139 #line default
6140 #line hidden
6141 WriteLiteral("\r\n </dt>\r\n");
6142
6143 WriteLiteral(" <dd");
6144
6145 WriteLiteral(" class=\"col-xs-9\"");
6146
6147 WriteLiteral(">\r\n");
6148
6149 WriteLiteral(" ");
6150
6151
6152 #line 2685 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6153 Write(LocalizeLinks(@GetString("Ecom:Product.CategoryField." + productFieldType + ".Concentration.Value.Clean")));
6154
6155
6156 #line default
6157 #line hidden
6158 WriteLiteral(" ");
6159
6160
6161 #line 2685 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6162 Write(GetString("Ecom:Product.CategoryField." + productFieldType + ".ConcentrationUnits.Value.Clean"));
6163
6164
6165 #line default
6166 #line hidden
6167 WriteLiteral("\r\n </dd>\r\n");
6168
6169
6170 #line 2687 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6171 }
6172
6173
6174 #line default
6175 #line hidden
6176 WriteLiteral("\r\n");
6177
6178 WriteLiteral(" ");
6179
6180
6181 #line 2689 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6182 Write(RenderProductField("Storage", @Translate("StorageHandling", "Storage & Handling"), str_productId));
6183
6184
6185 #line default
6186 #line hidden
6187 WriteLiteral("\r\n");
6188
6189
6190 #line 2690 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6191
6192
6193 #line default
6194 #line hidden
6195
6196 #line 2690 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6197 if(!isASR){
6198
6199
6200 #line default
6201 #line hidden
6202
6203 #line 2691 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6204 Write(RenderCustomField(productFieldType, "Activity", @Translate("Activity", "Activity")));
6205
6206
6207 #line default
6208 #line hidden
6209
6210 #line 2691 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6211
6212 }
6213
6214
6215 #line default
6216 #line hidden
6217 WriteLiteral(" ");
6218
6219
6220 #line 2693 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6221 if (!string.IsNullOrWhiteSpace(GetString("Ecom:Product:Field.Applications.Value")) && !isIVD)
6222 {
6223
6224
6225 #line default
6226 #line hidden
6227 WriteLiteral(" <dt");
6228
6229 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
6230
6231 WriteLiteral(">\r\n");
6232
6233 WriteLiteral(" ");
6234
6235
6236 #line 2696 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6237 Write(Translate("Application", "Application"));
6238
6239
6240 #line default
6241 #line hidden
6242 WriteLiteral("\r\n </dt>\r\n");
6243
6244 WriteLiteral(" <dd");
6245
6246 WriteLiteral(" class=\"col-xs-9\"");
6247
6248 WriteLiteral(">\r\n <span>");
6249
6250
6251 #line 2699 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6252 Write(GetString("Ecom:Product:Field.Applications.Value"));
6253
6254
6255 #line default
6256 #line hidden
6257 WriteLiteral("</span>\r\n\r\n");
6258
6259
6260 #line 2701 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6261
6262
6263 #line default
6264 #line hidden
6265
6266 #line 2701 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6267 if (productFieldType.Equals("LEGENDplex"))
6268 {
6269
6270
6271 #line default
6272 #line hidden
6273 WriteLiteral(" ");
6274
6275 WriteLiteral("\r\n <br/>\r\n");
6276
6277 WriteLiteral(" ");
6278
6279
6280 #line 2705 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6281 Write(Translate("learnAboutLegendPlex", "Learn more about LEGENDplex™ at biolegend.com/legendplex."));
6282
6283
6284 #line default
6285 #line hidden
6286 WriteLiteral("\r\n <br/><br/>\r\n");
6287
6288 WriteLiteral(" ");
6289
6290
6291 #line 2707 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6292 Write(Translate("downloadLegendPlexSoftware", "Download the LEGENDplex™ software."));
6293
6294
6295 #line default
6296 #line hidden
6297 WriteLiteral("\r\n ");
6298
6299 WriteLiteral("\r\n");
6300
6301
6302 #line 2709 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6303 }
6304
6305
6306 #line default
6307 #line hidden
6308 WriteLiteral("\r\n </dd>\r\n");
6309
6310
6311 #line 2712 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6312 }
6313
6314
6315
6316 #line default
6317 #line hidden
6318
6319 #line 2714 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6320
6321
6322
6323 #line default
6324 #line hidden
6325 WriteLiteral(" ");
6326
6327
6328 #line 2715 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6329 if (str_productFormat.Equals("ELISA") || str_productFormat.Equals("ELISA_STD") || str_productFormat.Equals("ELISA_DLX"))
6330 {
6331
6332
6333 #line default
6334 #line hidden
6335 WriteLiteral(" <dt");
6336
6337 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
6338
6339 WriteLiteral(">");
6340
6341
6342 #line 2717 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6343 Write(Translate("spaceText", " "));
6344
6345
6346 #line default
6347 #line hidden
6348 WriteLiteral("</dt>\r\n");
6349
6350 WriteLiteral(" <dd");
6351
6352 WriteLiteral(" class=\"col-xs-9\"");
6353
6354 WriteLiteral(">\r\n");
6355
6356 WriteLiteral(" ");
6357
6358
6359 #line 2719 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6360 Write(Translate("elisaGreenText", " As a part of BioLegend's efforts to go green, each new lot of the ELISA MAX™ sets will include a summarized version of its manual. "));
6361
6362
6363 #line default
6364 #line hidden
6365 WriteLiteral(" \r\n </dd>\r\n");
6366
6367
6368 #line 2721 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6369 }
6370
6371
6372 #line default
6373 #line hidden
6374 WriteLiteral("\r\n");
6375
6376 WriteLiteral(" ");
6377
6378
6379 #line 2723 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6380 Write(RenderProductField("Usage", @Translate("RecommendedUsage", "Recommended Usage"), str_productId, str_productRegulatoryStatus, catalogFirstLetter, str_productFormat, productFieldType, str_productName));
6381
6382
6383 #line default
6384 #line hidden
6385 WriteLiteral("\r\n \r\n\r\n");
6386
6387
6388 #line 2726 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6389
6390
6391 #line default
6392 #line hidden
6393
6394 #line 2726 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6395 if(!isASR && !isIVD)
6396 {
6397
6398
6399 #line default
6400 #line hidden
6401
6402 #line 2728 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6403 Write(RenderLaser(str_productLaser));
6404
6405
6406 #line default
6407 #line hidden
6408
6409 #line 2728 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6410
6411
6412
6413 #line default
6414 #line hidden
6415
6416 #line 2729 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6417 Write(RenderProductField("AppNotes", @Translate("ApplicationNotes", "Application Notes")));
6418
6419
6420 #line default
6421 #line hidden
6422
6423 #line 2729 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6424
6425
6426
6427 #line default
6428 #line hidden
6429
6430 #line 2730 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6431 Write(RenderProductField("AdditionalProductNotes", @Translate("AdditionalProductNotesTitle", "Additional Product Notes")));
6432
6433
6434 #line default
6435 #line hidden
6436
6437 #line 2730 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6438
6439 }
6440
6441
6442 #line default
6443 #line hidden
6444 WriteLiteral("\r\n");
6445
6446
6447 #line 2733 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6448
6449
6450 #line default
6451 #line hidden
6452
6453 #line 2733 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6454 if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product:Field.AppReferences.Value")) && !isASR)
6455 {
6456
6457
6458 #line default
6459 #line hidden
6460 WriteLiteral(" <dt");
6461
6462 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
6463
6464 WriteLiteral(">\r\n");
6465
6466 WriteLiteral(" ");
6467
6468
6469 #line 2736 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6470 Write(Translate("ApplicationReferences","Application References"));
6471
6472
6473 #line default
6474 #line hidden
6475 WriteLiteral("\r\n </dt>\r\n");
6476
6477 WriteLiteral(" <dd");
6478
6479 WriteLiteral(" class=\"col-xs-9\"");
6480
6481 WriteLiteral(" id=\"applicationReferences\"");
6482
6483 WriteLiteral(" data-seeLess=\"");
6484
6485
6486 #line 2738 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6487 Write(Translate("seeLess", "See Less"));
6488
6489
6490 #line default
6491 #line hidden
6492 WriteLiteral("\"");
6493
6494 WriteLiteral(" data-seeMore=\"");
6495
6496
6497 #line 2738 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6498 Write(Translate("seeMore", "See More"));
6499
6500
6501 #line default
6502 #line hidden
6503 WriteLiteral("\"");
6504
6505 WriteLiteral(">\r\n");
6506
6507
6508 #line 2739 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6509
6510
6511 #line default
6512 #line hidden
6513
6514 #line 2739 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6515
6516 var removeAnchor = Regex.Replace(GetString("Ecom:Product:Field.AppReferences.Value"), @"<a [^>]+>(.*?)<\/a>", "$1").Replace("<em>", "").Replace("</em>", "");
6517
6518
6519 #line default
6520 #line hidden
6521 WriteLiteral("\r\n");
6522
6523
6524 #line 2742 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6525
6526
6527 #line default
6528 #line hidden
6529
6530 #line 2742 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6531 if (removeAnchor.Contains("</li>"))
6532 {
6533 var positionOfCut = removeAnchor.Split(new string[] {"</li>"}, StringSplitOptions.None);
6534 var count = 0;
6535 foreach (var li in positionOfCut)
6536 {
6537 count++;
6538 if (count > 12)
6539 {
6540 break;
6541 }
6542
6543
6544 #line default
6545 #line hidden
6546
6547 #line 2753 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6548 Write(li + "</li>");
6549
6550
6551 #line default
6552 #line hidden
6553
6554 #line 2753 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6555
6556 }
6557 }
6558 else
6559 {
6560
6561
6562 #line default
6563 #line hidden
6564
6565 #line 2758 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6566 Write(removeAnchor.Substring(0, (removeAnchor.Length <= 800 ? removeAnchor.Length - 1 : 800)));
6567
6568
6569 #line default
6570 #line hidden
6571
6572 #line 2758 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6573
6574 }
6575
6576
6577 #line default
6578 #line hidden
6579 WriteLiteral("\r\n </dd>\r\n");
6580
6581
6582 #line 2762 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6583 }
6584
6585
6586 #line default
6587 #line hidden
6588 WriteLiteral("\r\n");
6589
6590
6591 #line 2764 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6592
6593
6594 #line default
6595 #line hidden
6596
6597 #line 2764 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6598 if( !string.IsNullOrWhiteSpace(applicationReferences) && !isASR && !isIVD)
6599 {
6600
6601
6602 #line default
6603 #line hidden
6604 WriteLiteral(" <dt");
6605
6606 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
6607
6608 WriteLiteral(">\r\n");
6609
6610 WriteLiteral(" ");
6611
6612
6613 #line 2767 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6614 Write(Translate("ProductCitations","Product Citations"));
6615
6616
6617 #line default
6618 #line hidden
6619 WriteLiteral("\r\n </dt>\r\n");
6620
6621 WriteLiteral(" <dd");
6622
6623 WriteLiteral(" class=\"col-xs-9\"");
6624
6625 WriteLiteral(" id=\"productSpecificReferences\"");
6626
6627 WriteLiteral(" data-seeLess=\"");
6628
6629
6630 #line 2769 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6631 Write(Translate("seeLess", "See Less"));
6632
6633
6634 #line default
6635 #line hidden
6636 WriteLiteral("\"");
6637
6638 WriteLiteral(" data-seeMore=\"");
6639
6640
6641 #line 2769 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6642 Write(Translate("seeMore", "See More"));
6643
6644
6645 #line default
6646 #line hidden
6647 WriteLiteral("\"");
6648
6649 WriteLiteral(">\r\n");
6650
6651
6652 #line 2770 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6653
6654
6655 #line default
6656 #line hidden
6657
6658 #line 2770 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6659
6660 var removeAnchor = Regex.Replace(applicationReferences, @"<a [^>]+>(.*?)<\/a>", "$1").Replace("<em>", "").Replace("</em>", "");
6661
6662
6663 #line default
6664 #line hidden
6665 WriteLiteral("\r\n");
6666
6667
6668 #line 2773 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6669
6670
6671 #line default
6672 #line hidden
6673
6674 #line 2773 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6675 if (removeAnchor.Contains("</li>"))
6676 {
6677 var positionOfCut = removeAnchor.Split(new string[] {"</li>"}, StringSplitOptions.None);
6678 var count = 0;
6679 foreach (var li in positionOfCut)
6680 {
6681 count++;
6682 if (count > 12)
6683 {
6684 break;
6685 }
6686
6687
6688 #line default
6689 #line hidden
6690
6691 #line 2784 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6692 Write(li + "</li>");
6693
6694
6695 #line default
6696 #line hidden
6697
6698 #line 2784 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6699
6700 }
6701 }
6702 else
6703 {
6704
6705
6706 #line default
6707 #line hidden
6708
6709 #line 2789 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6710 Write(removeAnchor.Substring(0, 800));
6711
6712
6713 #line default
6714 #line hidden
6715
6716 #line 2789 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6717
6718 }
6719
6720
6721 #line default
6722 #line hidden
6723 WriteLiteral(" </dd>\r\n");
6724
6725
6726 #line 2792 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6727 }
6728
6729
6730 #line default
6731 #line hidden
6732 WriteLiteral("\r\n");
6733
6734
6735 #line 2794 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6736
6737
6738 #line default
6739 #line hidden
6740
6741 #line 2794 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6742 if (RRIDLists.ToList().Any() && !isASR && !isIVD)
6743 {
6744
6745
6746 #line default
6747 #line hidden
6748 WriteLiteral(" <dt");
6749
6750 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
6751
6752 WriteLiteral(">");
6753
6754
6755 #line 2796 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6756 Write(Translate("RRID", "RRID"));
6757
6758
6759 #line default
6760 #line hidden
6761 WriteLiteral("</dt>\r\n");
6762
6763 WriteLiteral(" <dd");
6764
6765 WriteLiteral(" class=\"col-xs-9\"");
6766
6767 WriteLiteral(">\r\n ");
6768
6769 WriteLiteral("\r\n");
6770
6771
6772 #line 2799 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6773
6774
6775 #line default
6776 #line hidden
6777
6778 #line 2799 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6779 foreach (var x in RRIDLists.ToList())
6780 {
6781
6782
6783 #line default
6784 #line hidden
6785
6786 #line 2801 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6787 Write(x.Value);
6788
6789
6790 #line default
6791 #line hidden
6792
6793 #line 2801 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6794
6795
6796
6797 #line default
6798 #line hidden
6799 WriteLiteral(" ");
6800
6801 WriteLiteral("(");
6802
6803
6804 #line 2802 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6805 Write(Translate("biolegendCatNo", "BioLegend Cat. No."));
6806
6807
6808 #line default
6809 #line hidden
6810 WriteLiteral(" ");
6811
6812
6813 #line 2802 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6814 Write(x.Key);
6815
6816
6817 #line default
6818 #line hidden
6819 WriteLiteral(")");
6820
6821 WriteLiteral("\r\n");
6822
6823 WriteLiteral(" <br/>\r\n");
6824
6825
6826 #line 2804 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6827 }
6828
6829
6830 #line default
6831 #line hidden
6832 WriteLiteral(" </dd>\r\n");
6833
6834
6835 #line 2806 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6836 }
6837
6838
6839 #line default
6840 #line hidden
6841 WriteLiteral(" ");
6842
6843
6844 #line 2807 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6845 if(!isASR && !isIVD){
6846
6847
6848 #line default
6849 #line hidden
6850
6851 #line 2808 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6852 Write(RenderCustomField(productFieldType, "Sensitivity", @Translate("Sensitivity", "Sensitivity")));
6853
6854
6855 #line default
6856 #line hidden
6857
6858 #line 2808 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6859
6860
6861
6862 #line default
6863 #line hidden
6864
6865 #line 2809 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6866 Write(RenderCustomField(productFieldType, "StandardRange", @Translate("StandardRange", "Standard Range")));
6867
6868
6869 #line default
6870 #line hidden
6871
6872 #line 2809 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6873
6874 }
6875
6876
6877 #line default
6878 #line hidden
6879 WriteLiteral(" ");
6880
6881
6882 #line 2811 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6883 if(!isASR){
6884
6885
6886 #line default
6887 #line hidden
6888
6889 #line 2812 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6890 Write(RenderCustomField(productFieldType, "MaterialsNotIncluded", @Translate("MaterialsNotIncluded", "Materials Not Included")));
6891
6892
6893 #line default
6894 #line hidden
6895
6896 #line 2812 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6897
6898 }
6899
6900
6901 #line default
6902 #line hidden
6903 WriteLiteral(" ");
6904
6905
6906 #line 2814 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6907 Write(RenderProductField("Disclaimer",@Translate("Disclaimer","Disclaimer"),str_productId,str_productRegulatoryStatus,catalogFirstLetter,str_productFormat,productFieldType,str_productName));
6908
6909
6910 #line default
6911 #line hidden
6912 WriteLiteral("\r\n </dl>\r\n </div>\r\n \r\n");
6913
6914
6915 #line 2818 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6916
6917
6918 #line default
6919 #line hidden
6920
6921 #line 2818 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6922 if ((!String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Structure.Value"))
6923 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Distribution.Value"))
6924 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Function.Value"))
6925 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Interaction.Value"))
6926 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Ligand.Value"))
6927 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Bioactivity.Value"))
6928 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".CellSources.Value"))
6929 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Cross.Value"))
6930 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Modification.Value"))
6931 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Receptors.Value"))
6932 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Reconstitution.Value"))
6933 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".AntigenReferences.Value"))
6934 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Regulation.Value"))
6935 || !string.IsNullOrWhiteSpace(str_biologyArea)
6936 || !string.IsNullOrWhiteSpace(str_molecularFamily)
6937 || !string.IsNullOrWhiteSpace(str_cellType)
6938 || geneList.Any()) && !isASR && !isIVD)
6939 {
6940
6941
6942 #line default
6943 #line hidden
6944 WriteLiteral(" <div");
6945
6946 WriteLiteral(" id=\"antigenDetails\"");
6947
6948 WriteLiteral(" class=\"col-xs-12 col-sm-9 pull-right\"");
6949
6950 WriteLiteral(">\r\n\r\n <h2");
6951
6952 WriteLiteral(" class=\"col-xs-12 noPadding\"");
6953
6954 WriteLiteral(">\r\n");
6955
6956 WriteLiteral(" ");
6957
6958
6959 #line 2839 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6960 Write(Translate("AntigenDetails", "Antigen Details"));
6961
6962
6963 #line default
6964 #line hidden
6965 WriteLiteral("\r\n </h2>\r\n\r\n <dl");
6966
6967 WriteLiteral(" class=\"col-xs-12 noPadding\"");
6968
6969 WriteLiteral(">\r\n");
6970
6971
6972 #line 2843 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6973
6974
6975 #line default
6976 #line hidden
6977
6978 #line 2843 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6979 if(!isASR && !isIVD){
6980
6981
6982 #line default
6983 #line hidden
6984
6985 #line 2844 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6986 Write(RenderCustomField(productFieldType, "Structure", @Translate("Structure", "Structure")));
6987
6988
6989 #line default
6990 #line hidden
6991
6992 #line 2844 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
6993
6994
6995
6996 #line default
6997 #line hidden
6998
6999 #line 2845 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7000 Write(RenderCustomField(productFieldType, "Distribution", @Translate("Distribution", "Distribution")));
7001
7002
7003 #line default
7004 #line hidden
7005
7006 #line 2845 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7007
7008
7009
7010 #line default
7011 #line hidden
7012
7013 #line 2846 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7014 Write(RenderCustomField(productFieldType, "Function", @Translate("Function", "Function")));
7015
7016
7017 #line default
7018 #line hidden
7019
7020 #line 2846 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7021
7022
7023
7024 #line default
7025 #line hidden
7026
7027 #line 2847 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7028 Write(RenderCustomField(productFieldType, "Interaction", @Translate("Interaction", "Interaction")));
7029
7030
7031 #line default
7032 #line hidden
7033
7034 #line 2847 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7035
7036
7037
7038 #line default
7039 #line hidden
7040
7041 #line 2848 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7042 Write(RenderCustomField(productFieldType, "Ligand", @Translate("LigandReceptor", "Ligand/Receptor")));
7043
7044
7045 #line default
7046 #line hidden
7047
7048 #line 2848 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7049
7050
7051
7052 #line default
7053 #line hidden
7054
7055 #line 2849 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7056 Write(RenderCustomField(productFieldType, "Bioactivity", @Translate("Bioactivity", "Bioactivity")));
7057
7058
7059 #line default
7060 #line hidden
7061
7062 #line 2849 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7063
7064
7065
7066 #line default
7067 #line hidden
7068
7069 #line 2850 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7070 Write(RenderCustomField(productFieldType, "CellSources", @Translate("CellSources", "Cell Sources")));
7071
7072
7073 #line default
7074 #line hidden
7075
7076 #line 2850 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7077
7078
7079
7080 #line default
7081 #line hidden
7082
7083 #line 2851 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7084 Write(RenderCustomField(productFieldType, "CellTargets", @Translate("CellTargets", "Cell Targets")));
7085
7086
7087 #line default
7088 #line hidden
7089
7090 #line 2851 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7091
7092
7093
7094 #line default
7095 #line hidden
7096
7097 #line 2852 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7098 Write(RenderCustomField(productFieldType, "Cross", @Translate("Cross", "Cross")));
7099
7100
7101 #line default
7102 #line hidden
7103
7104 #line 2852 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7105
7106
7107
7108 #line default
7109 #line hidden
7110
7111 #line 2853 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7112 Write(RenderCustomField(productFieldType, "Modification", @Translate("Modification", "Modification")));
7113
7114
7115 #line default
7116 #line hidden
7117
7118 #line 2853 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7119
7120
7121
7122 #line default
7123 #line hidden
7124
7125 #line 2854 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7126 Write(RenderCustomField(productFieldType, "Receptors", @Translate("Receptors", "Receptors")));
7127
7128
7129 #line default
7130 #line hidden
7131
7132 #line 2854 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7133
7134
7135
7136 #line default
7137 #line hidden
7138
7139 #line 2855 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7140 Write(RenderCustomField(productFieldType, "Reconstitution", @Translate("Reconstitution", "Reconstitution")));
7141
7142
7143 #line default
7144 #line hidden
7145
7146 #line 2855 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7147
7148
7149
7150 #line default
7151 #line hidden
7152
7153 #line 2856 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7154 Write(RenderCellType(str_cellType));
7155
7156
7157 #line default
7158 #line hidden
7159
7160 #line 2856 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7161
7162
7163
7164 #line default
7165 #line hidden
7166
7167 #line 2857 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7168 Write(RenderBiologyArea(str_biologyArea));
7169
7170
7171 #line default
7172 #line hidden
7173
7174 #line 2857 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7175
7176
7177
7178 #line default
7179 #line hidden
7180
7181 #line 2858 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7182 Write(RenderMolecularFamily(str_molecularFamily));
7183
7184
7185 #line default
7186 #line hidden
7187
7188 #line 2858 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7189
7190 }
7191
7192
7193 #line default
7194 #line hidden
7195 WriteLiteral(" ");
7196
7197
7198 #line 2860 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7199 if (!string.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".AntigenReferences.Value.Clean")) && !isIVD)
7200 {
7201
7202
7203 #line default
7204 #line hidden
7205 WriteLiteral(" <dt");
7206
7207 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
7208
7209 WriteLiteral(">\r\n");
7210
7211 WriteLiteral(" ");
7212
7213
7214 #line 2863 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7215 Write(Translate("AntigenReferences", "Antigen References"));
7216
7217
7218 #line default
7219 #line hidden
7220 WriteLiteral("\r\n </dt>\r\n");
7221
7222 WriteLiteral(" <dd");
7223
7224 WriteLiteral(" class=\"col-xs-9 noPaddingLeft\"");
7225
7226 WriteLiteral(">\r\n");
7227
7228
7229 #line 2866 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7230
7231
7232 #line default
7233 #line hidden
7234
7235 #line 2866 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7236
7237 string removeAnchor2 = Regex.Replace(GetString("Ecom:Product.CategoryField." + productFieldType + ".AntigenReferences.Value.Clean"), @"<a [^>]+>(.*?)<\/a>", "$1").Replace("<em>", "").Replace("</em>", "");
7238
7239
7240 #line default
7241 #line hidden
7242 WriteLiteral("\r\n");
7243
7244 WriteLiteral(" ");
7245
7246
7247 #line 2869 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7248 Write(removeAnchor2.Substring(0, (removeAnchor2.Length <= 1050 ? removeAnchor2.Length - 1 : 1050)));
7249
7250
7251 #line default
7252 #line hidden
7253 WriteLiteral("\r\n </dd>\r\n");
7254
7255
7256 #line 2871 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7257 }
7258
7259
7260 #line default
7261 #line hidden
7262 WriteLiteral(" ");
7263
7264
7265 #line 2872 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7266 if(!isASR && !isIVD){
7267
7268
7269 #line default
7270 #line hidden
7271
7272 #line 2873 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7273 Write(RenderCustomField(productFieldType, "Regulation", @Translate("Regulation", "Regulation")));
7274
7275
7276 #line default
7277 #line hidden
7278
7279 #line 2873 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7280
7281
7282
7283 if (geneList.Any() && !isIVD)
7284 {
7285
7286
7287 #line default
7288 #line hidden
7289 WriteLiteral(" <dt");
7290
7291 WriteLiteral(" class=\"col-xs-3 noPaddingLeft\"");
7292
7293 WriteLiteral(">\r\n");
7294
7295 WriteLiteral(" ");
7296
7297
7298 #line 2879 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7299 Write(Translate("GeneID", "Gene ID"));
7300
7301
7302 #line default
7303 #line hidden
7304 WriteLiteral("\r\n </dt>\r\n");
7305
7306 WriteLiteral(" <dd");
7307
7308 WriteLiteral(" class=\"col-xs-9\"");
7309
7310 WriteLiteral(">\r\n");
7311
7312
7313 #line 2882 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7314
7315
7316 #line default
7317 #line hidden
7318
7319 #line 2882 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7320 foreach (var gene in geneList)
7321 {
7322
7323
7324 #line default
7325 #line hidden
7326 WriteLiteral(" <span");
7327
7328 WriteLiteral(" class=\"col-xs-12 noPadding geneInformation\"");
7329
7330 WriteLiteral(">\r\n <a");
7331
7332 WriteLiteral(" class=\"geneAnchor iframeWebsite\"");
7333
7334 WriteLiteral(" target=\"_blank\"");
7335
7336 WriteLiteral(" data-geneID=\"");
7337
7338
7339 #line 2885 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7340 Write(gene);
7341
7342
7343 #line default
7344 #line hidden
7345 WriteLiteral("\"");
7346
7347 WriteAttribute("href", Tuple.Create(" href=\"", 124494), Tuple.Create("\"", 124540)
7348 , Tuple.Create(Tuple.Create("", 124501), Tuple.Create("https://www.ncbi.nlm.nih.gov/gene/", 124501), true)
7349
7350 #line 2885 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7351 , Tuple.Create(Tuple.Create("", 124535), Tuple.Create<System.Object, System.Int32>(gene
7352
7353 #line default
7354 #line hidden
7355 , 124535), false)
7356 );
7357
7358 WriteLiteral(">");
7359
7360
7361 #line 2885 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7362 Write(gene);
7363
7364
7365 #line default
7366 #line hidden
7367 WriteLiteral("</a> <a");
7368
7369 WriteLiteral(" target=\"_blank\"");
7370
7371 WriteLiteral(" class=\"btn btn-default\"");
7372
7373 WriteAttribute("href", Tuple.Create(" href=\"", 124594), Tuple.Create("\"", 124644)
7374 , Tuple.Create(Tuple.Create("", 124601), Tuple.Create("/Default.aspx?ID=", 124601), true)
7375
7376 #line 2885 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7377 , Tuple.Create(Tuple.Create("", 124618), Tuple.Create<System.Object, System.Int32>(searchPageID
7378
7379 #line default
7380 #line hidden
7381 , 124618), false)
7382 , Tuple.Create(Tuple.Create("", 124631), Tuple.Create("&GeneID=", 124631), true)
7383
7384 #line 2885 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7385 , Tuple.Create(Tuple.Create("", 124639), Tuple.Create<System.Object, System.Int32>(gene
7386
7387 #line default
7388 #line hidden
7389 , 124639), false)
7390 );
7391
7392 WriteLiteral(">");
7393
7394
7395 #line 2885 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7396 Write(Translate("viewAllProductsGeneID", "View all products for this Gene ID"));
7397
7398
7399 #line default
7400 #line hidden
7401 WriteLiteral("</a>\r\n </span>\r\n");
7402
7403
7404 #line 2887 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7405 }
7406
7407
7408 #line default
7409 #line hidden
7410 WriteLiteral(" </dd>\r\n");
7411
7412
7413 #line 2889 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7414 }
7415 }
7416
7417
7418 #line default
7419 #line hidden
7420 WriteLiteral(" </dl>\r\n </div>\r\n");
7421
7422
7423 #line 2893 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7424 }
7425
7426
7427 #line default
7428 #line hidden
7429 WriteLiteral("\r\n");
7430
7431
7432 #line 2895 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7433
7434
7435 #line default
7436 #line hidden
7437
7438 #line 2897 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7439
7440 var str_productProtocols = GetString("Ecom:Product:Field.Protocols.Value").Replace('"', ' ');
7441 var isASRProt = GetString("Ecom:Product:Field.RegulatoryStatus.Value").Equals("ASR");
7442 var isIVDProt = GetString("Ecom:Product:Field.RegulatoryStatus.Value").Equals("IVD");
7443
7444 if (!string.IsNullOrEmpty(str_productProtocols) && !isASRProt && !isIVDProt)
7445 {
7446 var selectedProductId = GetString("Ecom:Product.ID");
7447 var productProtocolsResults = new List<KeyValuePair<string,string>>();
7448 var productProtocols = Cache.Current.Get("productProtocolsCache_" + selectedProductId);
7449
7450 if (productProtocols == null)
7451 {
7452 using (var connection = Dynamicweb.Data.Database.CreateConnection())
7453 {
7454 using (var commandProtocols = connection.CreateCommand())
7455 {
7456 commandProtocols.CommandText = "SELECT * FROM itemtype_protocols WHERE Id in (" + str_productProtocols + ")";
7457 using (var readerProtocols = commandProtocols.ExecuteReader())
7458 {
7459 if (readerProtocols != null)
7460 {
7461 if (readerProtocols.FieldCount > 0)
7462 {
7463 while (readerProtocols.Read())
7464 {
7465 var itemName = readerProtocols["Name"].ToString();
7466 var itemLink = readerProtocols["Protocol"].ToString().Replace("Files/Files/BioLegend/", "Files/Images/");
7467
7468 productProtocolsResults.Add(new KeyValuePair<string, string>(itemName, itemLink));
7469 }
7470 }
7471 }
7472 }
7473 }
7474
7475 Cache.Current.Set("productProtocolsCache_" + selectedProductId, productProtocolsResults, CacheItemPolicy.DefaultStoragePolicy);
7476
7477
7478 #line default
7479 #line hidden
7480
7481 #line 2934 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7482 Write(RenderProtocols(productProtocolsResults));
7483
7484
7485 #line default
7486 #line hidden
7487
7488 #line 2934 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7489
7490
7491 }
7492 }
7493 else
7494 {
7495
7496
7497 #line default
7498 #line hidden
7499
7500 #line 2940 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7501 Write(RenderProtocols((List<KeyValuePair<string,string>>) productProtocols));
7502
7503
7504 #line default
7505 #line hidden
7506
7507 #line 2940 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7508
7509 }
7510 }
7511
7512
7513 #line default
7514 #line hidden
7515 WriteLiteral("\r\n\r\n");
7516
7517 WriteLiteral("\r\n");
7518
7519
7520 #line 2974 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7521
7522
7523 #line default
7524 #line hidden
7525
7526 #line 2974 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7527 if (!isIVD && !isASR)
7528 {
7529
7530
7531 #line default
7532 #line hidden
7533 WriteLiteral(" <div");
7534
7535 WriteLiteral(" id=\"productRelatedGroup\"");
7536
7537 WriteLiteral(" class=\"col-xs-12 hidden col-sm-offset-3 col-sm-9\"");
7538
7539 WriteLiteral(">\r\n <h2");
7540
7541 WriteLiteral(" class=\"col-xs-12 noPadding\"");
7542
7543 WriteLiteral(">\r\n");
7544
7545 WriteLiteral(" ");
7546
7547
7548 #line 2978 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7549 Write(Translate("RelatedProducts", "Related Products"));
7550
7551
7552 #line default
7553 #line hidden
7554 WriteLiteral("\r\n </h2>\r\n\r\n <table");
7555
7556 WriteLiteral(" id=\"tableRelatedProducts\"");
7557
7558 WriteLiteral(" class=\"col-xs-12 noPadding\"");
7559
7560 WriteLiteral(" data>\r\n <thead>\r\n <tr>\r\n " +
7561 " <th>");
7562
7563
7564 #line 2984 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7565 Write(Translate("Description", "Description"));
7566
7567
7568 #line default
7569 #line hidden
7570 WriteLiteral("</th>\r\n <th>");
7571
7572
7573 #line 2985 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7574 Write(Translate("Clone", "Clone"));
7575
7576
7577 #line default
7578 #line hidden
7579 WriteLiteral("</th>\r\n <th>");
7580
7581
7582 #line 2986 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7583 Write(Translate("Applications", "Applications"));
7584
7585
7586 #line default
7587 #line hidden
7588 WriteLiteral("</th>\r\n </tr>\r\n </thead>\r\n " +
7589 " <tbody>\r\n\r\n </tbody>\r\n </table>\r\n " +
7590 " </div>\r\n");
7591
7592
7593 #line 2994 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7594 }
7595
7596
7597 #line default
7598 #line hidden
7599 WriteLiteral("\r\n");
7600
7601
7602 #line 2996 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7603
7604
7605 #line default
7606 #line hidden
7607
7608 #line 2996 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7609 if (str_currentPageId == @printPage && str_productId == "9340")
7610 {
7611
7612
7613 #line default
7614 #line hidden
7615 WriteLiteral(" ");
7616
7617 WriteLiteral(@"
7618 <br/><br/>This product is provided under an intellectual property license from Life Technologies Corporation.The transfer of this product is conditioned on the buyer using the purchased product solely in research conducted by the buyer, excluding contract research or any fee for service research, and the buyer must not(1) use this product or its components for (a) diagnostic, therapeutic or prophylactic purposes; (b)testing, analysis or screening services, or information in return for compensation on a per - test basis; or(c) manufacturing or quality assurance or quality control, and / or(2) sell or transfer this product or its components for resale, whether or not resold for use in research.For information on purchasing a license to this product for purposes other than as described above, contact Life Technologies Corporation, 5781 Van Allen Way, Carlsbad, CA 92008 USA or outlicensing@lifetech.com.
7619 ");
7620
7621 WriteLiteral("\r\n");
7622
7623
7624 #line 3001 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7625 }
7626
7627
7628 #line default
7629 #line hidden
7630 WriteLiteral("\r\n");
7631
7632
7633 #line 3003 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7634
7635
7636 #line default
7637 #line hidden
7638
7639 #line 3003 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7640
7641 bool isASRProd = GetString("Ecom:Product:Field.RegulatoryStatus.Value").Equals("ASR");
7642 bool isIVDProd = GetString("Ecom:Product:Field.RegulatoryStatus.Value").Equals("IVD");
7643 if(!isASRProd && !isIVDProd) {
7644
7645
7646 #line default
7647 #line hidden
7648
7649 #line 3066 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7650
7651
7652 List<string> pages = new List<string>();
7653 pages.Add("1");
7654
7655 if(str_productFormat.Contains("BV")) {
7656 pages.Add("10");
7657 }
7658
7659 if(str_productFormat.Contains("A594")) {
7660 pages.Add("12");
7661 }
7662
7663 if(str_productFormat.Contains("/")) {
7664 pages.Add("13");
7665 pages.Add("14");
7666 }
7667
7668 if(str_productFormat.Contains("LEAF")) {
7669 pages.Add("15");
7670 }
7671
7672 if(str_productFormat.Contains("PE_DZL594")) {
7673 pages.Add("16");
7674 }
7675
7676 if(str_productFormat.Contains("GOINVIVO")) {
7677 pages.Add("19");
7678 pages.Add("20");
7679 pages.Add("15");
7680 }
7681
7682 if(str_productFormat.Contains("MOJO")) {
7683 pages.Add("46");
7684 pages.Add("25");
7685 pages.Add("26");
7686 }
7687
7688 if(str_productFormat.Contains("RECOM")) {
7689 pages.Add("29");
7690 }
7691
7692 if (!str_productFormat.Contains("LEAF") && !str_productFormat.Equals("BIOTIN") && !str_productFormat.Equals("ELISA") && !str_productFormat.Equals("ELISA_DLX") && !str_productFormat.Equals("ELISA_STD") && !str_productFormat.Equals("HRP") && !str_productFormat.Equals("Kit") && !str_productFormat.Equals("RECOM") && !str_productFormat.Equals("LEGEND MAX") && !str_productFormat.Equals("LPLEX") && !str_productFormat.Equals("LSCREEN") && !str_productFormat.Equals("MOJO") && !str_productFormat.Equals("PURE") && !str_productFormat.Equals("SOLUTION") && !str_productFormat.Equals("GOINVIVO") && !str_productFormat.Equals("DB_HRP") && !str_productFormat.Equals("")){
7693 pages.Add("5");
7694 pages.Add("4");
7695 pages.Add("14");
7696 pages.Add("6");
7697 pages.Add("7");
7698 }
7699
7700 if(productType.Equals("LEGENDplex")) {
7701 pages.Add("31");
7702 }
7703
7704 if(productType.Equals("ELISAMAXLEGENDMAX")) {
7705 pages.Add("35");
7706 }
7707
7708 if(productType.Equals("LEGENDScreen")) {
7709 pages.Add("33");
7710 }
7711
7712 if(productType.Equals("BuffersSolutionsChemicals")) {
7713 pages.Add("38");
7714 }
7715
7716 if(str_productName.Contains("Zombie")) {
7717 pages.Add("39");
7718 }
7719
7720 if(str_productName.Contains("MaxPar")) {
7721 pages.Add("42");
7722 }
7723
7724 if(str_productName.Contains("MitoSpy")) {
7725 pages.Add("43");
7726 pages.Add("44");
7727 }
7728
7729 if(str_productName.Contains("Phalloidin")) {
7730 pages.Add("43");
7731 }
7732
7733 if(str_productName.Contains("Streptavidin")) {
7734 pages.Add("45");
7735 }
7736
7737 if(str_productFormat.Equals("BIOTIN")) {
7738 pages.Add("45");
7739 pages.Add("46");
7740 }
7741
7742 if(str_productName.Contains(" CD") && !str_productFormat.Contains("MOJO")) {
7743 pages.Add("49");
7744 }
7745
7746 if(Convert.ToInt32(catalogFirstLetter) == 5)
7747 {
7748 pages.Add("51");
7749 pages.Add("52");
7750 }
7751
7752 if(str_productOtherNames.ToUpper().Contains("INTEGRIN"))
7753 {
7754 pages.Add("54");
7755 }
7756
7757 if(str_productRegulatoryStatus.Equals("ASR"))
7758 {
7759 pages.Add("59");
7760 }
7761
7762 if(str_productFormat.Equals("FLEX_T"))
7763 {
7764 pages.Add("58");
7765 pages.Add("45");
7766 }
7767
7768 if(str_productFormat.Equals("APC_F750"))
7769 {
7770 pages.Add("60");
7771 }
7772
7773 if(str_productId.Equals("14598")){
7774 pages.Add("61");
7775 }
7776
7777 //var relatedPages = (List<Dictionary<string, string>>) Cache.Current.Get("productRelatedPagesCache_" + str_productId);
7778 /*if (relatedPages == null)
7779 {*/
7780 var relatedPages = GetRelatedPages(pages);
7781 //Cache.Current.Set("productRelatedPagesCache_" + str_productId, relatedPages, CacheItemPolicy.DefaultStoragePolicy);
7782 /*}*/
7783 countRelatedPages = relatedPages.Count;
7784
7785 string str_pathways = GetString("Ecom:Product:Field.Pathways.Value");
7786 Dictionary<string, string> pathwaysDict = new Dictionary<string, string>(){
7787 {"1","CD4 and CD8 T-Cell Lineage"},
7788 {"2","Apoptosis Through Death Receptors"},
7789 {"3","Gamma-Delta T cells"},
7790 {"4","Cyclins and Cell Cycle Regulation"},
7791 {"5","Hematopoiesis from Multipotent Stem Cell"},
7792 {"6","Hematopoiesis from Pluripotent Stem Cell"},
7793 {"8","TH1 Pathway (Cellular Immune Response)"},
7794 {"9","IL-2 Pathway"},
7795 {"10","JAK/STAT Pathway"},
7796 {"11","p38 Signaling"},
7797 {"12","TH17 Pathway"},
7798 {"13","TH2 Pathway (Humoral Immune Response)"},
7799 {"19","Agranulocyte Adhesion and Diapedesis"},
7800 {"20","14-3-3 Induced Intracellular Signaling"},
7801 {"21","Akt Signaling"},
7802 {"22","ATM Pathway"},
7803 {"23","BAFF in B-Cell Signaling"},
7804 {"24","B-Cell Receptor Pathway"},
7805 {"25","Caspase Cascade"},
7806 {"26","CD28 Signaling in T-Helper Cell"},
7807 {"27","CD40 Signaling"},
7808 {"28","Cellular Apoptosis Pathway"},
7809 {"29","Chemokine Signaling"},
7810 {"30","CTLA4 Signaling"},
7811 {"31","Cytokine Network"},
7812 {"32","EGF Pathway"},
7813 {"33","Embryonic Stem Cell Pluripotency in Mouse"},
7814 {"34","ErbB Family Pathway"},
7815 {"35","ERK Signaling"},
7816 {"36","FAK1 Pathway"},
7817 {"37","Fas Signaling"},
7818 {"38","GPCR Pathway"},
7819 {"39","GSK3 Signaling"},
7820 {"40","Human Embryonic Stem Cell Pluripotency"},
7821 {"41","ICos-ICosL Pathway in T-Helper Cell"},
7822 {"42","IL-1 Pathway"},
7823 {"43","IL-4 Pathway"},
7824 {"44","IL-6 Pathway"},
7825 {"45","IL-10 Pathway"},
7826 {"46","ILK Signaling"},
7827 {"47","Integrin Pathway"},
7828 {"48","Interferon Pathway"},
7829 {"49","ITK and TCR Signaling"},
7830 {"50","JNK Pathway"},
7831 {"51","Lymphotoxin-beta Receptor Pathway"},
7832 {"52","MAPK Signaling"},
7833 {"53","Mitotic Roles of Polo Like Kinase"},
7834 {"54","mTOR Pathway"},
7835 {"55","Nanog in Mammalian ESC Pluripotency"},
7836 {"56","NFAT Signaling and Lymphocyte Interactions"},
7837 {"57","NF-κB (p50/p65) Pathway"},
7838 {"58","Oct4 in Mammalian ESC Pluripotency"},
7839 {"59","PDGF Pathway"},
7840 {"60","PKC-θ Pathway"},
7841 {"61","PPAR Pathway"},
7842 {"62","PTEN Pathway"},
7843 {"63","Ras Pathway"},
7844 {"64","SOCS Pathway"},
7845 {"65","Sumo Pathway"},
7846 {"66","T-Cell Receptor Signaling"},
7847 {"67","TGF-β Pathway"},
7848 {"68","TNF Superfamily Pathway"},
7849 {"69","Toll-Like Receptors"},
7850 {"70","TRAIL Pathway"},
7851 {"71","TREM1 Pathway"},
7852 {"72","VEGF Pathway"},
7853 {"73","WNT Signaling"},
7854 {"74","p53 Signaling"},
7855 {"75","T Follicular Helper Cell Pathway"},
7856 {"76","Cancer Elimination"},
7857 {"78","Cancer Immunology - 3Es"},
7858 {"79","Cancer Recognition"},
7859 {"82","Cancer Recognition & Elimination"},
7860 {"83","MDSC-induced Immune Suppression"},
7861 {"84","Shedding MICA/B Antigens"},
7862 {"85","Stat3-mediated Tumor Escape"},
7863 {"86","Tregs in Tumor Escape"},
7864 {"88","Immunologic Networks 2011"},
7865 {"89","B cell Development and Activation"},
7866 {"90","Myeloid-Derived Suppressor Cells"},
7867 {"91","Regulatory T Cells"},
7868 {"92","Dendritic Cells"},
7869 {"93","Stem Cells and Development"},
7870 {"94","Cancer Immunoediting"},
7871 {"95","Chemokine Receptor Biology"},
7872 {"97","Th17 Biology"},
7873 {"98","Innate Immunity"},
7874 {"99","Mechanisims of Cell Death"},
7875 {"100","Dendritic Cell, Monocyte, and Macrophage Biology"},
7876 {"101","Neurodegeneration"},
7877 {"102","Innate Immune Signaling"},
7878 {"103","Neuroinflammation"},
7879 {"104","Autophagy"}
7880 };
7881
7882 string[] pathwaysList = str_pathways.Split(',');
7883 //var pathwaysData = GetPathways(productSpecificity);
7884
7885
7886 if(!string.IsNullOrWhiteSpace(str_pathways) || countRelatedPages > 0)
7887 {
7888
7889
7890 #line default
7891 #line hidden
7892 WriteLiteral(" <div");
7893
7894 WriteLiteral(" id=\"productRelatedPages\"");
7895
7896 WriteLiteral(" class=\"col-xs-12 col-sm-9 noPadding pull-right\"");
7897
7898 WriteLiteral(">\r\n <h2");
7899
7900 WriteLiteral(" class=\"col-xs-12 noPadding\"");
7901
7902 WriteLiteral(">\r\n <a");
7903
7904 WriteAttribute("href", Tuple.Create(" href=\"", 139179), Tuple.Create("\"", 139244)
7905
7906 #line 3306 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7907 , Tuple.Create(Tuple.Create("", 139186), Tuple.Create<System.Object, System.Int32>(Pageview.SearchFriendlyUrl.ToString()
7908
7909 #line default
7910 #line hidden
7911 , 139186), false)
7912 , Tuple.Create(Tuple.Create("", 139224), Tuple.Create("#productRelatedPages", 139224), true)
7913 );
7914
7915 WriteLiteral(" name=\"4\"");
7916
7917 WriteLiteral(">");
7918
7919
7920 #line 3306 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7921 Write(Translate("RelatedPagesPathways","Related Pages & Pathways"));
7922
7923
7924 #line default
7925 #line hidden
7926 WriteLiteral("</a>\r\n </h2>\r\n\r\n");
7927
7928 WriteLiteral(" ");
7929
7930
7931 #line 3309 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7932 Write(SnippetStart("navigationAnchors"));
7933
7934
7935 #line default
7936 #line hidden
7937 WriteLiteral("\r\n <li>\r\n <a");
7938
7939 WriteLiteral(" class=\"anchor_4\"");
7940
7941 WriteAttribute("href", Tuple.Create(" href=\"", 139414), Tuple.Create("\"", 139479)
7942
7943 #line 3311 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7944 , Tuple.Create(Tuple.Create("", 139421), Tuple.Create<System.Object, System.Int32>(Pageview.SearchFriendlyUrl.ToString()
7945
7946 #line default
7947 #line hidden
7948 , 139421), false)
7949 , Tuple.Create(Tuple.Create("", 139459), Tuple.Create("#productRelatedPages", 139459), true)
7950 );
7951
7952 WriteLiteral(">");
7953
7954
7955 #line 3311 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7956 Write(Translate("RelatedPagesPathways","Related Pages & Pathways"));
7957
7958
7959 #line default
7960 #line hidden
7961 WriteLiteral("</a>\r\n </li>\r\n");
7962
7963 WriteLiteral(" ");
7964
7965
7966 #line 3313 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7967 Write(SnippetEnd("navigationAnchors"));
7968
7969
7970 #line default
7971 #line hidden
7972 WriteLiteral("\r\n\r\n");
7973
7974
7975 #line 3315 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7976
7977
7978 #line default
7979 #line hidden
7980
7981 #line 3315 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7982 if(!string.IsNullOrWhiteSpace(str_pathways))
7983 {
7984
7985
7986 #line default
7987 #line hidden
7988 WriteLiteral(" <div");
7989
7990 WriteLiteral(" class=\"col-xs-6 noPaddingLeft\"");
7991
7992 WriteLiteral(">\r\n <h3>");
7993
7994
7995 #line 3318 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
7996 Write(Translate("Pathways","Pathways"));
7997
7998
7999 #line default
8000 #line hidden
8001 WriteLiteral("</h3>\r\n <ul");
8002
8003 WriteLiteral(" class=\"relatedPages relatedPathways col-xs-12 noPadding\"");
8004
8005 WriteLiteral(">\r\n");
8006
8007
8008 #line 3320 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8009
8010
8011 #line default
8012 #line hidden
8013
8014 #line 3320 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8015 foreach (string thisPathway in pathwaysList)
8016 {
8017 string title = pathwaysDict[thisPathway];
8018 string pathwayID = thisPathway;
8019
8020
8021
8022 #line default
8023 #line hidden
8024 WriteLiteral(" <li>\r\n <a");
8025
8026 WriteAttribute("href", Tuple.Create(" href=\"", 140031), Tuple.Create("\"", 140092)
8027 , Tuple.Create(Tuple.Create("", 140038), Tuple.Create("http://www.biolegend.com/pop_pathway.php?id=", 140038), true)
8028
8029 #line 3326 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8030 , Tuple.Create(Tuple.Create("", 140082), Tuple.Create<System.Object, System.Int32>(pathwayID
8031
8032 #line default
8033 #line hidden
8034 , 140082), false)
8035 );
8036
8037 WriteLiteral(" target=\"_blank\"");
8038
8039 WriteLiteral(">\r\n");
8040
8041 WriteLiteral(" ");
8042
8043
8044 #line 3327 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8045 Write(title);
8046
8047
8048 #line default
8049 #line hidden
8050 WriteLiteral("\r\n </a>\r\n </li>\r\n");
8051
8052
8053 #line 3330 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8054 }
8055
8056
8057 #line default
8058 #line hidden
8059 WriteLiteral(" </ul>\r\n </div>\r\n");
8060
8061
8062 #line 3333 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8063 }
8064
8065
8066 #line default
8067 #line hidden
8068 WriteLiteral("\r\n");
8069
8070
8071 #line 3335 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8072
8073
8074 #line default
8075 #line hidden
8076
8077 #line 3335 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8078 if(countRelatedPages > 0)
8079 {
8080
8081
8082 #line default
8083 #line hidden
8084 WriteLiteral(" <div");
8085
8086 WriteAttribute("class", Tuple.Create(" class=\'", 140281), Tuple.Create("\'", 140375)
8087 , Tuple.Create(Tuple.Create("", 140289), Tuple.Create("col-xs-6", 140289), true)
8088
8089 #line 3337 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8090 , Tuple.Create(Tuple.Create(" ", 140297), Tuple.Create<System.Object, System.Int32>(!string.IsNullOrWhiteSpace(str_pathways) ?"noPaddingRight":"noPaddingLeft"
8091
8092 #line default
8093 #line hidden
8094 , 140298), false)
8095 );
8096
8097 WriteLiteral(">\r\n <h3>");
8098
8099
8100 #line 3338 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8101 Write(Translate("Pages","Pages"));
8102
8103
8104 #line default
8105 #line hidden
8106 WriteLiteral("</h3>\r\n <ul");
8107
8108 WriteLiteral(" class=\"relatedPages col-xs-12 noPadding\"");
8109
8110 WriteLiteral(">\r\n");
8111
8112
8113 #line 3340 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8114
8115
8116 #line default
8117 #line hidden
8118
8119 #line 3340 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8120 foreach (var row in relatedPages)
8121 {
8122 string link = (!String.IsNullOrWhiteSpace(row["Page"]) ? row["Page"] : row["LinkExt"]);
8123 string target = (link.Contains("http:") ? "target='_blank'" : "");
8124 string iconSrc = row["Icon_Source"].Replace(".png", "_PD.png").Replace(".jpg", "_PD.jpg");
8125 string itemName = row["Name"];
8126
8127
8128
8129 #line default
8130 #line hidden
8131 WriteLiteral(" <li>\r\n <a");
8132
8133 WriteAttribute("href", Tuple.Create(" href=\"", 140904), Tuple.Create("\"", 140935)
8134
8135 #line 3348 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8136 , Tuple.Create(Tuple.Create("", 140911), Tuple.Create<System.Object, System.Int32>(LocalizeLinksHTML(link)
8137
8138 #line default
8139 #line hidden
8140 , 140911), false)
8141 );
8142
8143 WriteLiteral(" ");
8144
8145
8146 #line 3348 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8147 Write(target);
8148
8149
8150 #line default
8151 #line hidden
8152 WriteLiteral(">\r\n");
8153
8154
8155 #line 3349 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8156
8157
8158 #line default
8159 #line hidden
8160
8161 #line 3349 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8162 if(!String.IsNullOrWhiteSpace(iconSrc))
8163 {
8164
8165
8166 #line default
8167 #line hidden
8168 WriteLiteral(" <figure>\r\n <img");
8169
8170 WriteLiteral(" width=\"20\"");
8171
8172 WriteLiteral(" height=\"20\"");
8173
8174 WriteAttribute("src", Tuple.Create(" src=\"", 141099), Tuple.Create("\"", 141113)
8175
8176 #line 3352 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8177 , Tuple.Create(Tuple.Create("", 141105), Tuple.Create<System.Object, System.Int32>(iconSrc
8178
8179 #line default
8180 #line hidden
8181 , 141105), false)
8182 );
8183
8184 WriteAttribute("title", Tuple.Create(" title=\"", 141114), Tuple.Create("\"", 141131)
8185
8186 #line 3352 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8187 , Tuple.Create(Tuple.Create("", 141122), Tuple.Create<System.Object, System.Int32>(itemName
8188
8189 #line default
8190 #line hidden
8191 , 141122), false)
8192 );
8193
8194 WriteAttribute("alt", Tuple.Create(" alt=\"", 141132), Tuple.Create("\"", 141147)
8195
8196 #line 3352 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8197 , Tuple.Create(Tuple.Create("", 141138), Tuple.Create<System.Object, System.Int32>(itemName
8198
8199 #line default
8200 #line hidden
8201 , 141138), false)
8202 );
8203
8204 WriteLiteral(" />\r\n </figure>\r\n");
8205
8206
8207 #line 3354 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8208 }
8209
8210
8211 #line default
8212 #line hidden
8213 WriteLiteral(" ");
8214
8215
8216 #line 3355 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8217 Write(itemName);
8218
8219
8220 #line default
8221 #line hidden
8222 WriteLiteral("\r\n </a>\r\n </li>\r\n");
8223
8224
8225 #line 3358 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8226 }
8227
8228
8229 #line default
8230 #line hidden
8231 WriteLiteral(" </ul>\r\n </div>\r\n");
8232
8233
8234 #line 3361 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8235 }
8236
8237
8238 #line default
8239 #line hidden
8240 WriteLiteral(" </div>\r\n");
8241
8242
8243 #line 3363 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8244 }
8245 }
8246
8247
8248
8249 #line default
8250 #line hidden
8251
8252 #line 3400 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8253
8254
8255
8256 #line default
8257 #line hidden
8258 WriteLiteral("\r\n\r\n");
8259
8260
8261 #line 3403 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8262
8263
8264 #line default
8265 #line hidden
8266
8267 #line 3403 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8268 if (otherFormatsProducts.Any() && !isASR && !isIVD)
8269 {
8270 var count = 0;
8271
8272
8273
8274 #line default
8275 #line hidden
8276 WriteLiteral(" <div");
8277
8278 WriteLiteral(" id=\"productOtherFormats\"");
8279
8280 WriteLiteral(" class=\"col-xs-12 col-sm-9 pull-right\"");
8281
8282 WriteLiteral(" data-thDescription=\'");
8283
8284
8285 #line 3407 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8286 Write(Translate("Description", "Description"));
8287
8288
8289 #line default
8290 #line hidden
8291 WriteLiteral("\'");
8292
8293 WriteLiteral(" data-thClone=\'");
8294
8295
8296 #line 3407 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8297 Write(Translate("Clone", "Clone"));
8298
8299
8300 #line default
8301 #line hidden
8302 WriteLiteral("\'");
8303
8304 WriteLiteral(" data-thAppllications=\'");
8305
8306
8307 #line 3407 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8308 Write(Translate("Applications", "Applications"));
8309
8310
8311 #line default
8312 #line hidden
8313 WriteLiteral("\'");
8314
8315 WriteLiteral(">\r\n <h2");
8316
8317 WriteLiteral(" class=\"col-xs-12 noPadding\"");
8318
8319 WriteLiteral(">\r\n");
8320
8321 WriteLiteral(" ");
8322
8323
8324 #line 3409 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8325 Write(Translate("OtherFormats", "Other Formats"));
8326
8327
8328 #line default
8329 #line hidden
8330 WriteLiteral("\r\n </h2>\r\n\r\n");
8331
8332
8333 #line 3412 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8334
8335
8336 #line default
8337 #line hidden
8338
8339 #line 3412 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8340 foreach (var prod in otherFormatsProducts.GroupBy(prod => prod.Name).Select(prod => prod.First()))
8341 {
8342
8343
8344 #line default
8345 #line hidden
8346
8347 #line 3414 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8348 Write(count != 0 ? ", " : "");
8349
8350
8351 #line default
8352 #line hidden
8353
8354 #line 3414 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8355
8356
8357 #line default
8358 #line hidden
8359
8360 #line 3414 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8361 Write(prod.Name);
8362
8363
8364 #line default
8365 #line hidden
8366
8367 #line 3414 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8368
8369 count++;
8370 }
8371
8372
8373 #line default
8374 #line hidden
8375 WriteLiteral("\r\n </div>\r\n");
8376
8377
8378 #line 3419 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8379 }
8380
8381
8382 #line default
8383 #line hidden
8384 WriteLiteral("\r\n <dl");
8385
8386 WriteAttribute("class", Tuple.Create(" class=\'", 143418), Tuple.Create("\'", 143515)
8387
8388 #line 3421 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8389 , Tuple.Create(Tuple.Create("", 143426), Tuple.Create<System.Object, System.Int32>(str_productId.Equals("10801") ? "col-xs-12" : "col-xs-12"
8390
8391 #line default
8392 #line hidden
8393 , 143426), false)
8394 , Tuple.Create(Tuple.Create(" ", 143486), Tuple.Create("noPadding", 143487), true)
8395 , Tuple.Create(Tuple.Create(" ", 143496), Tuple.Create("pdfImagesContainer", 143497), true)
8396 );
8397
8398 WriteLiteral(">\r\n");
8399
8400
8401 #line 3422 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8402
8403
8404 #line default
8405 #line hidden
8406
8407 #line 3422 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8408 if (lst_images.Any())
8409 {
8410
8411
8412 #line default
8413 #line hidden
8414 WriteLiteral(" <h2");
8415
8416 WriteLiteral(" class=\"col-xs-12 noPadding\"");
8417
8418 WriteLiteral(">\r\n");
8419
8420 WriteLiteral(" ");
8421
8422
8423 #line 3425 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8424 Write(Translate("ProductData", "Product Data"));
8425
8426
8427 #line default
8428 #line hidden
8429 WriteLiteral("\r\n </h2>\r\n");
8430
8431 WriteLiteral(" <div");
8432
8433 WriteLiteral(" class=\"col-xs-12\"");
8434
8435 WriteLiteral(">\r\n\r\n");
8436
8437
8438 #line 3429 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8439
8440
8441 #line default
8442 #line hidden
8443
8444 #line 3429 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8445 if (str_currentPageId != printPage)
8446 {
8447 foreach (var image1 in lst_images.OrderBy(x => x.Item2).ToList().Take(1))
8448 {
8449 string str_getimageImg = GetImage(image1.Item1.ToString(), 240, 300, 0, 0, 0, 0, "jpg", 90);
8450
8451
8452
8453 #line default
8454 #line hidden
8455 WriteLiteral(" <div");
8456
8457 WriteLiteral(" class=\"figure\"");
8458
8459 WriteLiteral(">\r\n <dt");
8460
8461 WriteLiteral(" class=\"col-xs-8 noPaddingLeft textCenter\"");
8462
8463 WriteLiteral(">\r\n <img");
8464
8465 WriteLiteral(" class=\"maxWidth\"");
8466
8467 WriteAttribute("src", Tuple.Create(" src=\"", 144267), Tuple.Create("\"", 144289)
8468
8469 #line 3437 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8470 , Tuple.Create(Tuple.Create("", 144273), Tuple.Create<System.Object, System.Int32>(str_getimageImg
8471
8472 #line default
8473 #line hidden
8474 , 144273), false)
8475 );
8476
8477 WriteAttribute("alt", Tuple.Create(" alt=\"", 144290), Tuple.Create("\"", 144320)
8478
8479 #line 3437 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8480 , Tuple.Create(Tuple.Create("", 144296), Tuple.Create<System.Object, System.Int32>(image1.Item2.ToString()
8481
8482 #line default
8483 #line hidden
8484 , 144296), false)
8485 );
8486
8487 WriteAttribute("title", Tuple.Create(" title=\"", 144321), Tuple.Create("\"", 144353)
8488
8489 #line 3437 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8490 , Tuple.Create(Tuple.Create("", 144329), Tuple.Create<System.Object, System.Int32>(image1.Item2.ToString()
8491
8492 #line default
8493 #line hidden
8494 , 144329), false)
8495 );
8496
8497 WriteLiteral("/>\r\n </dt>\r\n <dd");
8498
8499 WriteLiteral(" class=\"col-xs-4 noPaddingRight\"");
8500
8501 WriteLiteral(">\r\n");
8502
8503 WriteLiteral(" ");
8504
8505
8506 #line 3440 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8507 Write(image1.Item3.ToString());
8508
8509
8510 #line default
8511 #line hidden
8512 WriteLiteral("\r\n </dd>\r\n </div>\r\n");
8513
8514
8515 #line 3443 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8516 }
8517
8518
8519
8520 #line default
8521 #line hidden
8522 WriteLiteral(" <div");
8523
8524 WriteLiteral(" id=\"imgThumbs\"");
8525
8526 WriteLiteral(" class=\"col-xs-3 noPadding pull-right\"");
8527
8528 WriteLiteral(">\r\n <ul>\r\n");
8529
8530
8531 #line 3447 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8532
8533
8534 #line default
8535 #line hidden
8536
8537 #line 3447 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8538 foreach (var image in lst_images.OrderBy(x => x.Item2).ToList())
8539 {
8540 if (!String.IsNullOrWhiteSpace(image.Item1.ToString()))
8541 {
8542 var str_getimageImg = GetImage(image.Item1.ToString(), 0, 105, 0, 105, 0, 105, "jpg", 90, 5);
8543 var str_getimageDataImg = GetImage(image.Item1.ToString(), 240, 300, 0, 0, 0, 0, "jpg", 90);
8544 var liClass = lst_images.IndexOf(image) == 0 ? "active" : "";
8545
8546
8547
8548 #line default
8549 #line hidden
8550 WriteLiteral(" <li");
8551
8552 WriteAttribute("class", Tuple.Create(" class=\"", 145434), Tuple.Create("\"", 145450)
8553
8554 #line 3455 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8555 , Tuple.Create(Tuple.Create("", 145442), Tuple.Create<System.Object, System.Int32>(liClass
8556
8557 #line default
8558 #line hidden
8559 , 145442), false)
8560 );
8561
8562 WriteLiteral(">\r\n <div");
8563
8564 WriteLiteral(" class=\"figure\"");
8565
8566 WriteLiteral(">\r\n <dt");
8567
8568 WriteLiteral(" class=\"col-xs-8 noPaddingLeft textCenter\"");
8569
8570 WriteLiteral(">\r\n <img");
8571
8572 WriteLiteral(" class=\"maxWidth\"");
8573
8574 WriteLiteral(" data-image=\"");
8575
8576
8577 #line 3458 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8578 Write(str_getimageDataImg);
8579
8580
8581 #line default
8582 #line hidden
8583 WriteLiteral("\"");
8584
8585 WriteAttribute("src", Tuple.Create(" src=\"", 145723), Tuple.Create("\"", 145745)
8586
8587 #line 3458 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8588 , Tuple.Create(Tuple.Create("", 145729), Tuple.Create<System.Object, System.Int32>(str_getimageImg
8589
8590 #line default
8591 #line hidden
8592 , 145729), false)
8593 );
8594
8595 WriteAttribute("title", Tuple.Create(" title=\"", 145746), Tuple.Create("\"", 145777)
8596
8597 #line 3458 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8598 , Tuple.Create(Tuple.Create("", 145754), Tuple.Create<System.Object, System.Int32>(image.Item2.ToString()
8599
8600 #line default
8601 #line hidden
8602 , 145754), false)
8603 );
8604
8605 WriteAttribute("alt", Tuple.Create(" alt=\"", 145778), Tuple.Create("\"", 145807)
8606
8607 #line 3458 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8608 , Tuple.Create(Tuple.Create("", 145784), Tuple.Create<System.Object, System.Int32>(image.Item2.ToString()
8609
8610 #line default
8611 #line hidden
8612 , 145784), false)
8613 );
8614
8615 WriteLiteral("/>\r\n </dt>\r\n");
8616
8617
8618 #line 3460 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8619
8620
8621 #line default
8622 #line hidden
8623
8624 #line 3460 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8625 if (!string.IsNullOrWhiteSpace(image.Item3.ToString()))
8626 {
8627
8628
8629 #line default
8630 #line hidden
8631 WriteLiteral(" <dd");
8632
8633 WriteLiteral(" class=\"col-xs-4 noPaddingRight\"");
8634
8635 WriteLiteral(">\r\n");
8636
8637 WriteLiteral(" ");
8638
8639
8640 #line 3463 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8641 Write(image.Item3.ToString());
8642
8643
8644 #line default
8645 #line hidden
8646 WriteLiteral("\r\n </dd>\r\n");
8647
8648
8649 #line 3465 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8650 }
8651
8652
8653 #line default
8654 #line hidden
8655 WriteLiteral(" </div>\r\n " +
8656 " </li>\r\n");
8657
8658
8659 #line 3468 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8660 }
8661 }
8662
8663
8664 #line default
8665 #line hidden
8666 WriteLiteral(" </ul>\r\n </div>\r\n");
8667
8668
8669 #line 3472 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8670 }
8671
8672
8673 #line default
8674 #line hidden
8675 WriteLiteral(" </div>\r\n");
8676
8677
8678 #line 3474 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8679
8680 if (str_currentPageId == printPage)
8681 {
8682 foreach (var image in lst_images.OrderBy(x => x.Item2).ToList())
8683 {
8684 if (!String.IsNullOrWhiteSpace(image.Item1.ToString()))
8685 {
8686 string str_getimageDataImg = GetImage(image.Item1.ToString(), 500, 300, 0, 0, 0, 0, "jpg", 90);
8687
8688
8689 #line default
8690 #line hidden
8691 WriteLiteral(" <div");
8692
8693 WriteLiteral(" class=\"col-xs-12 figure\"");
8694
8695 WriteLiteral(">\r\n <dt");
8696
8697 WriteLiteral(" class=\"col-xs-8 noPaddingLeft textCenter\"");
8698
8699 WriteLiteral(">\r\n <img");
8700
8701 WriteLiteral(" class=\"maxWidth\"");
8702
8703 WriteAttribute("src", Tuple.Create(" src=\"", 147205), Tuple.Create("\"", 147231)
8704
8705 #line 3484 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8706 , Tuple.Create(Tuple.Create("", 147211), Tuple.Create<System.Object, System.Int32>(str_getimageDataImg
8707
8708 #line default
8709 #line hidden
8710 , 147211), false)
8711 );
8712
8713 WriteAttribute("title", Tuple.Create(" title=\"", 147232), Tuple.Create("\"", 147252)
8714
8715 #line 3484 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8716 , Tuple.Create(Tuple.Create("", 147240), Tuple.Create<System.Object, System.Int32>(image.Item2
8717
8718 #line default
8719 #line hidden
8720 , 147240), false)
8721 );
8722
8723 WriteAttribute("alt", Tuple.Create(" alt=\"", 147253), Tuple.Create("\"", 147271)
8724
8725 #line 3484 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8726 , Tuple.Create(Tuple.Create("", 147259), Tuple.Create<System.Object, System.Int32>(image.Item2
8727
8728 #line default
8729 #line hidden
8730 , 147259), false)
8731 );
8732
8733 WriteLiteral("/>\r\n </dt>\r\n");
8734
8735
8736 #line 3486 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8737
8738
8739 #line default
8740 #line hidden
8741
8742 #line 3486 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8743 if (!string.IsNullOrWhiteSpace(image.Item3.ToString()))
8744 {
8745
8746
8747 #line default
8748 #line hidden
8749 WriteLiteral(" <dd");
8750
8751 WriteLiteral(" class=\"col-xs-4 noPaddingRight\"");
8752
8753 WriteLiteral(">\r\n");
8754
8755 WriteLiteral(" ");
8756
8757
8758 #line 3489 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8759 Write(image.Item3);
8760
8761
8762 #line default
8763 #line hidden
8764 WriteLiteral("\r\n </dd>\r\n");
8765
8766
8767 #line 3491 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8768 }
8769
8770
8771 #line default
8772 #line hidden
8773 WriteLiteral(" </div>\r\n");
8774
8775
8776 #line 3493 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8777 }
8778 }
8779 }
8780 }
8781
8782
8783 #line default
8784 #line hidden
8785 WriteLiteral(" \r\n");
8786
8787
8788 #line 3498 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8789
8790
8791 #line default
8792 #line hidden
8793
8794 #line 3498 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8795 if(str_currentPageId == printPage && (isIVD || isASR))
8796 {
8797
8798
8799 #line default
8800 #line hidden
8801 WriteLiteral(" <figure>\r\n <img");
8802
8803 WriteLiteral(" class=\"glossary\"");
8804
8805 WriteAttribute("src", Tuple.Create(" src=\"", 147931), Tuple.Create("\"", 148016)
8806
8807 #line 3501 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8808 , Tuple.Create(Tuple.Create("", 147937), Tuple.Create<System.Object, System.Int32>(cdnStaticDomain
8809
8810 #line default
8811 #line hidden
8812 , 147937), false)
8813 , Tuple.Create(Tuple.Create("", 147953), Tuple.Create("/Files/Images/media_assets/products/Glossary-table-draft-V2.png", 147953), true)
8814 );
8815
8816 WriteLiteral(" />\r\n </figure>\r\n");
8817
8818
8819 #line 3503 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8820 }
8821
8822
8823 #line default
8824 #line hidden
8825 WriteLiteral(" </dl>\r\n </div>\r\n </div>\r\n");
8826
8827
8828 #line 3507 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8829
8830
8831
8832 #line default
8833 #line hidden
8834 WriteLiteral(" <dl");
8835
8836 WriteLiteral(" class=\"footerStatement col-xs-12\"");
8837
8838 WriteLiteral(">\r\n");
8839
8840 WriteLiteral(" ");
8841
8842
8843 #line 3509 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8844 Write(CalculateFooterDisclaimer(str_footerDisclaimer,str_productRegulatoryStatus,str_productFormat));
8845
8846
8847 #line default
8848 #line hidden
8849 WriteLiteral(";\r\n\r\n\r\n");
8850
8851 WriteLiteral(" ");
8852
8853
8854 #line 3512 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8855 Write(itemArea["ProductFooterWarning"].ToString());
8856
8857
8858 #line default
8859 #line hidden
8860 WriteLiteral("\r\n </dl>\r\n");
8861
8862
8863 #line 3514 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8864
8865
8866
8867 #line default
8868 #line hidden
8869
8870 #line 3515 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8871 Write(SnippetStart("productName"));
8872
8873
8874 #line default
8875 #line hidden
8876
8877 #line 3515 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8878
8879
8880
8881 #line default
8882 #line hidden
8883 WriteLiteral(" ");
8884
8885 WriteLiteral(" ");
8886
8887
8888 #line 3516 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8889 Write(str_productName);
8890
8891
8892 #line default
8893 #line hidden
8894 WriteLiteral(" ");
8895
8896
8897 #line 3516 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8898 Write(previousCompany.Any() && !isIVD && !isASR && !previouslyConcatName.Equals("") ? String.Format("({0})", previouslyConcatName) : "");
8899
8900
8901 #line default
8902 #line hidden
8903 WriteLiteral(" ");
8904
8905
8906 #line 3516 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8907 Write(SnippetEnd("productName"));
8908
8909
8910 #line default
8911 #line hidden
8912 WriteLiteral("\r\n");
8913
8914
8915 #line 3517 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8916 }
8917 }
8918 catch (Exception ex)
8919 {
8920
8921
8922 #line default
8923 #line hidden
8924 WriteLiteral(" <div");
8925
8926 WriteLiteral(" id=\"errorMessagePDP\"");
8927
8928 WriteLiteral(" data-exception=\"");
8929
8930
8931 #line 3521 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8932 Write(System.Web.HttpUtility.HtmlEncode(ex));
8933
8934
8935 #line default
8936 #line hidden
8937 WriteLiteral("\"");
8938
8939 WriteLiteral(">\r\n");
8940
8941 WriteLiteral(" ");
8942
8943
8944 #line 3522 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8945 Write(Translate("errorRenderingTemplate", "There was an error rendering the product detail page. Please contact technical support."));
8946
8947
8948 #line default
8949 #line hidden
8950 WriteLiteral("\r\n </div>\r\n");
8951
8952
8953 #line 3524 "f:\Domains\Sites\www.biolegend.com\Files\Templates\Designs\BioLegend\eCom\Product\productPdf.cshtml"
8954 }
8955
8956
8957 #line default
8958 #line hidden
8959 WriteLiteral("\r\n");
8960
8961 }
8962 }
8963 }
8964
1 @inherits RazorTemplateBase<RazorTemplateModel<Template>>
2 @using System
3 @using Dynamicweb.Rendering;
4 @using System.Collections.Specialized;
5 @using System.Text;
6 @using System.IO;
7 @using System.Web;
8 @using System.Text.RegularExpressions;
9 @using System.Data;
10 @using BioLegend.Ecommerce.LiveIntegration;
11 @using System.Globalization;
12 @using System.Linq;
13 @using System.Collections;
14 @using System.Collections.Generic
15 @using System.Runtime.Caching;
16 @using System.Text.RegularExpressions;
17 @using System.Collections.Specialized;
18 @using System.Linq
19 @functions {
20
21 public string LocalizeLinksHTML (string HtmlContent){
22 int areaID = Pageview.Area.ID;
23 var area = Dynamicweb.Services.Areas.GetArea(areaID);
24 string areaCulture = area.Culture.ToLower();
25 if(!string.IsNullOrEmpty(HtmlContent)){
26 if(HtmlContent.IndexOf("dwcountry") > -1){
27 return HtmlContent.Replace("dwcountry",areaCulture);
28 } else{
29 return HtmlContent;
30 }
31
32 } else {
33 return HtmlContent;
34 }
35
36 }
37
38 public string LocalizeLinks (string HtmlContent){
39 int areaID = Pageview.Area.ID;
40 var area = Dynamicweb.Services.Areas.GetArea(areaID);
41 string areaCulture = area.Culture.ToLower();
42 if(!string.IsNullOrEmpty(HtmlContent)){
43 if(HtmlContent.IndexOf("dwcountry") > -1){
44 return HtmlContent.Replace("dwcountry",areaCulture);
45 } else if (HtmlContent.IndexOf("?ID=") > -1) {
46 //do something
47 string baseHref = String.Format("https://{0}",GetGlobalValue("Global:Request.Host"));
48 HtmlContent = HtmlContent.Contains("http") ? HtmlContent : baseHref + "/" + HtmlContent;
49 var uri = new Uri(HtmlContent,UriKind.RelativeOrAbsolute);
50 var parsedQuery = HttpUtility.ParseQueryString(uri.Query);
51 var pageID = parsedQuery.Get("ID");
52
53 string pageVersionID = pageID;
54 string localizedLink = HtmlContent;
55 if (!string.IsNullOrEmpty(pageID)){
56 var pageService = new Dynamicweb.Content.PageService();
57 var linkPage = pageService.GetPagesByAreaID(areaID).FirstOrDefault(x => x.MasterPageId == int.Parse(pageID));
58 pageVersionID = linkPage != null ? linkPage.ID.ToString() : pageID ;
59
60 localizedLink = ModifyQueryStringValue(HtmlContent,"ID",pageVersionID);
61 }
62 //return string.Join(",", parsedQuery.AllKeys);
63 //return string.Join(HtmlContent,"-",pageVersionID);
64 return localizedLink;
65 } else {
66 return HtmlContent;
67 }
68 }else {
69 return HtmlContent;
70 }
71
72 }
73
74 private string ModifyQueryStringValue(string p_query, string p_Name, string p_NewValue)
75 {
76 Uri uri = new Uri(p_query,UriKind.RelativeOrAbsolute);
77 //if(p_query.Contains("http"))
78 //{
79 //uri = new Uri(p_query);
80 //} else {
81 //uri = new Uri(p_query, UriKind.Relative);
82 //}
83 //uri = new Uri(p_query);
84
85
86
87 var nameValues = HttpUtility.ParseQueryString(uri.Query);
88 nameValues.Set(p_Name, p_NewValue);
89 string url = uri.AbsolutePath + "?" + nameValues.ToString();
90 return url;
91 }
92 }
93 @using System;
94 @using System.Collections.Generic;
95 @using System.Web.Script.Serialization;
96 @{
97 @* Get secondary user ID *@
98 bool bol_userLogged = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn();
99 int? userID = null;
100 if(bol_userLogged){
101 userID = Pageview.User.ID;
102 if(Pageview.User.CurrentSecondaryUser != null && Pageview.User.CurrentSecondaryUser.ID != 0) {
103 userID = Pageview.User.CurrentSecondaryUser.ID;
104 }
105 }
106 string str_productLanguageId = GetString("Ecom:Product.LanguageID");
107 string str_productID = GetString("Ecom:Product.ID");
108 List<LoopItem> obj_loopVariantCombinations = GetLoop("VariantCombinations");
109 Dictionary<string, Dictionary<string, Dictionary<string, string>>> dic_product = new Dictionary<string, Dictionary<string, Dictionary<string, string>>>();
110 Dictionary<string, Dictionary<string, string>> dic_variants = new Dictionary<string, Dictionary<string, string>>();
111 string str_productJSON = "";
112 string str_productFavoritesUrl = string.Format("Default.aspx?ID={0}", GetPageFromAreaSetting("FavoritesProcess", Pageview));
113
114 if(obj_loopVariantCombinations.Any()){
115 foreach (LoopItem variant in obj_loopVariantCombinations){
116 string str_variantHref = "/"+ variant.GetValue("Ecom:VariantCombination.Link.Clean") + "?PID=" + Dynamicweb.Frontend.PageView.Current().CurrentParagraph.ID.ToString();
117 string str_articleNum = variant.GetString("Ecom:Product.Number");
118 string str_price = variant.GetString("Ecom:Product.Price");
119 string str_stock = variant.GetString("Ecom:Product.AvailableAmount");
120 string str_smallImage = variant.GetString("Ecom:Product.ImageSmall.Clean");
121 string str_id = variant.GetString("Ecom:VariantCombination.VariantID");
122 string str_variantName = variant.GetString("Ecom:VariantCombination.VariantText");
123 string str_variantShortDescription = variant.GetString("Ecom:VariantCombination.VariantText");
124 Dictionary<string, string> dic_variant = new Dictionary<string, string>();
125
126 dic_variant.Add("name", str_variantName);
127 dic_variant.Add("id", str_id);
128 dic_variant.Add("number", str_articleNum);
129 dic_variant.Add("price", str_price);
130 dic_variant.Add("stock", str_stock);
131 dic_variant.Add("smallImage", str_smallImage);
132 // dic_variant.Add("productIsFavorite", variant.GetString("Ecom:Product.IsProductInFavoriteList"));
133
134 try{
135 var favoriteListProducts = Dynamicweb.Ecommerce.CustomerCenter.CustomerProductList.GetListByCustomerId(int.Parse(userID.ToString()));
136 if (favoriteListProducts.Any())
137 {
138 var favoriteProducts = favoriteListProducts.FirstOrDefault().Products;
139 bool isFavorite = favoriteProducts.Where(x => x.ProductVariantId == str_id).Any() && favoriteProducts.Where(x => x.ProductId == str_productID).Any();
140 dic_variant.Add("productIsFavorite", isFavorite.ToString());
141 }
142 }catch{}
143
144 string str_productAddToList = string.Format("{0}&favoriteID={1}&languageID={2}&variantID={3}&favoriteAction=add", str_productFavoritesUrl, str_productID, str_productLanguageId, str_id);
145 string str_productRemoveFromList = string.Format("{0}&favoriteID={1}&languageID={2}&variantID={3}&favoriteAction=remove", str_productFavoritesUrl, str_productID, str_productLanguageId, str_id);
146 dic_variant.Add("addToList", str_productAddToList);
147 dic_variant.Add("removeFromList", str_productRemoveFromList);
148
149
150 dic_variants.Add(str_id, dic_variant);
151
152 }
153 dic_product.Add("product", dic_variants);
154 }
155 str_productJSON = new JavaScriptSerializer().Serialize(dic_product);
156
157 }
158
159 @functions{
160 public static string GetPageFromAreaSetting(string key, dynamic pageview)
161 {
162 string pageID = pageview.Page.ID.ToString();
163 var area = pageview.Area.Item;
164
165 if( area[key] != null && !String.IsNullOrEmpty(area[key].ToString()))
166 {
167 pageID = area[key].ToString();
168 }
169
170 return pageID;
171 }
172 }
173
174
175 @try
176 {
177 @helper RenderParentEcomNav(Dynamicweb.Ecommerce.Products.Group group,string searchPageID) {
178
179 List<string> notShowGroups = new List<string>();
180 notShowGroups.Add("GROUP2"); //Cell Function/Viability Kits
181 notShowGroups.Add("GROUP10");
182 notShowGroups.Add("GROUP18");
183 notShowGroups.Add("GROUP19");
184 notShowGroups.Add("GROUP20"); //Mouse Immunology Antibodies
185 notShowGroups.Add("GROUP21"); //ELISA MAX/LEGEND MAX
186 notShowGroups.Add("GROUP22"); //Buffers/Solutions/Chemicals
187 notShowGroups.Add("GROUP23"); //Secondary Reagents
188 notShowGroups.Add("GROUP24"); //Cytokine/Chemokine Antibodies
189 notShowGroups.Add("GROUP25"); //LEGENDplex
190 notShowGroups.Add("GROUP26"); //Cell Biology Antibodies
191 notShowGroups.Add("GROUP27"); //Rat Immunology Antibodies
192 notShowGroups.Add("GROUP28"); //Human Immunology Antibodies
193 notShowGroups.Add("GROUP29"); //Isotype Controls
194 notShowGroups.Add("GROUP30"); //Recombinant Proteins
195 notShowGroups.Add("GROUP31"); //LEGENDScreen
196 notShowGroups.Add("GROUP32"); //Neuroscience Products
197 notShowGroups.Add("GROUP33"); //Marmoset Immunology Antibodies
198 notShowGroups.Add("GROUP34"); //Virus Immunology Antibodies
199 notShowGroups.Add("GROUP35"); //
200 notShowGroups.Add("GROUP36"); //Epitope Tag Products
201 notShowGroups.Add("GROUP37"); //Flex-T
202 notShowGroups.Add("GROUP50"); //Cell Separation
203 notShowGroups.Add("GROUP51"); //Non-Antibody Chemical Probes
204 notShowGroups.Add("ImportedGROUP1");
205
206 if (group.ParentGroupsDefaultLanguage != null && group.ParentGroupsDefaultLanguage.Any()) {
207 string parent_id = group.ParentGroupsDefaultLanguage[0].Id;
208 Dynamicweb.Ecommerce.Products.Group parent = Dynamicweb.Ecommerce.Products.Group.GetGroupById(parent_id);
209
210 if (parent != null && !notShowGroups.Contains(group.Id)) {
211 <text>@RenderParentEcomNav(parent,searchPageID)</text>
212 }
213 }
214
215 if(!notShowGroups.Contains(group.Id) && group.NavigationShowInSiteMap)
216 {
217 <li data-groupID="@group.Id">
218 <a href="/Default.aspx?ID=@searchPageID&GroupID=@group.Id">
219 @group.Name
220 </a>
221 </li>
222 }
223 }
224
225 @helper RenderBiologyArea(string biologyArea)
226 {
227 string baText = "";
228 Dictionary<string, string> baDict = new Dictionary<string, string>(){
229 {"adaptive_immunity","Adaptive Immunity"},
230 {"angiogenesis","Angiogenesis"},
231 {"apoptosis_tumor_suppressors_cell_death","Apoptosis/Tumor Suppressors/Cell Death"},
232 {"bacterial_proteins_toxins","Bacterial proteins and Toxins"},
233 {"cancer_biomarkers","Cancer Biomarkers"},
234 {"cardiovascular_biology","Cardiovascular Biology"},
235 {"cell_adhesion","Cell Adhesion"},
236 {"cell_biology","Cell Biology"},
237 {"cell_cycle_dna_replication","Cell Cycle/DNA Replication"},
238 {"cell_death","Cell Death"},
239 {"cell_motility_cytoskeleton_structure","Cell Motility/Cytoskeleton/Structure"},
240 {"cell_proliferation_viability","Cell Proliferation and Viability"},
241 {"cell_structure","Cell Structure"},
242 {"chromatin_remodeling_epigenetics","Chromatin Remodeling/Epigenetics"},
243 {"complement","Complement"},
244 {"costimulatory_molecules","Costimulatory Molecules"},
245 {"covid19","COVID-19"},
246 {"dna_repair_replication","DNA Repair/Replication"},
247 {"immuno_oncology","Immuno-Oncology"},
248 {"immunology","Immunology"},
249 {"inhibitory_molecules","Inhibitory Molecules"},
250 {"innate_immunity","Innate Immunity"},
251 {"mitochondrial_function","Mitochondrial Function"},
252 {"neurodegeneration","Neurodegeneration"},
253 {"neuroinflammation","Neuroinflammation"},
254 {"neuroscience","Neuroscience"},
255 {"neuroscience_cell_markers","Neuroscience Cell Markers"},
256 {"protein_misfolding_aggregation","Protein Misfolding and Aggregation"},
257 {"protein_purification","Protein Purification"},
258 {"protein_synthesis","Protein Synthesis"},
259 {"protein_trafficking_clearance","Protein Trafficking and Clearance"},
260 {"signal_transduction","Signal Transduction"},
261 {"stem_cell","Stem Cells"},
262 {"synaptic_biology","Synaptic Biology"},
263 {"transcription_factors","Transcription Factors"},
264 {"ubiquitin_protein_degradation","Ubiquitin/Protein Degradation"},
265 {"western_blot_controls","Western Blot Controls"}
266 };
267 if(!string.IsNullOrWhiteSpace(biologyArea))
268 {
269 string[] biologyAreas = biologyArea.Split(',');
270 foreach (string thisArea in biologyAreas)
271 {
272 baText += baDict[thisArea] + ", ";
273 }
274
275
276 baText = baText.Remove(baText.Length-2);
277 <dt class="col-xs-3 noPaddingLeft">
278 @Translate("BiologyArea","Biology Area")
279 </dt>
280 <dd class="col-xs-9">
281 @baText
282 </dd>
283 }
284 }
285
286 @helper RenderMolecularFamily(string molecularFamily)
287 {
288 string mfText = "";
289 Dictionary<string, string> mfDict = new Dictionary<string, string>(){
290 {"a_synuclein","α-Synuclein"},
291 {"adaptor_proteins","Adaptor Proteins"},
292 {"adhesion_molecules","Adhesion Molecules"},
293 {"aldehyde_dehydrogenases","Aldehyde Dehydrogenases"},
294 {"app_b_amyloid","APP/β-Amyloid"},
295 {"app_ab_degradation","APP/Aβ Degradation"},
296 {"apolipoproteins","Apolipoproteins"},
297 {"autophagosome_markers","Autophagosome Markers"},
298 {"blood_group_markers","Blood Group Markers"},
299 {"carrier_proteins","Carrier Proteins"},
300 {"cd_molecules","CD Molecules"},
301 {"cytokine_chemokine_receptors","Cytokine/Chemokine Receptors"},
302 {"cytokines_chemokines","Cytokines/Chemokines"},
303 {"cytoskeletal_proteins","Cytoskeletal Proteins"},
304 {"endoplasmic_reticulum_markers","Endoplasmic Reticulum Markers"},
305 {"endosomal_markers","Endosomal Markers"},
306 {"enzymes_regulators","Enzymes and Regulators"},
307 {"exosome_markers","Exosome Markers"},
308 {"fc_receptors","Fc Receptors"},
309 {"gap_junction_proteins","Gap Junction Proteins"},
310 {"golgi_markers","Golgi Markers"},
311 {"gpcr","GPCR"},
312 {"growth_factors","Growth Factors"},
313 {"gtpases","GTPases"},
314 {"heat_shock_proteins","Heat Shock Proteins"},
315 {"hormones","Hormones"},
316 {"immune_checkpoint_receptors","Immune Checkpoint Receptors"},
317 {"innate_immune_signaling","Innate Immune Signaling"},
318 {"intermediate_filaments","Intermediate Filaments"},
319 {"ions_channels","Ion Channels"},
320 {"ligases","Ligases"},
321 {"lysosomal_markers","Lysosomal Markers"},
322 {"mhc_antigens","MHC Antigens"},
323 {"microfilaments","Microfilaments"},
324 {"microtubules","Microtubules"},
325 {"mitochondrial_markers","Mitochondrial Markers"},
326 {"neurotransmitter_receptor_trafficking_endocytosis","Neurotransmitter Receptor Trafficking/Endocytosis"},
327 {"neurotransmitter_receptors","Neurotransmitter Receptors"},
328 {"neurotrophic_factors","Neurotrophic Factors"},
329 {"nuclear_markers","Nuclear Markers"},
330 {"organelle_markers","Organelle Markers"},
331 {"postsynaptic_proteins","Postsynaptic proteins"},
332 {"phospho_proteins","Phospho-Proteins"},
333 {"presynaptic_proteins","Presynaptic proteins"},
334 {"prion_cd230","Prion (CD230)"},
335 {"proteases","Proteases"},
336 {"protein_kinases_phosphatase","Protein Kinases/Phosphatase"},
337 {"protein_modifiers","Protein Modifiers"},
338 {"purinergic_receptors","Purinergic Receptors"},
339 {"scaffold_proteins","Scaffold Proteins"},
340 {"secretases","Secretases"},
341 {"semaphorin_receptors","Semaphorin Receptors"},
342 {"siglec_molecules","Siglec Molecules"},
343 {"soluble_receptors","Soluble Receptors"},
344 {"steroid_receptors_nuclear_receptors","Steroid Receptors/Nuclear Receptors"},
345 {"synaptic_vesicle_trafficking_endocytosis","Synaptic Vesicle Trafficking/Endocytosis"},
346 {"tau","Tau"},
347 {"tcrs","TCRs"},
348 {"tdp43","TDP43"},
349 {"toll_like_receptors","Toll Like Receptors"},
350 {"tumor_suppressors","Tumor Suppressors"}
351 };
352 if(!string.IsNullOrWhiteSpace(molecularFamily))
353 {
354 string[] molecularFamilies = molecularFamily.Split(',');
355 foreach (string thisArea in molecularFamilies)
356 {
357 mfText += mfDict[thisArea] + ", ";
358 }
359
360
361 mfText = mfText.Remove(mfText.Length-2);
362 <dt class="col-xs-3 noPaddingLeft">
363 @Translate("MolecularFamily","Molecular Family")
364 </dt>
365 <dd class="col-xs-9">
366 @mfText
367 </dd>
368 }
369 }
370
371 @helper RenderCellType(string cellType)
372 {
373 string ctText = "";
374 Dictionary<string, string> ctDict = new Dictionary<string, string>(){
375 {"Antigenpresentingcells","Antigen-presenting cells"},
376 {"Astrocytes","Astrocytes"},
377 {"Bcells","B cells"},
378 {"Basophils","Basophils"},
379 {"Dendriticcells","Dendritic cells"},
380 {"DopaminergicNeurons","Dopaminergic Neurons"},
381 {"EmbryonicStemCells","Embryonic Stem Cells"},
382 {"Endothelialcells","Endothelial cells"},
383 {"Eosinophils","Eosinophils"},
384 {"Epithelialcells","Epithelial cells"},
385 {"Erythrocytes","Erythrocytes"},
386 {"Fibroblasts","Fibroblasts"},
387 {"GABAergicNeurons","GABAergic Neurons"},
388 {"GlutamatergicNeurons","Glutamatergic Neurons"},
389 {"Granulocytes","Granulocytes"},
390 {"Hematopoieticstemandprogenitors","Hematopoietic stem and progenitors"},
391 {"Langerhanscells","Langerhans cells"},
392 {"Leukemia","Leukemia"},
393 {"Leukocytes","Leukocytes"},
394 {"Lymphocytes","Lymphocytes"},
395 {"Macrophages","Macrophages"},
396 {"Mastcells","Mast cells"},
397 {"MatureNeurons","Mature Neurons"},
398 {"Megakaryocytes","Megakaryocytes"},
399 {"Mesenchymalcells","Mesenchymal cells"},
400 {"MesenchymalStemCells","Mesenchymal Stem Cells"},
401 {"Microglia","Microglia"},
402 {"Monocytes","Monocytes"},
403 {"NeuralStemCells","Neural Stem Cells"},
404 {"Neurons","Neurons"},
405 {"Neutrophils","Neutrophils"},
406 {"NKcells","NK cells"},
407 {"NKTcells","NKT cells"},
408 {"Oligodendrocytes","Oligodendrocytes"},
409 {"Osteoblasts","Osteoblasts"},
410 {"Osteoclasts","Osteoclasts"},
411 {"Plasmacells","Plasma cells"},
412 {"Platelets","Platelets"},
413 {"Schwanncells","Schwann Cells"},
414 {"Tcells","T cells"},
415 {"Tfh","Tfh"},
416 {"Th1","Th1"},
417 {"Th2","Th2"},
418 {"Th17","Th17"},
419 {"Thymocytes","Thymocytes"},
420 {"Tregs","Tregs"}
421 };
422 if(!string.IsNullOrWhiteSpace(cellType))
423 {
424 string[] cellTypes = cellType.Split(',');
425 foreach (string thisType in cellTypes)
426 {
427 ctText += ctDict[thisType] + ", ";
428 }
429
430
431 ctText = ctText.Remove(ctText.Length-2);
432 <dt class="col-xs-3 noPaddingLeft">
433 @Translate("CellType","Cell Type")
434 </dt>
435 <dd class="col-xs-9">
436 @ctText
437 </dd>
438 }
439 }
440
441 @helper RenderIsoype(string isotype)
442 {
443 string ctText = "";
444 Dictionary<string, string> ctDict = new Dictionary<string, string>(){
445 {"","N/A"},
446 {"01","Armenian Hamster IgG"},
447 {"02","Armenian Hamster IgG1"},
448 {"03","Armenian Hamster IgG1, κ"},
449 {"04","Armenian Hamster IgG2, κ"},
450 {"05","Armenian Hamster IgM"},
451 {"06","Donkey Polyclonal Ig"},
452 {"07","Goat Ig"},
453 {"08","Goat IgG"},
454 {"09","Goat Polyclonal Ig"},
455 {"09_5","Goat Polyclonal IgG"},
456 {"10","Hamster IgG"},
457 {"11","Mouse (A.SW) IgG2a, κ"},
458 {"12","Mouse (BALB/c) IgE, κ"},
459 {"13","Mouse (BALB/c) IgG1, κ"},
460 {"14","Mouse (BALB/c) IgG2a, κ"},
461 {"15","Mouse (BALB/c) IgG2b, κ"},
462 {"16","Mouse (C3H.SW) IgG2a, κ"},
463 {"17","Mouse (C3H.SW) IgG3, κ"},
464 {"18","Mouse (C3H) IgG2a, κ"},
465 {"19","Mouse (C57BL/6) IgE, κ"},
466 {"20","Mouse (C57BL/6) IgG1, κ"},
467 {"21","Mouse (CWB) IgG2a, κ"},
468 {"22","Mouse (SJL) IgG2a, κ"},
469 {"23","Mouse (SJL) IgG2b, κ"},
470 {"24","Mouse IgA, κ"},
471 {"24_1","Mouse IgA"},
472 {"25","Mouse IgG"},
473 {"26","Mouse IgG, κ"},
474 {"27","Mouse IgG1"},
475 {"28","Mouse IgG1 (all clones)"},
476 {"29","Mouse IgG1/Mouse IgG2a"},
477 {"29_1","Mouse IgG1, κ/Mouse IgG2a, κ/Mouse IgG2b, κ"},
478 {"29_2","Mouse IgG1/Mouse IgM"},
479 {"31","Mouse IgG1, κ"},
480 {"31_1","Mouse IgG1, κ/Mouse IgG2a, κ"},
481 {"31_2","Mouse IgG1, κ/Rat IgG2b, κ"},
482 {"32","Mouse IgG1, κ (all clones)"},
483 {"32_2","Mouse IgG1, λ"},
484 {"33","Mouse IgG1/Mouse IgG2b"},
485 {"34","Mouse IgG2a"},
486 {"35","Mouse IgG2a, κ"},
487 {"36","Mouse (A.TL) IgG2a, κ"},
488 {"37","Mouse (C3H.KBR) IgG2a, κ"},
489 {"38","Mouse IgG2a, λ"},
490 {"39","Mouse IgG2b"},
491 {"40","Mouse IgG2b, κ"},
492 {"41","Mouse IgG2b, λ"},
493 {"41_2","Mouse IgG2c"},
494 {"41_5","Mouse IgG3"},
495 {"42","Mouse IgG3, κ"},
496 {"43","Mouse IgM"},
497 {"44","Mouse IgM, κ"},
498 {"45","Mouse IgM, λ"},
499 {"46","Mouse (C3H/HeJ) IgG2a, κ"},
500 {"46_5","Mouse Polyclonal"},
501 {"47","Rabbit IgG"},
502 {"47_1","Rabbit Ig"},
503 {"48","Rabbit Polyclonal IgG"},
504 {"48_5","Rabbit Polyclonal"},
505 {"49","Rat (SD) IgG2b, λ"},
506 {"49_5","Rat Polyclonal IgG"},
507 {"50","Rat IgG"},
508 {"51","Rat IgG, κ"},
509 {"52","Rat IgG1"},
510 {"53","Rat IgG1, κ"},
511 {"54","Rat IgG1, λ"},
512 {"55","Rat IgG2a"},
513 {"56","Rat IgG2a, κ"},
514 {"57","Rat IgG2a, λ"},
515 {"58","Rat IgG2a/Rat IgG1"},
516 {"59","Rat IgG2a/Rat IgG2b"},
517 {"59_1","Rat IgG2a, κ/Rat IgG2b, κ"},
518 {"59_2","Armenian Hamster IgG/Rat IgG2a/Rat IgG2b"},
519 {"59_3","Rat IgG2a, κ/Rat IgG2b, κ/Rat IgG2c, κ"},
520 {"60","Rat IgG2b"},
521 {"61","Rat IgG2b, κ"},
522 {"62","Rat IgG2b, λ"},
523 {"62_5","Rat IgG2c"},
524 {"64","Rat IgG2c, κ"},
525 {"64_5","Rat IgM"},
526 {"65","Rat IgM, κ"},
527 {"66","Syrian Hamster IgG"},
528 {"67","Armenian Hamster IgG1, λ"},
529 {"68","Chicken Polyclonal IgY"},
530 {"69","Sheep Polyclonal"},
531 {"70","Guinea Pig Polyclonal"},
532 {"81","Human IgG1"},
533 {"81_5","Human IgG1, κ"},
534 {"82","Human IgG2"},
535 {"82_5","Human IgG2, κ"},
536 {"83","Human IgG3"},
537 {"83_5","Human IgG3, κ"},
538 {"84","Human IgG4"},
539 {"84_5","Human IgG4, κ"},
540 {"99","TBD"},
541 {"47_5","Rabbit Polyclonal Ig"},
542 {"41_3","Mouse IgG2c, κ"},
543 {"67_9","Chicken IgY"},
544 {"40_1","Mouse IgG2b, κ/Mouse IgM, κ"},
545 {"33_1","Mouse IgG1, κ/Mouse IgG2b, κ"},
546 {"71","Llama VH Ig"}
547 };
548 if(!string.IsNullOrWhiteSpace(isotype))
549 {
550 string[] isotypes = isotype.Split(',');
551 foreach (string thisType in isotypes)
552 {
553 ctText += ctDict[thisType] + ", ";
554 }
555
556
557 ctText = ctText.Remove(ctText.Length-2);
558 <dt class="col-xs-3 noPaddingLeft">
559 @Translate("IsotypeLabel","Isotype")
560 </dt>
561 <dd class="col-xs-9">
562 @ctText
563 </dd>
564 }
565 }
566
567 @helper RenderLaser(string laser)
568 {
569 string laserText = "";
570 string violetLaser = Translate("violetLaser","Violet Laser (405 nm)");
571 string blueLaser = Translate("blueLaser","Blue Laser (488 nm)");
572 string greenLaser = Translate("greenLaser","Green Laser (532 nm)/Yellow-Green Laser (561 nm)");
573 string redLaser = Translate("redLaser","Red Laser (633 nm)");
574 string ultravioletLaser = Translate("ultravioletLaser","Ultraviolet Laser (355 nm)");
575 string[] lasers = laser.Split(',');
576 foreach (string thisLaser in lasers)
577 {
578 if(thisLaser == "violetLaser"){
579 laserText += violetLaser + "<br />";
580 }
581 if(thisLaser == "blueLaser"){
582 laserText += blueLaser + "<br />";
583 }
584 if(thisLaser == "greenLaser"){
585 laserText += greenLaser + "<br />";
586 }
587 if(thisLaser == "redLaser"){
588 laserText += redLaser + "<br />";
589 }
590 if(thisLaser == "ultravioletLaser"){
591 laserText += ultravioletLaser + "<br />";
592 }
593 }
594
595 if(!string.IsNullOrWhiteSpace(laserText))
596 {
597 <dt class="col-xs-3 noPaddingLeft">
598 @Translate("ExcitationLaser","Excitation Laser")
599 </dt>
600 <dd class="col-xs-9">
601 @laserText
602 </dd>
603 }
604 }
605
606 @helper RenderSpectralData(string format = "", string productID = "")
607 {
608 string variable = "";
609 string textAnchor = "";
610
611 if(format == "A488")
612 {
613 variable = "AF488";
614 textAnchor = "Alexa Fluor® 488";
615 }
616 else if(format == "A555")
617 {
618 variable = "AF555";
619 textAnchor = "Alexa Fluor® 555";
620 }
621 else if(format == "A594")
622 {
623 variable = "AF594";
624 textAnchor = "Alexa Fluor® 594";
625 }
626 else if(format == "A647")
627 {
628 variable = "AF647";
629 textAnchor = "Alexa Fluor® 647";
630 }
631 else if(format == "A660")
632 {
633 variable = "AF660";
634 textAnchor = "Alexa Fluor® 660";
635 }
636 else if(format == "A700")
637 {
638 variable = "AF700";
639 textAnchor = "Alexa Fluor® 700";
640 }
641 else if(format == "APC")
642 {
643 variable = "APC";
644 textAnchor = "APC";
645 }
646 else if(format == "APC_CY5.5")
647 {
648 variable = "APCCY55";
649 textAnchor = "APC/Cy5.5";
650 }
651 else if(format == "APC_CYANINE7")
652 {
653 variable = "APCCYANINE7";
654 textAnchor = "APC/Cyanine7";
655 }
656 else if(format == "APC_F750")
657 {
658 variable = "APCF750";
659 textAnchor = "APC/Fire™ 750";
660 }
661 else if(format == "BV421")
662 {
663 variable = "BV421";
664 textAnchor = "Brilliant Violet 421™";
665 }
666 else if(format == "BV510")
667 {
668 variable = "BV510";
669 textAnchor = "Brilliant Violet 510™";
670 }
671 else if(format == "BV570")
672 {
673 variable = "BV570";
674 textAnchor = "Brilliant Violet 570™";
675 }
676 else if(format == "BV605")
677 {
678 variable = "BV605";
679 textAnchor = "Brilliant Violet 605™";
680 }
681 else if(format == "BV650")
682 {
683 variable = "BV650";
684 textAnchor = "Brilliant Violet 650™";
685 }
686 else if(format == "BV711")
687 {
688 variable = "BV711";
689 textAnchor = "Brilliant Violet 711™";
690 }
691 else if(format == "BV750")
692 {
693 variable = "BV750";
694 textAnchor = "Brilliant Violet 750™";
695 }
696 else if(format == "BV785")
697 {
698 variable = "BV785";
699 textAnchor = "Brilliant Violet 785™";
700 }
701 else if(format == "CYANINE3")
702 {
703 variable = "CYANINE3";
704 textAnchor = "Cyanine3";
705 }
706 else if(format == "CYANINE5")
707 {
708 variable = "CYANINE5";
709 textAnchor = "Cyanine5";
710 }
711 else if(format == "FITC")
712 {
713 variable = "FITC";
714 textAnchor = "FITC";
715 }
716 else if(format == "PB")
717 {
718 variable = "PB";
719 textAnchor = "Pacific Blue™";
720 }
721 else if(format == "PE")
722 {
723 variable = "PE";
724 textAnchor = "PE";
725 }
726 else if(format == "PE_CYANINE5")
727 {
728 variable = "PECYANINE5";
729 textAnchor = "PE/Cyanine5";
730 }
731 else if(format == "PE_CY5.5")
732 {
733 variable = "PECY55";
734 textAnchor = "PE/Cy5.5";
735 }
736 else if(format == "PE_CYANINE7")
737 {
738 variable = "PECYANINE7";
739 textAnchor = "PE/Cyanine7";
740 }
741 else if(format == "PE_DZL594")
742 {
743 variable = "PEDZL594";
744 textAnchor = "PE/Dazzle™ 594";
745 }
746 else if(format == "PERCP")
747 {
748 variable = "PERCP";
749 textAnchor = "PerCP";
750 }
751 else if(format == "PERCP_CY55")
752 {
753 variable = "PERCPCYANINE55";
754 textAnchor = "PerCP/Cyanine5.5";
755 }
756 //PerCP/Cyanine5.5
757 else if(format == "PERCP_CYANINE5.5")
758 {
759 variable = "PERCPCYANINE55";
760 textAnchor = "PerCP/Cyanine5.5";
761 }
762 //Flash Phalloidin NIR 647
763 else if(productID == "13240")
764 {
765 variable = "FPNIR647";
766 textAnchor = "Flash Phalloidin™ NIR 647";
767 }
768 //Flash Phalloidin Red 594
769 else if(productID == "13203")
770 {
771 variable = "FPR594";
772 textAnchor = "Flash Phalloidin™ Red 594";
773 }
774 //Flash Phalloidin Green 488
775 else if(productID == "13950")
776 {
777 variable = "FPG488";
778 textAnchor = "Flash Phalloidin™ Green 488";
779 }
780 //DAPI
781 else if(productID == "8108")
782 {
783 variable = "DAPI";
784 textAnchor = "DAPI (4',6-Diamidino-2-Phenylindole, Dilactate)";
785 }
786 //PI
787 else if(productID == "2651")
788 {
789 variable = "PI";
790 textAnchor = "Propidium Iodide";
791 }
792 //7AAD
793 else if(productID == "1649")
794 {
795 variable = "7AAD";
796 textAnchor = "7-AAD";
797 }
798 /* zombie Aqua */
799 else if(productID == "8444")
800 {
801 variable = "ZA";
802 textAnchor = "Zombie Aqua™";
803 }
804 /* zombie Green */
805 else if(productID == "9340")
806 {
807 variable = "ZG";
808 textAnchor = "Zombie Green™";
809 }
810 /* zombie NIR */
811 else if(productID == "8657")
812 {
813 variable = "ZNIR";
814 textAnchor = "Zombie NIR™";
815 }
816 /* zombie Red */
817 else if(productID == "9338")
818 {
819 variable = "ZR";
820 textAnchor = "Zombie Red™";
821 }
822 /* zombie Ultraviolet */
823 else if(productID == "9336")
824 {
825 variable = "ZUV";
826 textAnchor = "Zombie UV™";
827 }
828 /* zombie Violet */
829 else if(productID == "9341")
830 {
831 variable = "ZV";
832 textAnchor = "Zombie Violet™";
833 }
834 /* zombie Yellow */
835 else if(productID == "8514")
836 {
837 variable = "ZY";
838 textAnchor = "Zombie Yellow™";
839 }
840 /* zombie B550 */
841 else if(productID == "23629")
842 {
843 variable = "ZB550";
844 textAnchor = "Zombie B550™";
845 }
846 /* zombie Zombie YG581 */
847 else if(productID == "23631")
848 {
849 variable = "ZYG581";
850 textAnchor = "Zombie YG581™";
851 }
852 /* zombie R685 */
853 else if(productID == "23628")
854 {
855 variable = "ZR685";
856 textAnchor = "Zombie R685™";
857 }
858 /* zombie R718 */
859 else if(productID == "23630")
860 {
861 variable = "ZR718";
862 textAnchor = "Zombie R718™";
863 }
864 /* CFSE */
865 else if(productID == "8053")
866 {
867 variable = "CFSE";
868 textAnchor = "CFSE";
869 }
870 /* DRAQ7 */
871 else if(productID == "9628")
872 {
873 variable = "DRAQ7";
874 textAnchor = "DRAQ7™";
875 }
876 /* DRAQ5 */
877 else if(productID == "9674")
878 {
879 variable = "DRAQ5";
880 textAnchor = "DRAQ5™";
881 }
882
883 /* Helix NP NIR */
884 else if(productID == "13421")
885 {
886 variable = "HNPNIR";
887 textAnchor = "Helix NP™ NIR";
888 }
889
890 /* Cytophase Violet */
891 else if (productID == "13786")
892 {
893 variable = "CV";
894 textAnchor = "Cytophase™ Violet";
895 }
896
897 /* PE Fire 640 */
898 else if(format == "PE_F640")
899 {
900 variable = "PEFIRE640";
901 textAnchor = "PE/Fire™ 640";
902 }
903
904 /* PE Fire 700 */
905 else if(format == "PE_F700")
906 {
907 variable = "PEFIRE700";
908 textAnchor = "PE/Fire™ 700";
909 }
910
911 /* PE Fire 744 */
912 else if(format == "PE_F744")
913 {
914 variable = "PEFIRE744";
915 textAnchor = "PE/Fire™ 744";
916 }
917
918 /* PE Fire 780 */
919 else if(format == "PE_F780")
920 {
921 variable = "PEFIRE780";
922 textAnchor = "PE/Fire™ 780";
923 }
924
925 /* PE Fire 810 */
926 else if(format == "PE_F810")
927 {
928 variable = "PEFIRE810";
929 textAnchor = "PE/Fire™ 810";
930 }
931
932 /* DyLight 649 */
933 else if(format == "D649")
934 {
935 variable = "DYLIGHT649";
936 textAnchor = "DyLight® 649";
937 }
938
939 /* Karavia 520 */
940 else if(format == "KB520")
941 {
942 variable = "KB520";
943 textAnchor = "KIRAVIA Blue 520™";
944 }
945
946 /* Apotracker Green */
947 else if (productID == "18527")
948 {
949 variable = "APOTRACKERGREEN";
950 textAnchor = "Apotracker™ Green";
951 }
952
953 /* Calcein Red-AM */
954 else if (productID == "18901")
955 {
956 variable = "CRAM";
957 textAnchor = "Calcein Red-AM";
958 }
959
960 /* Spark YG 570 */
961 else if(format == "SPKYG_570")
962 {
963 variable = "SPARKYG570";
964 textAnchor = "Spark YG™ 570";
965 }
966
967 /* Spark Violet 538 */
968 else if(format == "SPKVL_538")
969 {
970 variable = "SPKV538";
971 textAnchor = "Spark Violet™ 538";
972 }
973
974 /* Spark YG 581 */
975 else if(format == "SPKYG_581")
976 {
977 variable = "SPKYG581";
978 textAnchor = "Spark YG™ 581";
979 }
980
981 /* Spark Blue 574 */
982 else if(format == "SPKBL_574")
983 {
984 variable = "SPARKB574";
985 textAnchor = "Spark Blue™ 574";
986 }
987
988 /* Spark Violet 423 */
989 else if(format == "SPKVL_423")
990 {
991 variable = "SPKV423";
992 textAnchor = "Spark Violet™ 423";
993 }
994
995 /* Spark UV 387 */
996 else if(format == "SPKUV_387")
997 {
998 variable = "SPARKUV387";
999 textAnchor = "Spark UV™ 387";
1000 }
1001
1002 /* Spark Violet 500 */
1003 else if(format == "SPKVL_500")
1004 {
1005 variable = "SPARKV500";
1006 textAnchor = "Spark Violet™ 500";
1007 }
1008
1009 /* PerCP/Fire 780 */
1010 else if(format == "PERCP_F780")
1011 {
1012 variable = "PERCPF780";
1013 textAnchor = "PerCP/Fire™ 780";
1014 }
1015
1016 /* PerCP/Fire 806 */
1017 else if(format == "PERCP_F806")
1018 {
1019 variable = "PERCPF806";
1020 textAnchor = "PerCP/Fire™ 806";
1021 }
1022
1023 /* Spark Blue 515 */
1024 else if(format == "SPKBL_515")
1025 {
1026 variable = "SPKBL_515";
1027 textAnchor = "Spark Blue™ 515";
1028 }
1029
1030 /* Lysosome Probe Deep Red */
1031 else if(productID == "23745")
1032 {
1033 variable = "LPDR";
1034 textAnchor = "Lysosome Probe Deep Red";
1035 }
1036
1037 /* Lysosome Probe Green */
1038 else if(productID == "23741")
1039 {
1040 variable = "LPG";
1041 textAnchor = "Lysosome Probe Green";
1042 }
1043
1044 /* Lysosome Probe NIR */
1045 else if(productID == "23744")
1046 {
1047 variable = "LPNIR";
1048 textAnchor = "Lysosome Probe NIR";
1049 }
1050
1051 /* Lysosome Probe Orange */
1052 else if(productID == "23742")
1053 {
1054 variable = "LPO";
1055 textAnchor = "Lysosome Probe Orange";
1056 }
1057
1058 /* Lysosome Probe Red */
1059 else if(productID == "23743")
1060 {
1061 variable = "LPR";
1062 textAnchor = "Lysosome Probe Red";
1063 }
1064
1065 /* JC-10 Mitochondrial Membrane Potential Kit */
1066 else if(productID == "23092")
1067 {
1068 variable = "JC10MMPK";
1069 textAnchor = "JC-10 Mitochondrial Membrane Potential Kit";
1070 }
1071
1072 /* Spark PLUS UV 395 */
1073 else if(format == "SPKPLUSUV_395")
1074 {
1075 variable = "SPKPLUSUV_395";
1076 textAnchor = "Spark PLUS UV™ 395";
1077 }
1078
1079
1080
1081
1082
1083
1084 /* APC/Fire 810 */
1085 else if(format == "APC_F810")
1086 {
1087 variable = "APCF810";
1088 textAnchor = "APC/Fire™ 810";
1089 }
1090
1091 /* Spark Blue 550 */
1092 else if(format == "SPKBL_550")
1093 {
1094 variable = "SPKB550";
1095 textAnchor = "Spark Blue™ 550";
1096 }
1097
1098 /* Spark PLUS B550 */
1099 else if(format == "SPKPLUSB_550")
1100 {
1101 variable = "SPKPLUSB_550";
1102 textAnchor = "Spark PLUS B550™";
1103 }
1104
1105 /* Spark NIR 685 */
1106 else if(format == "SPKNIR_685")
1107 {
1108 variable = "SPKNIR685";
1109 textAnchor = "Spark NIR™ 685";
1110 }
1111
1112 /* Spark Red 718 */
1113 else if(format == "SPKR_718")
1114 {
1115 variable = "SPKR718";
1116 textAnchor = "Spark Red™ 718";
1117 }
1118
1119 /* Spark YG 593 */
1120 else if(format == "SPKYG_593")
1121 {
1122 variable = "SPKYG593";
1123 textAnchor = "Spark YG™ 593";
1124 }
1125
1126 /* GMP Alexa Fluor® 488 */
1127 else if(format == "GMP_A488")
1128 {
1129 variable = "AF488";
1130 textAnchor = "GMP Alexa Fluor® 488";
1131 }
1132
1133 /* GMP Alexa Fluor® 647 */
1134 else if(format == "GMP_A647")
1135 {
1136 variable = "AF647";
1137 textAnchor = "GMP Alexa Fluor® 647";
1138 }
1139
1140 /* GMP Alexa Fluor® 700 */
1141 else if(format == "GMP_A700")
1142 {
1143 variable = "AF700";
1144 textAnchor = "GMP Alexa Fluor® 700";
1145 }
1146
1147 /* GMP APC */
1148 else if(format == "GMP_APC")
1149 {
1150 variable = "APC";
1151 textAnchor = "GMP APC";
1152 }
1153
1154 /* GMP APC/Cyanine7 */
1155 else if(format == "GMP_APC_CYANINE7")
1156 {
1157 variable = "APCCYANINE7";
1158 textAnchor = "GMP APC/Cyanine7";
1159 }
1160
1161 /* GMP APC/Fire 750 */
1162 else if(format == "GMP_APC_F750")
1163 {
1164 variable = "APCF750";
1165 textAnchor = "GMP APC/Fire™ 750";
1166 }
1167
1168 /* GMP FITC */
1169 else if(format == "GMP_FITC")
1170 {
1171 variable = "FITC";
1172 textAnchor = "GMP FITC";
1173 }
1174
1175 /* GMP Pacific Blue */
1176 else if(format == "GMP_PB")
1177 {
1178 variable = "PB";
1179 textAnchor = "GMP Pacific Blue™";
1180 }
1181
1182 /* GMP PE */
1183 else if(format == "GMP_PE")
1184 {
1185 variable = "PE";
1186 textAnchor = "GMP PE";
1187 }
1188
1189 /* GMP PE/Cyanine5 */
1190 else if(format == "GMP_PE_CYANINE5")
1191 {
1192 variable = "PECYANINE5";
1193 textAnchor = "GMP PE/Cyanine5";
1194 }
1195
1196 /* GMP PE/Cyanine7 */
1197 else if(format == "GMP_PE_CYANINE7")
1198 {
1199 variable = "PECYANINE7";
1200 textAnchor = "GMP PE/Cyanine7";
1201 }
1202
1203 /* GMP PE/Dazzle 594 */
1204 else if(format == "GMP_PE_DZL594")
1205 {
1206 variable = "PEDZL594";
1207 textAnchor = "GMP PE/Dazzle™ 594";
1208 }
1209
1210 /* GMP PerCP */
1211 else if(format == "GMP_PERCP")
1212 {
1213 variable = "PERCP";
1214 textAnchor = "GMP PerCP";
1215 }
1216
1217 /* GMP PerCP/Cyanine5.5 */
1218 else if(format == "GMP_PERCP_CYANINE5.5")
1219 {
1220 variable = "PERCPCYANINE55";
1221 textAnchor = "GMP PerCP/Cyanine5.5";
1222 }
1223
1224 /* GMP Spark Violet 423 */
1225 else if(format == "GMP_SPKVL_423")
1226 {
1227 variable = "SPKV423";
1228 textAnchor = "GMP Spark Violet™ 423";
1229 }
1230
1231 /* GMP Spark Violet 538 */
1232 else if(format == "GMP_SPKVL_538")
1233 {
1234 variable = "SPKV538";
1235 textAnchor = "GMP Spark Violet™ 538";
1236 }
1237
1238
1239 if (!string.IsNullOrWhiteSpace(variable))
1240 {
1241 string spectraImage = "/Files/Images/media_assets/fluorophore_equivalency/data/"+variable+".png";
1242 bool fileExists = File.Exists(HttpContext.Current.Server.MapPath(spectraImage));
1243
1244 if(fileExists)
1245 {
1246 <a id="spectralDataLink" class="col-xs-9" href='javascript:loadSpectra("@variable");'>
1247 <i class="bl bl-iconLink"></i>
1248 @Translate("seeSpectralData","See {{Format}} spectral data").Replace("{{Format}}", textAnchor)
1249 </a>
1250 }
1251 }
1252 }
1253
1254 @helper RenderMaterialDataSheet(string MSDS_Type = "", string MSDS_File = "", string MSDS_Options = "", string Regulatory_Status = "", string productID = "", string techSupportID = "", string translateAnchor = "", string translateAnchorCommingSoon = "",string translateAnchorNATechSupport = ""){
1255
1256 string msdsLink = "";
1257
1258 var cdnStaticDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("Static_Content", "Static_Content_Domain"); //CUSTOM CODE
1259
1260 if(MSDS_Type.Equals("LEAF"))
1261 {
1262 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/LEAF_NC_EN_CLP_2015-07-01.pdf";
1263 }
1264 else if(MSDS_Type.Equals("ELISAMAXStandard"))
1265 {
1266 msdsLink = "/dwcountry/sdsoptions-4416";
1267 }
1268 else if(MSDS_Type.Equals("ELISAMAXDeluxe"))
1269 {
1270 msdsLink = "/dwcountry/sdsoptions-4417";
1271 }
1272 else if(MSDS_Type.Equals("LEGENDMAX"))
1273 {
1274 msdsLink = "/dwcountry/sdsoptions-4419";
1275 }
1276 else if(MSDS_Type.Equals("LEGENDplex"))
1277 {
1278 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/LEGENDplex_COMP_SDS_2015-05-07_Revised.pdf";
1279 }
1280 else if(MSDS_Type.Equals("MojoSort"))
1281 {
1282 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/MojoSort_NC_EN_CLP2015-07-01.pdf";
1283 }
1284 else if(MSDS_Type.Equals("Streptavidin and Avidin"))
1285 {
1286 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/Streptavidin_and_Avidin_NC_EN_CLP_2015-11-20.pdf";
1287 }
1288 else if(MSDS_Type.Equals("ASR"))
1289 {
1290 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/Diagnostic_Pure_and_Conjugated_Antibodies RSD_United_States-3.pdf";
1291 }
1292 else if(MSDS_Type.Equals("7AAD"))
1293 {
1294 msdsLink = "/dwcountry/sdsoptions-28";
1295 }
1296 else if(MSDS_Type.Equals("IVD A"))
1297 {
1298 msdsLink = "/dwcountry/sdsoptions-4109";
1299 }
1300 else if(MSDS_Type.Equals("IVD B"))
1301 {
1302 msdsLink = "/dwcountry/sdsoptions-4110";
1303 }
1304 else if(MSDS_Type.Equals("Veri-Cells")){
1305 msdsLink = "/dwcountry/sdsoptions-4000";
1306 }
1307 else if(MSDS_Type.Equals("Flow Kit"))
1308 {
1309 msdsLink = "/dwcountry/sds";
1310 }
1311 else if(MSDS_Type.Equals("Zombie Dye"))
1312 {
1313 msdsLink = "/dwcountry/sdsoptions-4210";
1314 }
1315 else if(MSDS_Type.Equals("Calcein AM"))
1316 {
1317 msdsLink = "/dwcountry/sdsoptions-4209";
1318 }
1319 else if(MSDS_Type.Equals("Mitospy"))
1320 {
1321 msdsLink = "/dwcountry/sdsoptions-4208";
1322 }
1323 else if(MSDS_Type.Equals("LPXKit1"))
1324 {
1325 msdsLink = "/dwcountry/sdsoptions-4965";
1326 }
1327 else if(MSDS_Type.Equals("LPXKit2"))
1328 {
1329 msdsLink = "/dwcountry/sdsoptions-4966";
1330 }
1331 else if(MSDS_Type.Equals("LPXKit3"))
1332 {
1333 msdsLink = "/dwcountry/sdsoptions-4967";
1334 }
1335 else if(MSDS_Type.Equals("LPXKit4"))
1336 {
1337 msdsLink = "/dwcountry/sdsoptions-4968";
1338 }
1339 else if(MSDS_Type.Equals("LPXKit5"))
1340 {
1341 msdsLink = "/dwcountry/sdsoptions-4969";
1342 }
1343 else if(MSDS_Type.Equals("LPXKit7"))
1344 {
1345 msdsLink = "/dwcountry/sdsoptions-4971";
1346 }
1347 else if(MSDS_Type.Equals("LPXCaptureBead"))
1348 {
1349 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/Non_Hazardous_Statement_LegendPlex_Capture_Beads.pdf";
1350 }
1351 else if(MSDS_Type.Equals("LPXLyophStandard"))
1352 {
1353 msdsLink = cdnStaticDomain + "/Files/Images/BioLegend/support_sheet/Non_Hazardous_Statement_LegendPlex_Lyo_Formula_B.pdf";
1354 }
1355 else if(MSDS_Type.Equals("LPXLyophStandardSoloFormulationA"))
1356 {
1357 msdsLink = "/dwcountry/sdsoptions-4964";
1358 }
1359 else if(MSDS_Type.Equals("LyophilizedAntibodieswithAzide"))
1360 {
1361 msdsLink = "/dwcountry/sdsoptions-4494";
1362 }
1363 else if(MSDS_Type.Equals("RecProtein1"))
1364 {
1365 msdsLink = "/dwcountry/sdsoptions-4975";
1366 }
1367 else if(MSDS_Type.Equals("RecProtein2"))
1368 {
1369 msdsLink = "/dwcountry/sdsoptions-4973";
1370 }
1371 else if(MSDS_Type.Equals("RecProtein3"))
1372 {
1373 msdsLink = "/dwcountry/sdsoptions-4974";
1374 }
1375 else if(MSDS_Type.Equals("RecProtein4"))
1376 {
1377 msdsLink = "/dwcountry/sdsoptions-4976";
1378 }
1379 else if(MSDS_Type.Equals("RecProtein5"))
1380 {
1381 msdsLink = "/dwcountry/sdsoptions-4972";
1382 }
1383 else if(MSDS_Type.Equals("ELISAKIT1"))
1384 {
1385 msdsLink = "/dwcountry/sdsoptions-4978";
1386 }
1387 else if(MSDS_Type.Equals("ELISAKIT2"))
1388 {
1389 msdsLink = "/dwcountry/sdsoptions-4979";
1390 }
1391 else if(MSDS_Type.Equals("ELISAKIT3"))
1392 {
1393 msdsLink = "/dwcountry/sdsoptions-4981";
1394 }
1395 else if(MSDS_Type.Equals("ELISAKIT5"))
1396 {
1397 msdsLink = "/dwcountry/sdsoptions-4987";
1398 }
1399 else if(MSDS_Type.Equals("ELISAKIT7"))
1400 {
1401 msdsLink = "/dwcountry/sdsoptions-4986";
1402 }
1403 else if(MSDS_Type.Equals("ELISAKIT8"))
1404 {
1405 msdsLink = "/dwcountry/sdsoptions-4982";
1406 }
1407 else if(MSDS_Type.Equals("ELISAKIT9"))
1408 {
1409 msdsLink = "/dwcountry/sdsoptions-4984";
1410 }
1411 else if(MSDS_Type.Equals("ELISAKIT10"))
1412 {
1413 msdsLink = "/dwcountry/sdsoptions-4983";
1414 }
1415 else if(MSDS_Type.Equals("ELISAKIT11"))
1416 {
1417 msdsLink = "/dwcountry/sdsoptions-4988";
1418 }
1419 else if(MSDS_Type.Equals("ELISAKIT13"))
1420 {
1421 msdsLink = "/dwcountry/sdsoptions-4991";
1422 }
1423 else if(MSDS_Type.Equals("RAPIDMAXKIT1"))
1424 {
1425 msdsLink = "/dwcountry/sdsoptions-4997";
1426 }
1427 else if(MSDS_Type.Equals("Custom") && !string.IsNullOrWhiteSpace(MSDS_Options))
1428 {
1429 msdsLink = "/dwcountry/sdsoptions-"+MSDS_Options;
1430 }
1431 else if(MSDS_Type.Equals("Custom") && !string.IsNullOrWhiteSpace(MSDS_File))
1432 {
1433 msdsLink = MSDS_File;
1434 }
1435 else{
1436 msdsLink = "/dwcountry/sdsoptions-22";
1437 }
1438
1439 if(msdsLink.Contains("sds-options"))
1440 {
1441 <a href='@LocalizeLinksHTML(msdsLink)' target="_blank" title=""><i class="bl bl-dataIcon"></i>@translateAnchor</a>
1442 }
1443 else
1444 {
1445 <a href='javascript:openPopup("@LocalizeLinksHTML(msdsLink)","@translateAnchor")'><i class="bl bl-dataIcon"></i>@translateAnchor</a>
1446 }
1447 }
1448
1449 @helper RenderCustomField( string productFieldType, string customField, string translate, LoopItem productObj = null){
1450 string productTag;
1451 if (productObj != null)
1452 {
1453 productTag = productObj.GetString("Ecom:Product.CategoryField." + productFieldType + "." + customField + ".Value.Clean");
1454 }
1455 else
1456 {
1457 productTag = GetString("Ecom:Product.CategoryField." + productFieldType + "." + customField + ".Value.Clean");
1458 }
1459
1460 if(!string.IsNullOrWhiteSpace(productTag))
1461 {
1462 <dt class="col-xs-3 noPaddingLeft">
1463 @translate
1464 </dt>
1465 <dd class="col-xs-9">
1466 @productTag
1467 </dd>
1468 }
1469 }
1470
1471 @helper RenderABType( string productField, string translate, string productID = "", string str_productRegulatoryStatus = "", string catalogFirstLetter = "0", string str_productFormat = "", string productFieldType = "", string str_productName = "", LoopItem productObj = null){
1472 string productTag;
1473 if (productObj != null)
1474 {
1475 productTag = productObj.GetString("Ecom:Product:Field." + productField + ".Value");
1476 }
1477 else
1478 {
1479 productTag = GetString("Ecom:Product:Field." + productField + ".Value");
1480 }
1481
1482 if(!string.IsNullOrWhiteSpace(productTag) && !productTag.Equals("N/A") )
1483 {
1484 <dt class="col-xs-3 noPaddingLeft">
1485 @translate
1486 </dt>
1487 <dd class="col-xs-9">
1488 @productTag
1489 </dd>
1490 }
1491 }
1492
1493 @helper RenderProductField( string productField, string translate, string productID = "", string str_productRegulatoryStatus = "", string catalogFirstLetter = "0", string str_productFormat = "", string productFieldType = "", string str_productName = "", LoopItem productObj = null, bool isCommaSeparatedList = false){
1494
1495 var isPdf = Convert.ToBoolean(Dynamicweb.Context.Current.Request.Params["pdf"]);
1496 string appNotesID = "";
1497 string productTag = "";
1498
1499
1500 if (productObj != null)
1501 {
1502 productTag = productObj.GetString("Ecom:Product:Field." + productField + ".Value");
1503 }
1504 else
1505 {
1506 productTag = GetString("Ecom:Product:Field." + productField + ".Value");
1507 }
1508
1509 if(isCommaSeparatedList){
1510
1511 productTag = productTag.Replace(",",", ");
1512
1513 }
1514
1515 if(productField.Equals("Reactivity") && productFieldType.Equals("RecombinantProteins")){}
1516 else if(!string.IsNullOrWhiteSpace(productTag))
1517 {
1518 <dt class="col-xs-3 noPaddingLeft">
1519 @translate
1520 </dt>
1521
1522 <dd class="col-xs-9">
1523 @if(productField.Equals("Usage") && !str_productRegulatoryStatus.Equals("ASR")){
1524 @UsageProductExceptions(productTag, str_productFormat, catalogFirstLetter, productFieldType, str_productName, productID)
1525 }
1526 else if(productField.Equals("Disclaimer") && str_productRegulatoryStatus.Equals("ASR")){
1527 string replace = "";
1528 if(str_productFormat.Equals("PB") || str_productFormat.Equals("A488") || str_productFormat.Equals("A555") || str_productFormat.Equals("A594") || str_productFormat.Equals("A647") || str_productFormat.Equals("A660") || str_productFormat.Equals("A700") || str_productFormat.Equals("A488_COCKTAIL") || str_productFormat.Equals("A647_COCKTAIL") || str_productFormat.Equals("A700_COCKTAIL"))
1529 {
1530 var termsLink = "/dwcountry/terms";
1531 replace = "<br />Alexa Fluor® and Pacific Blue™ are trademarks of Life Technologies Corporation.<br /><br /><a href='"+@LocalizeLinksHTML(termsLink)+"' target=\"_blank\" title=\"Label License\">View full statement regarding label licenses</a>";
1532 productTag += replace;
1533 }
1534
1535 if (isPdf)
1536 {
1537 @(productTag)
1538 }
1539 else
1540 {
1541 @LocalizeLinksHTML(productTag)
1542 }
1543 }
1544 else
1545 {
1546 if (isPdf)
1547 {
1548 @(productTag)
1549 }
1550 else
1551 {
1552 @LocalizeLinksHTML(productTag)
1553 }
1554 }
1555 @AddShelfLifeException(productField,productID)
1556 @AddActivationBundleException(productField,productID)
1557 </dd>
1558 }
1559 }
1560
1561 @helper RenderLongDescription(string productField, string productID = "", bool isPdf = false)
1562 {
1563 string replace = "";
1564
1565 if (productID.Equals("8309") || productID.Equals("14141"))
1566 {
1567 replace = "<br /><br /><a href=\"/legendscreen\" title=\"LEGENDScreen™ Antibody Panels\">Learn more about LEGENDScreen™ Antibody Panels and view plate maps.</a>";
1568 productField += replace;
1569 }
1570
1571 if (isPdf)
1572 {
1573 @System.Web.HttpUtility.HtmlDecode(productField)
1574 }
1575 else
1576 {
1577 @System.Web.HttpUtility.HtmlDecode(LocalizeLinksHTML(productField))
1578 }
1579 }
1580
1581 @helper RenderCustomConjugationButton( string catalogFirstTwoNumbers = "00", string catalogFirstThreeNumbers = "000", string formRequestConjugation = ""){
1582 if(catalogFirstTwoNumbers == "42" || catalogFirstTwoNumbers == "43" || catalogFirstTwoNumbers == "44" || catalogFirstTwoNumbers == "48" || catalogFirstTwoNumbers == "55" || catalogFirstTwoNumbers == "56" || catalogFirstTwoNumbers == "57" || catalogFirstTwoNumbers == "58" || catalogFirstTwoNumbers == "59" || catalogFirstTwoNumbers == "70" || catalogFirstTwoNumbers == "71" || catalogFirstTwoNumbers == "74" || catalogFirstTwoNumbers == "75" || catalogFirstTwoNumbers == "76" || catalogFirstThreeNumbers == "401" || catalogFirstThreeNumbers == "402" || catalogFirstThreeNumbers == "403" || catalogFirstThreeNumbers == "404" || catalogFirstThreeNumbers == "842" || catalogFirstThreeNumbers == "843" )
1583 {}
1584 else{
1585 var customConjugationFormLink = @LocalizeLinksHTML("/dwcountry/custom-solutions/custom-requests-form");
1586 <a class="btn btn-default" href="@customConjugationFormLink">
1587 @Translate("requestCustomConjugation","Request Custom Conjugation")
1588 </a>
1589 }
1590 }
1591
1592 @helper UsageProductExceptions(string productField, string str_productFormat, string catalogFirstLetter = "0", string productFieldType = "", string str_productName = "", string productID = "")
1593 {
1594 string str = "Each lot of this antibody is quality control tested by immunofluorescent staining with flow cytometric analysis";
1595 string replace = "";
1596
1597 if ( productField.Contains(str))
1598 {
1599 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/cell-surface-flow-cytometry-staining-protocol/4283/\" target=\"_blank\" title=\"View Protocol\">immunofluorescent staining with flow cytometric analysis</a>");
1600 }
1601
1602 str = "Each lot of these antibodies is quality control tested by immunofluorescent staining with flow cytometric analysis";
1603 if ( productField.Contains(str))
1604 {
1605 productField = productField.Replace(str,"Each lot of these antibodies is quality control tested by <a href=\"/protocols/cell-surface-flow-cytometry-staining-protocol/4283/\" target=\"_blank\" title=\"View Protocol\">immunofluorescent staining with flow cytometric analysis</a>");
1606 }
1607
1608 str = "Each lot of this antibody is quality control tested by cell surface immunofluorescent staining with flow cytometric analysis as negative control.";
1609 if ( productField.Contains(str))
1610 {
1611 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/cell-surface-flow-cytometry-staining-protocol/4283/\" target=\"_blank\" title=\"View Protocol\">cell surface immunofluorescent staining</a> with flow cytometric analysis as negative control.");
1612 }
1613
1614 str = "Each lot of this antibody is quality control tested by intracellular immunofluorescent staining with flow cytometric analysis as negative control.";
1615 if ( productField.Contains(str))
1616 {
1617 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/intracellular-flow-cytometry-staining-protocol/4260/\" target=\"_blank\" title=\"View Protocol\">intracellular immunofluorescence staining</a> with flow cytometric analysis as negative control.");
1618 }
1619
1620 str = "Each lot of this antibody is quality control tested by Western blotting.";
1621 if ( productField.Contains(str))
1622 {
1623 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/western-blotting-protocol/4269/\" target=\"_blank\" title=\"View Protocol\">Western blotting</a>.");
1624 }
1625
1626 str = "Each lot of this antibody is quality control tested by ELISA assay.";
1627 if ( productField.Contains(str))
1628 {
1629 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/sandwich-elisa-protocol/4268/\" target=\"_blank\" title=\"View Protocol\">ELISA assay</a>.");
1630 }
1631
1632 str = "Each lot of this antibody is quality control tested by intracellular immunofluorescent staining with flow cytometric analysis.";
1633 if ( productField.Contains(str))
1634 {
1635 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/intracellular-flow-cytometry-staining-protocol/4260/\" target=\"_blank\" title=\"View Protocol\">intracellular immunofluorescent staining with flow cytometric analysis</a>.");
1636 }
1637
1638 str = "Each lot of this protein is quality control tested by ELISA assay.";
1639 if ( productField.Contains(str))
1640 {
1641 productField = productField.Replace(str,"Each lot of this protein is quality control tested by <a href=\"/protocols/sandwich-elisa-protocol/4268/\" target=\"_blank\" title=\"View Protocol\">ELISA assay</a>.");
1642 }
1643
1644 str = "Each lot of this antibody is quality control tested by Immunofluorescence staining.";
1645 if ( productField.Contains(str))
1646 {
1647 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by <a href=\"/protocols/immunofluorescence-microscopy-protocol/4275/\" target=\"_blank\" title=\"View Protocol\">immunofluorescence staining</a>.");
1648 }
1649
1650 str = "Each lot of this antibody is quality control tested by intracellular flow cytometry using our True-Phos™ Perm Buffer in Cell Suspensions Protocol.";
1651 if ( productField.Contains(str))
1652 {
1653 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by intracellular flow cytometry using our <a href=\"/protocols/intracellular-staining-with-true-phos-perm-buffer-in-cell-suspensions-protocol/4262/\" target=\"_blank\" title=\"View Protocol\">True-Phos™ Perm Buffer in Cell Suspensions Protocol</a>.");
1654 }
1655
1656 str = "Each lot of this antibody is quality control tested by intracellular flow cytometry using our True-Phos™ Perm Buffer in Whole Blood Protocol.";
1657 if ( productField.Contains(str))
1658 {
1659 productField = productField.Replace(str,"Each lot of this antibody is quality control tested by intracellular flow cytometry using our <a href=\"/protocols/intracellular-staining-with-true-phos-perm-buffer-in-whole-blood/4261/\" target=\"_blank\" title=\"View Protocol\">True-Phos™ Perm Buffer in Whole Blood Protocol</a>.");
1660 }
1661
1662
1663 if(str_productFormat.Equals("PB") || str_productFormat.Equals("GMP_PB") || str_productFormat.Equals("A488") || str_productFormat.Equals("A555") || str_productFormat.Equals("A594") || str_productFormat.Equals("A647") || str_productFormat.Equals("A660") || str_productFormat.Equals("A700") || str_productFormat.Equals("A488_COCKTAIL") || str_productFormat.Equals("A647_COCKTAIL") || str_productFormat.Equals("A700_COCKTAIL") || str_productFormat.Equals("GMP_A488") || str_productFormat.Equals("GMP_A647") || str_productFormat.Equals("GMP_A700"))
1664 {
1665 var termsLink = "/dwcountry/terms";
1666 replace = "<br />Alexa Fluor® and Pacific Blue™ are trademarks of Life Technologies Corporation.<br /><br /><a href='"+@LocalizeLinksHTML(termsLink)+"' target=\"_blank\" title=\"Label License\">View full statement regarding label licenses</a>";
1667 productField += replace;
1668 }
1669
1670 if (productID == "9340")
1671 {
1672 replace = "<br />This product is provided under an intellectual property license from Life Technologies Corporation.<br /><br /><a href=\"/Files/Images/media_assets/support_resource/Limited_Use_Label_License_For_Licensee_Products_Sold_in_the_Research_Field.pdf\" target=\"_blank\" title=\"Label License\">View full statement regarding label licenses</a>";
1673 productField += replace;
1674 }
1675
1676 str = "* PerCP/Cyanine5.5 has a maximum absorption of 482 nm and 564 nm and a maximum emission of 690 nm.";
1677 if ( productField.Contains(str))
1678 {
1679 productField = productField.Replace(str,"* PerCP/Cyanine5.5 has a maximum absorption of 482 nm and a maximum emission of 690 nm.");
1680 }
1681
1682 str = "* PerCP has a maximum absorption of 482 nm and 564 nm and a maximum emission of 675 nm.";
1683 if ( productField.Contains(str))
1684 {
1685 productField = productField.Replace(str,"* PerCP has a maximum absorption of 482 nm and a maximum emission of 675 nm.");
1686 }
1687
1688 if ( str_productFormat.Equals("KB520"))
1689 {
1690 replace = "<br />KIRAVIA Blue™ 520 is a trademark of Sony. This product is subject to proprietary rights of Sony and is made and sold under license from Sony Corporation. This product is covered by U.S. Patent(s), pending patent applications and foreign equivalents.<br /><br />Sony and the Sony logo are registered trademarks of Sony Corporation.";
1691 productField += replace;
1692 }
1693
1694 if ( str_productFormat.Equals("APC_F810"))
1695 {
1696 var fireLink = "/dwcountry/fire-dyes";
1697 replace = "<br />Excessive exposure to light, and commonly used fixation, permeabilization buffers can affect APC/Fire™ 810 fluorescence signal intensity and spread. Please keep conjugates protected from light exposure. For more information and representative data, visit our <a href=\""+@LocalizeLinksHTML(fireLink)+"\">Fire Dyes</a> page.";
1698 productField += replace;
1699 }
1700
1701 if ( str_productFormat.Equals("PE_F810"))
1702 {
1703 var fireLink = "/dwcountry/fire-dyes";
1704 replace = "<br />Excessive exposure to light, and commonly used fixation, permeabilization buffers can affect PE/Fire™ 810 fluorescence signal intensity and spread. Please keep conjugates protected from light exposure. For more information and representative data, visit our <a href=\""+@LocalizeLinksHTML(fireLink)+"\">Fire Dyes</a> page.";
1705 productField += replace;
1706 }
1707
1708 if ( str_productName.Contains("Brilliant"))
1709 {
1710 var bvLink = "/dwcountry/brilliant-violet";
1711 replace = "<br /><a href=\""+@LocalizeLinksHTML(bvLink)+"\" title=\"Brilliant Violet™\">Learn more about Brilliant Violet™</a>. <br /><br />This product is subject to proprietary rights of Sirigen Inc. and is made and sold under license from Sirigen Inc. The purchase of this product conveys to the buyer a non-transferable right to use the purchased product for research purposes only. This product may not be resold or incorporated in any manner into another product for resale. Any use for therapeutics or diagnostics is strictly prohibited. This product is covered by U.S. Patent(s), pending patent applications and foreign equivalents.";
1712 productField += replace;
1713 }
1714
1715 if ( str_productName.Contains("TotalSeq"))
1716 {
1717 replace = "<br />Buyer is solely responsible for determining whether Buyer has all intellectual property rights that are necessary for Buyer's intended uses of the BioLegend TotalSeq™ products. For example, for any technology platform Buyer uses with TotalSeq™, it is Buyer's sole responsibility to determine whether it has all necessary third party intellectual property rights to use that platform and TotalSeq™ with that platform.";
1718 productField += replace;
1719 }
1720
1721 @System.Web.HttpUtility.HtmlDecode(productField)
1722 }
1723
1724 @helper AddActivationBundleException(string productField, string productID = "")
1725 {
1726 if(productField.Equals("Usage") && !string.IsNullOrWhiteSpace(productID))
1727 {
1728 Dictionary<string, string> lstNumbers = new Dictionary<string, string>();
1729 lstNumbers.Add("24","24");
1730 lstNumbers.Add("114","114");
1731 lstNumbers.Add("4526","4526");
1732 lstNumbers.Add("6479","6479");
1733 lstNumbers.Add("892","892");
1734 lstNumbers.Add("7236","7236");
1735 lstNumbers.Add("5833","5833");
1736 lstNumbers.Add("996","996");
1737 lstNumbers.Add("5469","5469");
1738 lstNumbers.Add("6959","6959");
1739
1740 if(lstNumbers.ContainsKey(productID))
1741 {
1742 <text>
1743 <br/>
1744 </text>
1745 @Translate("ActivationBundle","This product is included in our Activation Bundles. <a href=\"/activation_bundles\" title=\"Activation Bundles\">Learn more...</a>")
1746 }
1747
1748 }
1749 }
1750
1751 @helper CalculateFooterDisclaimer(string footerDisclaimer, string regulatoryStatus, string format)
1752 {
1753
1754 var licenceLink = LocalizeLinksHTML("/dwcountry/ordering#license");
1755 var termsLink = LocalizeLinksHTML("/dwcountry/terms");
1756
1757 var customFooterDisclaimer = footerDisclaimer + "<p> </p>";
1758
1759 var ASRDisclaimer = "<p>Analyte Specific Reagent. Analytical and performance characteristics are not established.</p><p> </p><p>This product is supplied subject to the terms and conditions, including the limited license, located at <a href=\"/dwcountry/terms\">www.biolegend.com/terms</a> (\"Terms\") and may be used only as provided in the Terms. Without limiting the foregoing, BioLegend products may not be used for any Commercial Purpose as defined in the Terms, resold in any form, used in manufacturing, or reverse engineered, sequenced, or otherwise studied or used to learn its design or composition without express written approval of BioLegend. Regardless of the information given in this document, user is solely responsible for determining any license requirements necessary for user’s intended use and assumes all risk and liability arising from use of the product. BioLegend is not responsible for patent infringement or any other risks or liabilities whatsoever resulting from the use of its products.</p><p> </p><p>BioLegend, the BioLegend logo, and all other trademarks are property of BioLegend, Inc. or their respective owners, and all rights are reserved.</p><p> </p>";
1760
1761 var IVDDisclaimer = "<p>For In Vitro Diagnostic Use. Not for therapeutic use.</p><p> </p><p>This product is supplied subject to the terms and conditions, including the limited license, located at <a href=\"/dwcountry/terms\">www.biolegend.com/terms</a> (\"Terms\") and may be used only as provided in the Terms. Without limiting the foregoing, BioLegend products may not be used for any Commercial Purpose as defined in the Terms, resold in any form, used in manufacturing, or reverse engineered, sequenced, or otherwise studied or used to learn its design or composition without express written approval of BioLegend. Regardless of the information given in this document, user is solely responsible for determining any license requirements necessary for user’s intended use and assumes all risk and liability arising from use of the product. BioLegend is not responsible for patent infringement or any other risks or liabilities whatsoever resulting from the use of its products.</p><p> </p><p>BioLegend, the BioLegend logo, and all other trademarks are property of BioLegend, Inc. or their respective owners, and all rights are reserved.</p><p> </p>";
1762
1763 var GMPRUODisclaimer = "<p>For Research Use Only. Suitable for <em>ex vivo</em> cell processing. Not for injection or diagnostic or therapeutic use. </p><p> </p><p>This product is supplied subject to the terms and conditions, including the limited license, located at <a href=\"/dwcountry/terms\">www.biolegend.com/terms</a> (\"Terms\") and may be used only as provided in the Terms. Without limiting the foregoing, BioLegend products may not be used for any Commercial Purpose as defined in the Terms, resold in any form, used in manufacturing, or reverse engineered, sequenced, or otherwise studied or used to learn its design or composition without express written approval of BioLegend. Regardless of the information given in this document, user is solely responsible for determining any license requirements necessary for user’s intended use and assumes all risk and liability arising from use of the product. BioLegend is not responsible for patent infringement or any other risks or liabilities whatsoever resulting from the use of its products. </p><p> </p><p>BioLegend, the BioLegend logo, and all other trademarks are property of BioLegend, Inc. or their respective owners, and all rights are reserved.</p><p> </p>";
1764
1765 var RUODisclaimer = "<p>For Research Use Only. Not for diagnostic or therapeutic use.</p><p> </p><p>This product is supplied subject to the terms and conditions, including the limited license, located at <a href=\"/dwcountry/terms\">www.biolegend.com/terms</a>) (\"Terms\") and may be used only as provided in the Terms. Without limiting the foregoing, BioLegend products may not be used for any Commercial Purpose as defined in the Terms, resold in any form, used in manufacturing, or reverse engineered, sequenced, or otherwise studied or used to learn its design or composition without express written approval of BioLegend. Regardless of the information given in this document, user is solely responsible for determining any license requirements necessary for user’s intended use and assumes all risk and liability arising from use of the product. BioLegend is not responsible for patent infringement or any other risks or liabilities whatsoever resulting from the use of its products.</p><p> </p><p>BioLegend, the BioLegend logo, and all other trademarks are property of BioLegend, Inc. or their respective owners, and all rights are reserved.</p><p> </p>";
1766
1767 if ( !String.IsNullOrEmpty(footerDisclaimer) && footerDisclaimer != "" )
1768 {
1769 @customFooterDisclaimer
1770 }
1771 else if( regulatoryStatus.Equals("ASR") )
1772 {
1773 @LocalizeLinksHTML(ASRDisclaimer)
1774 }
1775 else if( regulatoryStatus.Equals("IVD") ){
1776 @LocalizeLinksHTML(IVDDisclaimer)
1777 }
1778 else if ( regulatoryStatus.Equals("GMP-RUO") )
1779 {
1780 @LocalizeLinksHTML(GMPRUODisclaimer)
1781 }
1782 else{
1783 @LocalizeLinksHTML(RUODisclaimer)
1784 }
1785 }
1786
1787 @helper CalculateCloneString(string clone, string otherFormats, bool asrCheck, string searchID, bool isPdf = false)
1788 {
1789 if (!string.IsNullOrEmpty(clone))
1790 {
1791 <text>
1792 <dt class="col-xs-4 col-sm-3 noPaddingLeft">
1793 @GetString("Ecom:Product:Field.Clone.Name")
1794 </dt>
1795 </text>
1796 if (asrCheck)
1797 {
1798 <dd>@clone</dd>
1799 }
1800 else
1801 {
1802 if (clone.Contains(";"))
1803 {
1804 if (isPdf)
1805 {
1806 <dd>@clone</dd>
1807 }
1808 else{
1809 string[] clones = (clone).Replace(" ", "").Split(';');
1810 <dd>
1811 @foreach (var x in clones)
1812 {
1813 string cloneHTML = System.Web.HttpUtility.HtmlDecode(x);
1814 string cloneTag = "; ";
1815 if (!isPdf)
1816 {
1817 <a href="/Default.aspx?ID=@searchID&Clone=@cloneHTML">@x</a>@cloneTag
1818 }
1819
1820 }
1821 </dd>
1822 }
1823 }
1824 else
1825 {
1826 if (isPdf)
1827 {
1828 <dd>@clone</dd>
1829 }
1830 else
1831 {
1832 <dd><a href="/Default.aspx?ID=@searchID&Clone=@(System.Web.HttpUtility.HtmlDecode(clone))">@clone</a> (<a href="@otherFormats">@Translate("SeeOtherAvailableFormats", "See other available formats")</a>)</dd>
1833 }
1834 }
1835 }
1836 }
1837 }
1838
1839 @helper AddShelfLifeException(string productField, string productID = "")
1840 {
1841 if(productField.Equals("Storage") && !string.IsNullOrWhiteSpace(productID))
1842 {
1843 Dictionary<string, string> lstNumbersUse = new Dictionary<string, string>();
1844 lstNumbersUse.Add("1395","1395");
1845 lstNumbersUse.Add("1396","1396");
1846 lstNumbersUse.Add("1474","1474");
1847 lstNumbersUse.Add("2264","2264");
1848 lstNumbersUse.Add("2507","2507");
1849
1850 Dictionary<string, string> lstNumbers = new Dictionary<string, string>();
1851 lstNumbers.Add("2508","2508");
1852 lstNumbers.Add("2915","2915");
1853 lstNumbers.Add("2939","2939");
1854 lstNumbers.Add("2988","2988");
1855 lstNumbers.Add("2989","2989");
1856 lstNumbers.Add("3071","3071");
1857 lstNumbers.Add("3177","3177");
1858 lstNumbers.Add("3180","3180");
1859 lstNumbers.Add("3194","3194");
1860 lstNumbers.Add("3195","3195");
1861 lstNumbers.Add("3843","3843");
1862 lstNumbers.Add("4347","4347");
1863 lstNumbers.Add("4664","4664");
1864 lstNumbers.Add("5654","5654");
1865 lstNumbers.Add("5660","5660");
1866 lstNumbers.Add("6373","6373");
1867 lstNumbers.Add("6398","6398");
1868 lstNumbers.Add("6646","6646");
1869 lstNumbers.Add("8053","8053");
1870 lstNumbers.Add("8135","8135");
1871 lstNumbers.Add("9539","9539");
1872
1873 if(lstNumbersUse.ContainsKey(productID))
1874 {
1875 <text>
1876 <br/>
1877 <br/>
1878 </text>
1879 @Translate("LookUpConcentrationLookUpStorage","This product has a shelf-life of 12 months or less. Please use our <a href=\"/concentrationlookup\" target=\"_blank\">Expiration Lookup Tool</a> to verify the expiration date of your lot of product")
1880 }else if(lstNumbers.ContainsKey(productID))
1881 {
1882 <text>
1883 <br/>
1884 <br/>
1885 </text>
1886 @Translate("LookUpConcentrationLookUpStorageContact","This product has a shelf-life of 12 months or less. Please contact our <a href=\"/contact_technical_service\" target=\"_blank\">technical support</a> team for lot specific CoA and expiration date inquiries of this product.")
1887 }
1888
1889 }
1890 }
1891
1892 @helper RenderTDS(bool htmlStructType, string dataSheetFile, string dataSheet, string printPage, string productType = "", string productID = "", string productName = "", string regulatoryStatus = "", string techSupportPage = "", string translateTechnicalSupport = "", string appAbbreviation = "", string pdfUrl = "", string productUpdated = "")
1893 {
1894 TDS techinicalDataSheet = new TDS(dataSheetFile, dataSheet, printPage, productType, productID, productName, regulatoryStatus, techSupportPage, translateTechnicalSupport, Translate("ViewCurrentManual", "View Current Manual (pdf)"), Translate("InstructionsForUseA", "Instructions for Use - English (PDF)"), Translate("TechnicalDataSheet", "Technical Data Sheet (pdf)"), Translate("InstrumentSoftwareManual", "Instrument and Software Manual"), appAbbreviation, pdfUrl);
1895
1896 var cdnPdfDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("DynamicallyCreated_PDFFiles", "DynamicallyCreated_PDF_Files_Domain"); //CUSTOM CODE
1897 var cdnStaticDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("Static_Content", "Static_Content_Domain"); // CUSTOM CODE
1898 var pdfCdn = techinicalDataSheet.link.EndsWith(".pdf") ? cdnStaticDomain : cdnPdfDomain;
1899 var version = (techinicalDataSheet.link.Contains("?") ? "&v=" : "?v=") + productUpdated;
1900
1901 if (htmlStructType)
1902 {
1903 // Is for the product link
1904 <a @techinicalDataSheet.target data-regulatory="@regulatoryStatus" data-datasheet="@dataSheet" data-datasheetFile="@dataSheetFile" href="@pdfCdn@techinicalDataSheet.link@version" class="btn btn-default techincalDataSheet">
1905 <i class="fa fa-file-pdf-o"></i> @techinicalDataSheet.text
1906 </a>
1907 }
1908 else
1909 {
1910 // Is for the product navigation
1911 <a @techinicalDataSheet.target data-regulatory="@regulatoryStatus" data-datasheet="@dataSheet" data-datasheetFile="@dataSheetFile" href="@pdfCdn@techinicalDataSheet.link@version">
1912 <i class="fa fa-file-pdf-o"></i>@techinicalDataSheet.text
1913 </a>
1914 }
1915 }
1916
1917
1918
1919 @helper RenderTDSForPreview(bool htmlStructType, string dataSheetFile, string dataSheet, string productID = "", string productName = "", string regulatoryStatus = "", string pdfUrl = "", string productUpdated = "")
1920 {
1921 previewTDS techinicalDataSheet = new previewTDS(productID, productName, Translate("TechnicalDataSheet", "Technical Data Sheet (pdf)"), pdfUrl);
1922
1923 //NOTE - Customer requested for Cdn not to be applied here
1924 var version = (techinicalDataSheet.link.Contains("?") ? "&v=" : "?v=") + productUpdated;
1925
1926 if (htmlStructType)
1927 {
1928 // Is for the product link
1929 <a target="_blank" data-regulatory="@regulatoryStatus" data-datasheet="@dataSheet" data-datasheetFile="@dataSheetFile" href="@techinicalDataSheet.link@version" class="btn btn-default techincalDataSheet">
1930 <i class="fa fa-file-pdf-o"></i> @techinicalDataSheet.text
1931 </a>
1932 }
1933 else
1934 {
1935 // Is for the product navigation
1936 <a target="_blank" data-regulatory="@regulatoryStatus" data-datasheet="@dataSheet" data-datasheetFile="@dataSheetFile" href="@techinicalDataSheet.link@version">
1937 <i class="fa fa-file-pdf-o"></i>@techinicalDataSheet.text
1938 </a>
1939 }
1940 }
1941
1942 @helper RenderInternationalGMPQualityStatement(string country = "", string regStatus = "", string format = "")
1943 {
1944 bool b = false;
1945 if ( format.Equals("GMP_APC") || format.Equals("GMP_APC_F750") || format.Equals("GMP_FITC") || format.Equals("GMP_PB") || format.Equals("GMP_PE") || format.Equals("GMP_PE_CYANINE5") || format.Equals("GMP_PE_CYANINE7") || format.Equals("GMP_PE_DZL594") || format.Equals("GMP_PERCP") || format.Equals("GMP_PERCP_CYANINE5.5") || format.Equals("GMP_A488") || format.Equals("GMP_A647") || format.Equals("GMP_A700") || format.Equals("GMP_APC_CYANINE7") || format.Equals("GMP_SPKVL_423") || format.Equals("GMP_SPKVL_538") ){
1946 b = true;
1947 }
1948 if(!country.Equals("en-US") && !country.Equals("ja-JP") && regStatus.Equals("GMP-RUO") && b){
1949 <div class="introDescription col-xs-12 noPaddingLeft">
1950 <span class="title">Quality Statement</span>
1951 This BioLegend’s GMP-RUO reagent is a fluorochrome-labeled monoclonal antibody single reagent for Research Use Only. Suitable for use in laboratory-developed multicolor flow cytometry tests. Single GMP-RUO products can be used in various multicolor flow cytometry combinations. Laboratory need to establish the GMP-RUO performance characteristics in combination with other reagents in normal and pathological samples.
1952 </div>
1953 }
1954
1955
1956 }
1957
1958 @functions {
1959
1960 public static string StripSpecialCharacters(string input)
1961 {
1962 return System.Text.RegularExpressions.Regex.Replace(input, "[^0-9a-zA-Z -]+", "");
1963 }
1964
1965 public class TDS
1966 {
1967 public TDS()
1968 {
1969
1970 }
1971
1972 public string link { get; set; }
1973 public string text { get; set; }
1974 public string target { get; set; }
1975
1976 public TDS(string dataSheetFile, string dataSheet, string printPage, string productType = "", string productID = "", string productName = "", string regulatoryStatus = "", string techSupportPage = "", string translateTechnicalSupport = "", string viewCurrentManual = "", string instructionsForUse = "", string technicalDataSheet = "", string instrumentSoftwareManual = "", string appAbbreviation = "", string pdfUrl = "")
1977 {
1978 var linkPrint = pdfUrl + "&ProductID=" + productID + "&leftRightMargin=15&topBottomMargin=15&filename=" + productName + ".pdf";
1979 var translate = "";
1980 var block = "";
1981 var urlTarget = "target=\"_blank\"";
1982
1983 var p = Dynamicweb.Ecommerce.Services.Products.GetProductById(productID, "", true);
1984
1985 if (!string.IsNullOrWhiteSpace(dataSheet) && !dataSheet.Equals("Standard") && !dataSheet.Equals("Recombinant"))
1986 {
1987 linkPrint = dataSheetFile;
1988 block = "1";
1989 }
1990
1991 if (productType.Equals("ELISA") || productID.Equals("10801"))
1992 {
1993 linkPrint = dataSheetFile;
1994 block = "2";
1995 }
1996
1997 if (productType.Equals("LEGENDplex") && !productName.Contains("Buffer") && !productName.Contains("Carboxyl") && !productName.Contains("SA-PE") && !productID.Equals("12677") && !productID.Equals("12678") && appAbbreviation.Contains("Multiplex - Panel"))
1998 {
1999 linkPrint = dataSheetFile;
2000 translate = viewCurrentManual;
2001 block = "3";
2002 }
2003 else if (regulatoryStatus.Equals("IVD"))
2004 {
2005 if (dataSheet.Equals("Standard") || dataSheet.Equals("Recombinant") || (dataSheet.Equals("Custom") && string.IsNullOrWhiteSpace(dataSheetFile)) || string.IsNullOrWhiteSpace(dataSheet))
2006 {
2007 linkPrint = string.Format("javascript:confirmRedirection('{0}','{1}')", HttpUtility.JavaScriptStringEncode(translateTechnicalSupport), techSupportPage);
2008 urlTarget = string.Empty;
2009 block = "4";
2010 }
2011 else
2012 {
2013 linkPrint = dataSheetFile;
2014 block = "5";
2015 }
2016
2017 translate = instructionsForUse;
2018 block = "6";
2019 }
2020 //ASR PDF Datasheet Override
2021 else if (regulatoryStatus.Equals("ASR"))
2022 {
2023 if (dataSheet.Equals("Standard") || dataSheet.Equals("Recombinant") || (dataSheet.Equals("Custom") && string.IsNullOrWhiteSpace(dataSheetFile)) || string.IsNullOrWhiteSpace(dataSheet))
2024 {
2025 linkPrint = string.Format("javascript:confirmRedirection('{0}','{1}')", HttpUtility.JavaScriptStringEncode(translateTechnicalSupport), techSupportPage);
2026 urlTarget = string.Empty;
2027 block = "7";
2028 }
2029 else
2030 {
2031 linkPrint = dataSheetFile;
2032 block = "8";
2033 }
2034
2035 translate = technicalDataSheet;
2036 block = "9";
2037 }
2038 else if (!string.IsNullOrWhiteSpace(dataSheetFile))
2039 {
2040 linkPrint = dataSheetFile;
2041 translate = technicalDataSheet;
2042 block = "10";
2043 }
2044 else
2045 {
2046 linkPrint = pdfUrl + "&ProductID=" + productID + "&leftRightMargin=15&topBottomMargin=15&filename=" + productName + ".pdf";
2047 translate = technicalDataSheet;
2048 block = "11";
2049 }
2050
2051 link = linkPrint;
2052 text = translate;
2053 target = urlTarget;
2054 }
2055 }
2056
2057 public class previewTDS
2058 {
2059 public previewTDS()
2060 {
2061
2062 }
2063
2064 public string link { get; set; }
2065 public string text { get; set; }
2066
2067 public previewTDS(string productID = "", string productName = "", string technicalDataSheet = "", string pdfUrl = "")
2068 {
2069 var linkPrint = pdfUrl + "&ProductID=" + productID + "&leftRightMargin=15&topBottomMargin=15&filename=" + productName + ".pdf";
2070 var translate = technicalDataSheet;
2071
2072 link = linkPrint;
2073 text = translate;
2074 }
2075 }
2076
2077 }
2078
2079 @functions{
2080 public static string GetImage(string str_source, int num_width, int num_height, int num_widthTablet = 0, int num_heightTablet = 0, int num_widthMobile = 0, int num_heightMobile = 0, string str_format = "jpg", int num_compression = 75, int num_crop = 5)
2081 {
2082 Dynamicweb.Frontend.PageView obj_currentPageview = Dynamicweb.Frontend.PageView.Current();
2083 string str_currDevice = obj_currentPageview.Device.ToString();
2084 string str_alternativeImage = obj_currentPageview.Area.Item["NoImage"] != null ? obj_currentPageview.Area.Item["NoImage"].ToString() : "/Files/Templates/Designs/Lorenz/images/alternativeImage.jpg";
2085
2086 string str_width = "";
2087 string str_height = "";
2088 int num_getImageWidth = num_width != 0 ? num_width : 0;
2089 int num_getImageHeight = num_height != 0 ? num_height : 0;
2090 string str_getImageFormat = str_format != "jpg" ? "&Format=" + str_format : "";
2091 string str_getImageCompression = num_compression != 75 ? "&Compression=" + num_compression : "";
2092
2093 var cdnImageHandleDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("Image_Handler", "Image_Handler_Domain"); //CUSTOM CODE
2094
2095 if (str_currDevice == Dynamicweb.Frontend.Devices.DeviceType.Tablet.ToString())
2096 {
2097 num_getImageWidth = num_widthTablet != 0 ? num_widthTablet : num_getImageWidth;
2098 num_getImageHeight = num_heightTablet != 0 ? num_heightTablet : num_getImageHeight;
2099 }
2100 else if (str_currDevice == Dynamicweb.Frontend.Devices.DeviceType.Mobile.ToString())
2101 {
2102 num_getImageWidth = num_widthMobile != 0 ? num_widthMobile : num_getImageWidth;
2103 num_getImageHeight = num_heightMobile != 0 ? num_heightMobile : num_getImageHeight;
2104 }
2105
2106 if (num_getImageWidth != 0)
2107 {
2108 str_width = "&Width=" + num_getImageWidth;
2109 }
2110 if (num_getImageHeight != 0)
2111 {
2112 str_height = "&Height=" + num_getImageHeight;
2113 }
2114
2115 string str_output = cdnImageHandleDomain + "/Admin/Public/GetImage.ashx?Image=" + str_source + str_width + str_height + "&altFmImage_path=" + str_alternativeImage + str_getImageFormat + str_getImageCompression + "&Crop=" + num_crop;
2116 return str_output;
2117 }
2118 }
2119
2120 @* Http Request params for deciding if it is preview*@
2121 var str_requestPreview = System.Web.HttpContext.Current.Request.Params["preview"] ?? "";
2122
2123 var itemArea = Pageview.Area.Item;
2124
2125 //START CUSTOM CODE
2126 var cdnStaticDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("Static_Content", "Static_Content_Domain");
2127 var cdnJsCssDomain = BioLegend.Web.Helpers.CdnFunctions.GetCdnByType("CSS_JS", "CSS_JS_Domain");
2128 //END CUSTOM CODE
2129
2130 var productStatus = GetInteger("Ecom:Product:Field.ProductStatus.Value.Clean");
2131 if (productStatus.Equals(1) && str_requestPreview!= "true")
2132 {
2133 @itemArea["ProductDiscontinued"].ToString()
2134 }
2135 else
2136 {
2137 /* Workaround due a DW bug */
2138 var applicationsData = GetFilterData("BLFD_1");
2139 /* END Workaround */
2140 @* page item values *@
2141 var addToCartFormAction = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("Default.aspx?ID=" + (itemArea["AddToCart"] ?? Pageview.Page.ID).ToString());
2142 var searchPageID = itemArea["SearchResults"].ToString();
2143 var formRequestConjugation = itemArea["FormRequestConjugation"].ToString();
2144 var printPage = itemArea["PrintPage"].ToString();
2145 var coaPage = itemArea["CertificateAnalysisPage"].ToString();
2146 var coaRedirect = itemArea["CertificateAnalysisRedirect"].ToString();
2147 var techSupportPageID = itemArea["FormTechSupport"].ToString();
2148 var productListJson = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(itemArea["ProductListJson"].ToString());
2149 var requestBulk = itemArea["RequestBulk"].ToString();
2150 var cartDisabled = Convert.ToBoolean(itemArea["DisableAddToCart"].ToString());
2151 var orderContext = itemArea["OrderContext"] != null ? itemArea["OrderContext"].ToString() : "";
2152 var isWebserviceAvailable = TemplatesHelper.IsWebServiceConnectionAvailable();
2153
2154 var navEnvironment = itemArea["NavEnvironment"] != null ? itemArea["NavEnvironment"].ToString() : "";
2155
2156 var userAvailableStartMsg = Translate("userAvailableStartMsg", "The entered quantity of");
2157 var userOrdersMoreThanAvailable = Translate("userOrdersMoreThanAvailable", "is unavailable. Replenishment is currently underway. You will be notified by BioLegend’s Customer Service of the ETA if we are unable to deliver the full quantity.");
2158 var userOrdersLessThanAvailable = Translate("userOrdersLessThanAvailable", "is available and will be scheduled for shipment ASAP.");
2159
2160 @* Http Request params *@
2161 var str_requestConc = System.Web.HttpContext.Current.Request.Params["concExpLookup"] ?? "";
2162 var str_requestLotNumber = System.Web.HttpContext.Current.Request.Params["lotNumber"] ?? "";
2163
2164 @* Page and user info *@
2165 var str_currentPageId = Pageview.Page.ID.ToString();
2166 var bol_isLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn();
2167 var bol_isFrontEnd = Dynamicweb.Environment.ExecutingContext.IsFrontEnd();
2168
2169 var siteCurrency = Dynamicweb.Frontend.PageView.Current().Area.EcomCurrencyId;
2170 var userCurrency = bol_userLogged ? Dynamicweb.Security.UserManagement.User.GetCurrentUser().Currency : siteCurrency;
2171
2172 var RRIDLists = new Dictionary<string, string>();
2173
2174 @* Standard product info *@
2175 var str_variantDefaultId = GetString("Ecom:Product.DefaultVariantComboID");
2176 var str_variantCurrentId = GetString("Ecom:Product.VariantID");
2177 var str_variantId = (!String.IsNullOrEmpty(str_variantCurrentId)) ? str_variantCurrentId : str_variantDefaultId;
2178 var str_variantParam = (!String.IsNullOrEmpty(str_variantId)) ? "&variantid=" + str_variantId : "";
2179
2180 var str_productId = GetString("Ecom:Product.ID");
2181 var str_productLanguage = GetString("Ecom:Product.LanguageID");
2182 var str_productName = GetString("Ecom:Product.Name");
2183 var str_productIntro = GetString("Ecom:Product.ShortDescription");
2184 var str_productDescription = GetString("Ecom:Product.LongDescription");
2185 var str_productPrice = GetString("Ecom:Product.Price");
2186 var str_productOtherNames = GetString("Ecom:Product:Field.OtherNames.Value");
2187 var str_productDataSheet = GetString("Ecom:Product:Field.Datasheet.Value.Clean");
2188 var str_productDataSheetFile = GetString("Ecom:Product:Field.DatasheetFile.Clean");
2189 var str_productMSDSType = GetString("Ecom:Product:Field.MSDSType.Value");
2190 var str_productMSDSCFile = GetString("Ecom:Product:Field.MSDSFile.Clean");
2191 var str_productMSDSOptions = GetString("Ecom:Product:Field.MSDSOptions.Value");
2192 var str_groupPrimary = GetString("Ecom:Product.PrimaryOrFirstGroupID");
2193 var str_productImage = GetString("Ecom:Product.ImageSmall.Clean");
2194 var str_productImageMedium = GetString("Ecom:Product.ImageMedium.Clean");
2195 var str_productImageLarge = GetString("Ecom:Product.ImageLarge.Clean");
2196 var str_productImage4 = GetString("Ecom:Product:Field.Image4Path.Clean").Replace("/Files/Images/Images/", "/Files/Images/");
2197 var str_productGetImage = str_productImage; //GetImage(str_productImage, 180, 0, 180, 0, 180, 0,"jpg",90,5);
2198 var str_productGetImageMedium = str_productImageMedium; // GetImage(str_productImageMedium, 180, 0, 180, 0, 180, 0,"jpg",90,5);
2199 var str_productGetImageLarge = str_productImageLarge; // GetImage(str_productImageLarge, 180, 0, 180, 0, 180, 0,"jpg",90,5);
2200 var str_productGetImage4 = str_productImage4; //GetImage(str_productImage4, 180, 0, 180, 0, 180, 0,"jpg",90,5);
2201 var str_image1Description = GetString("Ecom:Product:Field.Image1Description.Value");
2202 var str_image2Description = GetString("Ecom:Product:Field.Image2Description.Value");
2203 var str_image3Description = GetString("Ecom:Product:Field.Image3Description.Value");
2204 var str_image4Description = GetString("Ecom:Product:Field.Image4Description.Value");
2205 var str_image1Title = GetString("Ecom:Product:Field.Image1Title.Value");
2206 var str_image2Title = GetString("Ecom:Product:Field.Image2Title.Value");
2207 var str_image3Title = GetString("Ecom:Product:Field.Image3Title.Value");
2208 var str_image4Title = GetString("Ecom:Product:Field.Image4Title.Value");
2209 var lst_images = new List<Tuple<string, string, string>>();
2210
2211 var str_productImage5 = GetString("Ecom:Product:Field.Image5Path.Clean").Replace("/Files/Images/Images/", "/Files/Images/");
2212 var str_productGetImage5 = str_productImage5;
2213 var str_image5Description = GetString("Ecom:Product:Field.Image5Description.Value");
2214 var str_image5Title = GetString("Ecom:Product:Field.Image5Title.Value");
2215
2216 var str_productImage6 = GetString("Ecom:Product:Field.Image6Path.Clean").Replace("/Files/Images/Images/", "/Files/Images/");
2217 var str_productGetImage6 = str_productImage6;
2218 var str_image6Description = GetString("Ecom:Product:Field.Image6Description.Value");
2219 var str_image6Title = GetString("Ecom:Product:Field.Image6Title.Value");
2220
2221 var str_starClass = "";
2222 var str_halfStar = "";
2223
2224 var productUpdated = GetDate("Ecom:Product.Updated").ToString("yyyyMMddhhmmss"); //CUSTOM CODE
2225
2226 @* Product Custom Fields *@
2227 var productType = GetString("Ecom:Product:Field.CMProductType.Value");
2228 var productSpecificity = GetString("Ecom:Product:Field.Specificity.Value");
2229 var str_productFormat = GetString("Ecom:Product:Field.Format.Value");
2230 var str_productLaser = GetString("Ecom:Product:Field.ExcitationLaser.Value");
2231 var str_productRegulatoryStatus = GetString("Ecom:Product:Field.RegulatoryStatus.Value");
2232 var str_productAppAbrv = GetString("Ecom:Product:Field.AppAbrv.Value");
2233 var str_moreDataTitle = GetString("Ecom:Product:Field.MoreDataTitle.Value");
2234 var str_moreData = GetString("Ecom:Product:Field.MoreData.Clean");
2235 var excludeAB = GetBoolean("Ecom:Product:Field.ExcludeAB");
2236 var productClone = Regex.Replace(GetString("Ecom:Product:Field.Clone.Value"), "<!.*?>", String.Empty, RegexOptions.Singleline).Trim();
2237 var geneList = GetString("Ecom:Product:Field.GeneID.Value").Split(new char[] {','}, StringSplitOptions.RemoveEmptyEntries);
2238 var str_biologyArea = GetString("Ecom:Product:Field.BiologyArea.Value");
2239 var str_molecularFamily = GetString("Ecom:Product:Field.MolecularFamily.Value");
2240 var str_cellType = GetString("Ecom:Product:Field.CellType.Value");
2241 var productFieldType = "";
2242 var longLang = (string) GetGlobalValue("Global:Area.LongLang");
2243 var versionDate = GetDate("Ecom:Product:Field.VersionDate.Value.Clean");
2244 var dateTimeVersionDate = DateTime.Now;
2245 var productIsUg = "";
2246 var productIsUl = "";
2247 var isASR = str_productRegulatoryStatus.Equals("ASR");
2248 var isIVD = str_productRegulatoryStatus.Equals("IVD");
2249 var isGMPRUO = str_productRegulatoryStatus.Equals("GMP-RUO");
2250 var isGMPRUOException = ( str_productFormat.Equals("GMP_RECOM") || str_productFormat.Equals("SOLUTION") || str_productFormat.Equals("GMP_ULEAF") );
2251 var isRUO = str_productRegulatoryStatus.Equals("RUO");
2252 var str_ProductNameNormalized = GetString("Ecom:Product:Field.ProductNameNormalized.Value");
2253 var str_TotalseqSequence = GetString("Ecom:Product:Field.TotalseqSequence.Value");
2254 var str_IsotypeForFilter = GetString("Ecom:Product:Field.IsotypeFilter.Value");
2255 var str_footerDisclaimer = GetString("Ecom:Product:Field.FooterDisclaimer.Value");
2256 var str_qualityStatement = GetString("Ecom:Product:Field.QualityStatement.Value");
2257
2258 if(versionDate != null)
2259 {
2260 dateTimeVersionDate = versionDate;
2261 }
2262
2263 /* Other Formats */
2264 var otherFormatsProducts = Dynamicweb.Ecommerce.Products.Product.GetProductsBySql("SELECT * FROM ecomProducts WHERE Clone != '' AND Clone = '" + productClone + "' AND ProductActive = 'True' AND (ProductStatus = '0' OR ProductStatus = '2' OR ProductStatus = '3' OR ProductStatus = '4') AND ProductLanguageID = 'LANG1'").Where(prod => prod.Id != str_productId);
2265
2266 @* Product Loops *@
2267 var loop_variantCombinations = GetLoop("VariantCombinations").Where(x => x.GetBoolean("Ecom:Product.IsActive"));
2268 var loopAssociatedGroups = GetLoop("AssociatedGroups");
2269 var loopComments = GetLoop("Comments.Newfirst");
2270 var loop_variantsWithDC = loop_variantCombinations.Where(x => x.GetInteger("Ecom:Product:Field.ProductStatus.Value.Clean").Equals(4));
2271
2272 if (!string.IsNullOrEmpty(str_productImage))
2273 {
2274 lst_images.Add(new Tuple<string, string, string>(str_productImage, str_image1Title, str_image1Description));
2275 }
2276 if (!string.IsNullOrEmpty(str_productImageMedium))
2277 {
2278 lst_images.Add(new Tuple<string, string, string>(str_productImageMedium, str_image2Title, str_image2Description));
2279 }
2280 if (!string.IsNullOrEmpty(str_productImageLarge))
2281 {
2282 lst_images.Add(new Tuple<string, string, string>(str_productImageLarge, str_image3Title, str_image3Description));
2283 }
2284 if (!string.IsNullOrEmpty(str_productImage4))
2285 {
2286 lst_images.Add(new Tuple<string, string, string>(str_productImage4, str_image4Title, str_image4Description));
2287 }
2288 if (!string.IsNullOrEmpty(str_productImage5))
2289 {
2290 lst_images.Add(new Tuple<string, string, string>(str_productImage5, str_image5Title, str_image5Description));
2291 }
2292 if (!string.IsNullOrEmpty(str_productImage6))
2293 {
2294 lst_images.Add(new Tuple<string, string, string>(str_productImage6, str_image6Title, str_image6Description));
2295 }
2296
2297 var productTypes = new Dictionary<string, string>();
2298 productTypes.Add("AncillaryProducts", "Ancillary");
2299 productTypes.Add("BuffersSolutionsChemicals", "Ancillary");
2300 productTypes.Add("CellBiologyAntibodies", "PrimaryAntibodies");
2301 productTypes.Add("CellSeparation", "MojoSort");
2302 productTypes.Add("CytokineChemokineAntibodies", "PrimaryAntibodies");
2303 productTypes.Add("ELISAMAXLEGENDMAX", "ELISA");
2304 productTypes.Add("EpitopeTagProducts", "PrimaryAntibodies");
2305 productTypes.Add("HumanImmunologyAntibodies", "PrimaryAntibodies");
2306 productTypes.Add("IsotypeControls", "IsotypeControls");
2307 productTypes.Add("LEGENDplex", "LEGENDplex");
2308 productTypes.Add("LEGENDScreen", "LEGENDScreen");
2309 productTypes.Add("MarmosetImmunologyAntibodies", "PrimaryAntibodies");
2310 productTypes.Add("MouseImmunologyAntibodies", "PrimaryAntibodies");
2311 productTypes.Add("NeuroscienceProducts", "PrimaryAntibodies");
2312 productTypes.Add("RatImmunologyAntibodies", "PrimaryAntibodies");
2313 productTypes.Add("RecombinantProteins", "Recombinant");
2314 productTypes.Add("SecondaryReagents", "SecondaryReagents");
2315 productTypes.Add("VirusImmunologyAntibodies", "PrimaryAntibodies");
2316 productTypes.Add("EnzymeAssays", "EnzymeAssays");
2317 productTypes.Add("FlexT", "FlexT");
2318 productTypes.Add("NonAntibodyChemicalProbes", "NonAntibodyChemicalProbes");
2319 productTypes.Add("CellFunction", "CellFunction");
2320 productTypes.Add("PorcineImmunologyAntibodies", "PrimaryAntibodies");
2321 productTypes.Add("FlexiFluor", "PrimaryAntibodies");
2322
2323 if (productTypes.ContainsKey(productType))
2324 {
2325 productFieldType = productTypes[productType];
2326 }
2327
2328 @* TODO - Try to get the subgrous from the parent group *@
2329 var notShowCategories = new List<string>();
2330 notShowCategories.Add("GROUP20");
2331 notShowCategories.Add("GROUP21");
2332 notShowCategories.Add("GROUP22");
2333 notShowCategories.Add("GROUP23");
2334 notShowCategories.Add("GROUP24");
2335 notShowCategories.Add("GROUP25");
2336 notShowCategories.Add("GROUP26");
2337 notShowCategories.Add("GROUP27");
2338 notShowCategories.Add("GROUP28");
2339 notShowCategories.Add("GROUP29");
2340 notShowCategories.Add("GROUP30");
2341 notShowCategories.Add("GROUP31");
2342 notShowCategories.Add("GROUP32");
2343 notShowCategories.Add("GROUP33");
2344 notShowCategories.Add("GROUP34");
2345 notShowCategories.Add("GROUP35");
2346 notShowCategories.Add("GROUP36");
2347 notShowCategories.Add("GROUP37");
2348
2349 @functions {
2350 public string CalculateProductName(string prodName, string prodType, string prodFormat, bool excludeAntibody)
2351 {
2352 string cleanName = prodName;
2353 if(prodType.Equals("PrimaryAntibodies") && !prodName.Contains(" Antibody") && !prodName.Contains("Buffer") && !prodName.Contains("Annexin") && !prodName.Contains("Solution") && !prodName.Contains("Diluent") && !prodName.Contains("Substrate Reagent") && !prodName.Contains("ecombinant") && !prodName.Contains("Panel") && !prodName.Contains("Elisa Max") && !prodName.Contains("Cocktail") && !prodName.Contains("Isotype Control") && !prodName.Contains("Avidin") && !prodName.Contains("Normal Serum Block") && !prodName.Contains("Detection Kit") && !prodName.Contains("Affinity") && !prodName.Contains("ELISA Kit") && !prodName.Contains("Phase-Flow") && !prodName.Contains("Treg Flow") && !prodFormat.Equals("Peptide") && (!excludeAntibody)){
2354 cleanName += " Antibody";
2355 }
2356
2357 if(prodType.Equals("SecondaryReagents") && !prodName.Contains(" Antibody") && !prodName.Contains("Streptavidin") && !prodName.Contains("Avidin") && (!excludeAntibody)){
2358 cleanName += " Antibody";
2359 }
2360
2361 if(prodType.Equals("IsotypeControls") && !prodName.Contains(" Antibody") && !prodName.Contains("Lineage Cocktail") && (!excludeAntibody)){
2362 cleanName += " Antibody";
2363 }
2364
2365 return cleanName;
2366 }
2367 }
2368 //str_productName = CalculateProductName(str_productName,productFieldType,str_productFormat,excludeAB);
2369 str_productName = str_ProductNameNormalized;
2370
2371
2372 var productCatalogNumbers = loop_variantCombinations.Where(x => !string.IsNullOrWhiteSpace(x.GetString("Ecom:Product.Number"))).Select(x => x.GetString("Ecom:Product.Number"));
2373 var catalogFirstLetter = "0";
2374 var catalogSecondLetter = "0";
2375 var catalogThirdLetter = "0";
2376 var str_workshop = GetString("Ecom:Product.CategoryField." + productFieldType + ".Workshop.Value.Clean");
2377
2378 if (productCatalogNumbers.Any())
2379 {
2380 foreach (var xx in productCatalogNumbers)
2381 {
2382 catalogFirstLetter = xx.ToCharArray()[0].ToString();
2383 catalogSecondLetter = xx.ToCharArray()[1].ToString();
2384 catalogThirdLetter = xx.ToCharArray()[2].ToString();
2385 }
2386 }
2387
2388 var catalogFirstTwoNumbers = catalogFirstLetter + catalogSecondLetter;
2389 var catalogFirstThreeNumbers = catalogFirstTwoNumbers + catalogThirdLetter;
2390
2391 @* ********************************* Get Previous Company info ********************************* *@
2392 var previousCompany = new Dictionary<string,string>();
2393 var previouslyConcatName = "";
2394
2395 var catalogOldField = Regex.Split(GetString("Ecom:Product:Field.CatalogOld.Value.Clean"), "\r\n|\r|\n");
2396
2397 foreach (var line in catalogOldField)
2398 {
2399 var lineSplit = line.Split('|');
2400
2401 if(lineSplit.Count() == 2 ){
2402 if(lineSplit[0] == "Covance")
2403 {
2404 previouslyConcatName = String.Format("{0} {1}", Translate("previouslyCovanceCatalog","Previously Covance catalog#"), lineSplit[1]);
2405 }
2406 previousCompany.Add(lineSplit[1],lineSplit[0]);
2407 }
2408 }
2409
2410 @* ********************************* Variant encoding ********************************* *@
2411 var variantTypes = new Dictionary<string, string>();
2412 variantTypes.Add("microg", " µg");
2413 variantTypes.Add("mug", " μg");
2414 variantTypes.Add("mul", " μl");
2415 variantTypes.Add("microl", " µl");
2416 variantTypes.Add("ug", " &mmicro;g");
2417
2418 var readerPathwaysCount = 0;
2419 var countRelatedPages = 0;
2420 var countIVD2 = 0;
2421
2422 using (var connection = Dynamicweb.Data.Database.CreateConnection())
2423 {
2424 using (var countIVD = connection.CreateCommand())
2425 {
2426 countIVD.CommandText = "SELECT Count(1) FROM ecomgroupproductrelation where GroupProductRelationGroupID = 'BLG14317' and GroupProductRelationProductID = ''+@productId+''";
2427 countIVD.Parameters.Add(new System.Data.SqlClient.SqlParameter()
2428 {
2429 ParameterName = "productId",
2430 SqlDbType = System.Data.SqlDbType.NVarChar,
2431 Value = str_productId
2432 });
2433
2434 countIVD2 = Convert.ToInt32(countIVD.ExecuteScalar());
2435 }
2436 }
2437
2438 var isMixMatch = (str_productName.Contains("Capture Bead") || (str_productName.Contains("LEGENDplex") && (str_productName.Contains("Standard") || str_productName.Contains("Detection Antibodies") || str_productName.Contains("Buffer Set"))));
2439 var isCustomFlexT = (str_productName.Contains("Flex-T") && str_productName.Contains("Custom"));
2440
2441 var repositoryPageID = itemArea["RepositoryPageId"] != null ? Convert.ToInt32(itemArea["RepositoryPageId"].ToString()) : 0;
2442 var applicationReferences = RenderItemList(new
2443 {
2444 ItemType = "Publications",
2445 ListSourceType = "NamedList",
2446 TargetNamedList = "Publications",
2447 NamedListPageID = repositoryPageID,
2448 ItemFieldsList = "*",
2449 ListTemplate = "eCom/Product/Includes/productRelatedPublications.cshtml",
2450 ListPageSize = 1000,
2451 // IncludeAllChildItems = true,
2452 Filter = "WebID contains 'p_" + str_productId + ",' or WebID contains 'p_" + str_productId + ":' or WebID ends with 'p_" + str_productId + "'"
2453 }).ToString();
2454
2455
2456 if (str_currentPageId == @printPage || str_currentPageId == coaPage)
2457 {
2458 @SnippetStart("forcePrint")
2459 <link rel="stylesheet" type="text/css" href="@cdnJsCssDomain/Files/Templates/Designs/BioLegend/css/exceptions/print.css"/>
2460 <style>
2461 .container { max-width: 700px !important; }
2462 </style>
2463 @SnippetEnd("forcePrint")
2464 }
2465
2466 if (!string.IsNullOrWhiteSpace(GetString("Ecom:Product:Field.VersionDate.Value.Clean")) && !string.IsNullOrWhiteSpace(GetString("Ecom:Product:Field.VersionNumber.Value.Clean")))
2467 {
2468 @SnippetStart("forcePrintVersion")
2469 <span class="versionDatePrint hidden-sm hidden-md hidden-lg col-xs-12 col-sm-9 pull-right">
2470 @Translate("version", "Version")<text>:</text> @GetString("Ecom:Product:Field.VersionNumber.Value.Clean") @Translate("revisionDate", "Revision Date")<text>:</text> @dateTimeVersionDate.ToString("MM/dd/yyyy")
2471 </span>
2472 @SnippetEnd("forcePrintVersion")
2473 }
2474
2475 <div data-productType="@productType" data-regulatoryStatus="@str_productRegulatoryStatus" data-productName="@str_productName" id="product-container" data-format="@str_productFormat" data-productSpecificity="@productSpecificity" data-ajaxPage="@productListJson" data-productType="@productFieldType" class="container noPadding" data-productClone="@productClone" data-pageId="@str_currentPageId" data-productId="@str_productId" data-variantId="@str_variantId" data-errorCombination1='@Translate("Combination not available")'>
2476 <div id="product-description" class="col-xs-12 noPaddingLeft">
2477 <div id="productInfo" class="col-xs-12 col-sm-9">
2478
2479 @if (isASR)
2480 {
2481 <p class="col-xs-6 noPadding asrWarning">
2482 <b>@Translate("ASRwarnMessage", "Analyte Specific Reagent. Analytical and performance characteristics are not established.")</b>
2483 </p>
2484 }
2485
2486 <dl class="col-xs-12 noPaddingLeft">
2487 @if (loop_variantCombinations.Where(x => !x.GetInteger("Ecom:Product:Field.ProductStatus.Value.Clean").Equals(1)).OrderBy(pv => pv.GetDouble("Ecom:Product.Price.Price")).Any())
2488 {
2489 <dt class="col-xs-3 noPaddingLeft">
2490 @Translate("Catalog#Size", "Catalog# / Size")
2491 </dt>
2492 <dd class="col-xs-9">
2493 @foreach (var productVariant in loop_variantCombinations.Where(x => !x.GetInteger("Ecom:Product:Field.ProductStatus.Value.Clean").Equals(1)).OrderBy(pv => pv.GetDouble("Ecom:Product.Price.Price")))
2494 {
2495 if (!string.IsNullOrWhiteSpace(productVariant.GetString("Ecom:Product:Field.RRID.Value.Clean")))
2496 {
2497 RRIDLists.Add(productVariant.GetString("Ecom:Product.Number"), productVariant.GetString("Ecom:Product:Field.RRID.Value.Clean"));
2498 }
2499 var variantName = productVariant.GetString("Ecom:VariantCombination.VariantText");
2500 if(variantName.Contains("µg")){productIsUg += "Yes";}
2501 if(variantName.Contains("µl")){productIsUl += "Yes";}
2502 @String.Format("{0} / {1}", productVariant.GetString("Ecom:Product.Number"), productVariant.GetString("Ecom:VariantCombination.VariantText"))
2503 <br/>
2504 }
2505 </dd>
2506 }
2507 @if (!string.IsNullOrEmpty(productClone))
2508 {
2509 <dt class="col-xs-3 noPaddingLeft">
2510 @GetString("Ecom:Product:Field.Clone.Name")
2511 </dt>
2512 <dd class="col-xs-9">
2513 @productClone
2514 </dd>
2515 }
2516 @if (isRUO)
2517 {
2518 <dt class="col-xs-3 noPaddingLeft">
2519 @Translate("RegulatoryStatus","Regulatory Status")
2520 </dt>
2521 <dd class="col-xs-9">
2522 @str_productRegulatoryStatus
2523 </dd>
2524 }
2525 @if(!string.IsNullOrEmpty(str_workshop))
2526 {
2527 <dt class="col-xs-3 noPaddingLeft">
2528 @Translate("WorkshopName","Workshop")
2529 </dt>
2530 <dd class="col-xs-9">
2531 @str_workshop
2532 </dd>
2533 }
2534 @{
2535 var pattern = @"\<[^>]*\>";
2536 Regex rgx = new Regex(pattern);
2537 string otherNamesValue = rgx.Replace(GetString("Ecom:Product:Field.OtherNames.Value"), String.Empty);
2538 }
2539 @if (!String.IsNullOrWhiteSpace(otherNamesValue) && !isIVD )
2540 {
2541 <dt class="col-xs-3 noPaddingLeft">
2542 @GetString("Ecom:Product:Field.OtherNames.Name")
2543 </dt>
2544 <dd class="col-xs-9">
2545 @otherNamesValue
2546 </dd>
2547 }
2548
2549 @if (previousCompany.Any() && !isASR && !isIVD)
2550 {
2551 <dt class="col-xs-3 noPaddingLeft">
2552 @Translate("Previously", "Previously")
2553 </dt>
2554 <dd class="col-xs-9">
2555 <div>
2556 @foreach (var x in previousCompany)
2557 {
2558 @String.Format("{1} Catalog# {0}<br/>", x.Key.ToString(), x.Value.ToString())
2559 }
2560 </div>
2561 </dd>
2562 }
2563
2564 @RenderIsoype(str_IsotypeForFilter)
2565 @if (!string.IsNullOrEmpty(str_TotalseqSequence))
2566 {
2567 <dt class="col-xs-4 col-sm-3 noPaddingLeft">
2568 @Translate("Barcode Sequence")
2569 </dt>
2570 <dd>
2571 @str_TotalseqSequence
2572 </dd>
2573 }
2574 </dl>
2575
2576 @* Kit Contents on print page in the top section SDT 091216 *@
2577 @if (str_currentPageId != printPage && str_currentPageId == printPage && !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".KitContents.Value")) && !isASR)
2578 {
2579 <dl class="col-xs-12 noPadding">
2580 @RenderCustomField(productFieldType, "KitContents", @Translate("KitContents", "Kit Contents"))
2581 </dl>
2582 }
2583
2584 @*Mouse BV Products with ug and ul*@
2585 @if(str_productFormat.ToUpper().Contains("BV") && str_productName.ToUpper().Contains("MOUSE") && productIsUg.ToUpper().Contains("YES") && productIsUl.ToUpper().Contains("YES") && !isASR){
2586 <div class="pdfDescription col-xs-12 noPaddingLeft">
2587 <div class="title col-xs-3 noPaddingLeft"> </div>
2588 <div class="col-xs-9">This product is offered in multiple sizing options (µg and µL/test sizes). To compare these sizing options and learn which is the best choice for you, please contact tech support.</div>
2589 </div>
2590 }
2591
2592 @if (!String.IsNullOrEmpty(str_productDescription))
2593 {
2594 <dl class="pdfDescription col-xs-12 noPaddingLeft">
2595 <dt class="title col-xs-3 noPaddingLeft"><strong>@Translate("Description", "Description")</strong></dt>
2596 <dd class="col-xs-9 noPaddingLeft">@RenderLongDescription(str_productDescription, str_productId)</dd>
2597 </dl>
2598 }
2599 @if (!String.IsNullOrEmpty(str_qualityStatement))
2600 {
2601 @RenderProductField("QualityStatement",@Translate("QualityStatementNameB","Quality Statement"),str_productId,str_productRegulatoryStatus,catalogFirstLetter,str_productFormat,productFieldType,str_productName)
2602 }
2603
2604
2605 @RenderTDS(
2606 true,
2607 str_productDataSheetFile,
2608 str_productDataSheet,
2609 printPage,
2610 productFieldType,
2611 str_productId,
2612 str_productName,
2613 str_productRegulatoryStatus,
2614 techSupportPageID,
2615 @Translate("datasheetNotAvailable", "This datasheet is currently not available online. Click 'OK' to contact technical service for more information."),
2616 "",
2617 "",
2618 productUpdated
2619 )
2620
2621 </div>
2622
2623 @* New Kit Contents Section section SDT 091216 *@
2624 @if (!String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".KitContents.Value")) && !isASR)
2625 {
2626 <div id="kitContents" class="col-xs-12 col-sm-9 pull-right">
2627
2628 <h2 class="col-xs-12 noPadding">
2629 @Translate("KitContents", "Kit Contents")
2630 </h2>
2631 <dl class="col-xs-12 noPadding">
2632 @RenderCustomField(productFieldType, "KitContents", @Translate("KitContents", "Kit Contents"))
2633 </dl>
2634 </div>
2635 }
2636
2637 <div id="productDetails" class="col-xs-12 col-sm-9 pull-right" data-isotypeControl='@Translate("IsotypeControl", "Isotype Control")'>
2638 <h2 class="col-xs-12 noPadding">
2639 @Translate("ProductDetails", "Product Details")
2640 </h2>
2641
2642 <dl class="col-xs-12 noPadding">
2643
2644 @if(isIVD){
2645 @RenderProductField("ProductInfo", @Translate("ProductInformation","Product Information"));
2646 }
2647 @if(isRUO){
2648 @RenderProductField("Reactivity", @Translate("VerifiedReactivity","Verified Reactivity"), "", "", "", "", productType, "", null, true)
2649 }
2650 else{
2651 @RenderProductField("Reactivity", @Translate("Reactivity","Reactivity"), "", "", "", "", productType, "", null, true)
2652 }
2653 @RenderProductField("ReportedReactivity", @Translate("ReportedReactivity","Reported Reactivity"), "", "", "", "", productType, "", null, true)
2654 @if(!isASR && !isIVD){
2655 @RenderABType("ABType", @Translate("AntibodyType","Antibody Type"))
2656 }
2657 @if(!isASR && !isIVD){
2658 @RenderProductField("HostSpecies", @Translate("HostSpecies","Host Species"))
2659 }
2660 @if(!isASR){
2661 @RenderCustomField(productFieldType, "Immunogen", @Translate("Immunogen", "Immunogen"))
2662 }
2663 @if(!isASR){
2664 @RenderCustomField(productFieldType, "Derivation", @Translate("Source", "Source"))
2665 }
2666 @if(!isASR){
2667 @RenderCustomField(productFieldType, "Mass", @Translate("MolecularMass", "Molecular Mass"))
2668 }
2669 @RenderProductField("NTerminalSequenceAnalysis",@Translate("NTerminalSequenceAnalysisNameA","N-terminal<br />Sequence Analysis"))
2670 @if(!isASR){
2671 @RenderCustomField(productFieldType, "Purity", @Translate("Purity", "Purity"))
2672 }
2673 @RenderProductField("Formulation", @Translate("Formulation", "Formulation"))
2674 @RenderProductField("EndotoxinLevel",@Translate("EndotoxinLevelName","Endotoxin Level"))
2675 @RenderProductField("ResidualHostCellProteinContent",@Translate("ResidualHostCellProteinContentName","Residual Host Cell Protein Content"))
2676 @RenderProductField("Specifications",@Translate("SpecificationsName","Specifications"))
2677 @RenderCustomField(productFieldType, "Preparation", @Translate("Preparation", "Preparation"))
2678
2679 @if (!String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Concentration.Value.Clean")))
2680 {
2681 <dt class="col-xs-3 noPaddingLeft">
2682 @Translate("Concentration", "Concentration")
2683 </dt>
2684 <dd class="col-xs-9">
2685 @LocalizeLinks(@GetString("Ecom:Product.CategoryField." + productFieldType + ".Concentration.Value.Clean")) @GetString("Ecom:Product.CategoryField." + productFieldType + ".ConcentrationUnits.Value.Clean")
2686 </dd>
2687 }
2688
2689 @RenderProductField("Storage", @Translate("StorageHandling", "Storage & Handling"), str_productId)
2690 @if(!isASR){
2691 @RenderCustomField(productFieldType, "Activity", @Translate("Activity", "Activity"))
2692 }
2693 @if (!string.IsNullOrWhiteSpace(GetString("Ecom:Product:Field.Applications.Value")) && !isIVD)
2694 {
2695 <dt class="col-xs-3 noPaddingLeft">
2696 @Translate("Application", "Application")
2697 </dt>
2698 <dd class="col-xs-9">
2699 <span>@GetString("Ecom:Product:Field.Applications.Value")</span>
2700
2701 @if (productFieldType.Equals("LEGENDplex"))
2702 {
2703 <text>
2704 <br/>
2705 @Translate("learnAboutLegendPlex", "Learn more about LEGENDplex™ at biolegend.com/legendplex.")
2706 <br/><br/>
2707 @Translate("downloadLegendPlexSoftware", "Download the LEGENDplex™ software.")
2708 </text>
2709 }
2710
2711 </dd>
2712 }
2713
2714 @* Find ELISA documents text *@
2715 @if (str_productFormat.Equals("ELISA") || str_productFormat.Equals("ELISA_STD") || str_productFormat.Equals("ELISA_DLX"))
2716 {
2717 <dt class="col-xs-3 noPaddingLeft">@Translate("spaceText", " ")</dt>
2718 <dd class="col-xs-9">
2719 @Translate("elisaGreenText", " As a part of BioLegend's efforts to go green, each new lot of the ELISA MAX™ sets will include a summarized version of its manual. ")
2720 </dd>
2721 }
2722
2723 @RenderProductField("Usage", @Translate("RecommendedUsage", "Recommended Usage"), str_productId, str_productRegulatoryStatus, catalogFirstLetter, str_productFormat, productFieldType, str_productName)
2724
2725
2726 @if(!isASR && !isIVD)
2727 {
2728 @RenderLaser(str_productLaser)
2729 @RenderProductField("AppNotes", @Translate("ApplicationNotes", "Application Notes"))
2730 @RenderProductField("AdditionalProductNotes", @Translate("AdditionalProductNotesTitle", "Additional Product Notes"))
2731 }
2732
2733 @if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product:Field.AppReferences.Value")) && !isASR)
2734 {
2735 <dt class="col-xs-3 noPaddingLeft">
2736 @Translate("ApplicationReferences","Application References")
2737 </dt>
2738 <dd class="col-xs-9" id="applicationReferences" data-seeLess="@Translate("seeLess", "See Less")" data-seeMore="@Translate("seeMore", "See More")">
2739 @{
2740 var removeAnchor = Regex.Replace(GetString("Ecom:Product:Field.AppReferences.Value"), @"<a [^>]+>(.*?)<\/a>", "$1").Replace("<em>", "").Replace("</em>", "");
2741 }
2742 @if (removeAnchor.Contains("</li>"))
2743 {
2744 var positionOfCut = removeAnchor.Split(new string[] {"</li>"}, StringSplitOptions.None);
2745 var count = 0;
2746 foreach (var li in positionOfCut)
2747 {
2748 count++;
2749 if (count > 12)
2750 {
2751 break;
2752 }
2753 @(li + "</li>")
2754 }
2755 }
2756 else
2757 {
2758 @removeAnchor.Substring(0, (removeAnchor.Length <= 800 ? removeAnchor.Length - 1 : 800))
2759 }
2760
2761 </dd>
2762 }
2763
2764 @if( !string.IsNullOrWhiteSpace(applicationReferences) && !isASR && !isIVD)
2765 {
2766 <dt class="col-xs-3 noPaddingLeft">
2767 @Translate("ProductCitations","Product Citations")
2768 </dt>
2769 <dd class="col-xs-9" id="productSpecificReferences" data-seeLess="@Translate("seeLess", "See Less")" data-seeMore="@Translate("seeMore", "See More")">
2770 @{
2771 var removeAnchor = Regex.Replace(applicationReferences, @"<a [^>]+>(.*?)<\/a>", "$1").Replace("<em>", "").Replace("</em>", "");
2772 }
2773 @if (removeAnchor.Contains("</li>"))
2774 {
2775 var positionOfCut = removeAnchor.Split(new string[] {"</li>"}, StringSplitOptions.None);
2776 var count = 0;
2777 foreach (var li in positionOfCut)
2778 {
2779 count++;
2780 if (count > 12)
2781 {
2782 break;
2783 }
2784 @(li + "</li>")
2785 }
2786 }
2787 else
2788 {
2789 @removeAnchor.Substring(0, 800)
2790 }
2791 </dd>
2792 }
2793
2794 @if (RRIDLists.ToList().Any() && !isASR && !isIVD)
2795 {
2796 <dt class="col-xs-3 noPaddingLeft">@Translate("RRID", "RRID")</dt>
2797 <dd class="col-xs-9">
2798 @*string.Join("<br/>", RRIDLists.ToArray())*@
2799 @foreach (var x in RRIDLists.ToList())
2800 {
2801 @x.Value
2802 <text>(@Translate("biolegendCatNo", "BioLegend Cat. No.") @x.Key)</text>
2803 <br/>
2804 }
2805 </dd>
2806 }
2807 @if(!isASR && !isIVD){
2808 @RenderCustomField(productFieldType, "Sensitivity", @Translate("Sensitivity", "Sensitivity"))
2809 @RenderCustomField(productFieldType, "StandardRange", @Translate("StandardRange", "Standard Range"))
2810 }
2811 @if(!isASR){
2812 @RenderCustomField(productFieldType, "MaterialsNotIncluded", @Translate("MaterialsNotIncluded", "Materials Not Included"))
2813 }
2814 @RenderProductField("Disclaimer",@Translate("Disclaimer","Disclaimer"),str_productId,str_productRegulatoryStatus,catalogFirstLetter,str_productFormat,productFieldType,str_productName)
2815 </dl>
2816 </div>
2817
2818 @if ((!String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Structure.Value"))
2819 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Distribution.Value"))
2820 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Function.Value"))
2821 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Interaction.Value"))
2822 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Ligand.Value"))
2823 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Bioactivity.Value"))
2824 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".CellSources.Value"))
2825 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Cross.Value"))
2826 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Modification.Value"))
2827 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Receptors.Value"))
2828 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Reconstitution.Value"))
2829 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".AntigenReferences.Value"))
2830 || !String.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".Regulation.Value"))
2831 || !string.IsNullOrWhiteSpace(str_biologyArea)
2832 || !string.IsNullOrWhiteSpace(str_molecularFamily)
2833 || !string.IsNullOrWhiteSpace(str_cellType)
2834 || geneList.Any()) && !isASR && !isIVD)
2835 {
2836 <div id="antigenDetails" class="col-xs-12 col-sm-9 pull-right">
2837
2838 <h2 class="col-xs-12 noPadding">
2839 @Translate("AntigenDetails", "Antigen Details")
2840 </h2>
2841
2842 <dl class="col-xs-12 noPadding">
2843 @if(!isASR && !isIVD){
2844 @RenderCustomField(productFieldType, "Structure", @Translate("Structure", "Structure"))
2845 @RenderCustomField(productFieldType, "Distribution", @Translate("Distribution", "Distribution"))
2846 @RenderCustomField(productFieldType, "Function", @Translate("Function", "Function"))
2847 @RenderCustomField(productFieldType, "Interaction", @Translate("Interaction", "Interaction"))
2848 @RenderCustomField(productFieldType, "Ligand", @Translate("LigandReceptor", "Ligand/Receptor"))
2849 @RenderCustomField(productFieldType, "Bioactivity", @Translate("Bioactivity", "Bioactivity"))
2850 @RenderCustomField(productFieldType, "CellSources", @Translate("CellSources", "Cell Sources"))
2851 @RenderCustomField(productFieldType, "CellTargets", @Translate("CellTargets", "Cell Targets"))
2852 @RenderCustomField(productFieldType, "Cross", @Translate("Cross", "Cross"))
2853 @RenderCustomField(productFieldType, "Modification", @Translate("Modification", "Modification"))
2854 @RenderCustomField(productFieldType, "Receptors", @Translate("Receptors", "Receptors"))
2855 @RenderCustomField(productFieldType, "Reconstitution", @Translate("Reconstitution", "Reconstitution"))
2856 @RenderCellType(str_cellType)
2857 @RenderBiologyArea(str_biologyArea)
2858 @RenderMolecularFamily(str_molecularFamily)
2859 }
2860 @if (!string.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField." + productFieldType + ".AntigenReferences.Value.Clean")) && !isIVD)
2861 {
2862 <dt class="col-xs-3 noPaddingLeft">
2863 @Translate("AntigenReferences", "Antigen References")
2864 </dt>
2865 <dd class="col-xs-9 noPaddingLeft">
2866 @{
2867 string removeAnchor2 = Regex.Replace(GetString("Ecom:Product.CategoryField." + productFieldType + ".AntigenReferences.Value.Clean"), @"<a [^>]+>(.*?)<\/a>", "$1").Replace("<em>", "").Replace("</em>", "");
2868 }
2869 @removeAnchor2.Substring(0, (removeAnchor2.Length <= 1050 ? removeAnchor2.Length - 1 : 1050))
2870 </dd>
2871 }
2872 @if(!isASR && !isIVD){
2873 @RenderCustomField(productFieldType, "Regulation", @Translate("Regulation", "Regulation"))
2874
2875
2876 if (geneList.Any() && !isIVD)
2877 {
2878 <dt class="col-xs-3 noPaddingLeft">
2879 @Translate("GeneID", "Gene ID")
2880 </dt>
2881 <dd class="col-xs-9">
2882 @foreach (var gene in geneList)
2883 {
2884 <span class="col-xs-12 noPadding geneInformation">
2885 <a class="geneAnchor iframeWebsite" target="_blank" data-geneID="@gene" href="https://www.ncbi.nlm.nih.gov/gene/@gene">@gene</a> <a target="_blank" class="btn btn-default" href="/Default.aspx?ID=@searchPageID&GeneID=@gene">@Translate("viewAllProductsGeneID", "View all products for this Gene ID")</a>
2886 </span>
2887 }
2888 </dd>
2889 }
2890 }
2891 </dl>
2892 </div>
2893 }
2894
2895 @using System.Collections.Generic
2896 @using Dynamicweb.Caching
2897 @{
2898 var str_productProtocols = GetString("Ecom:Product:Field.Protocols.Value").Replace('"', ' ');
2899 var isASRProt = GetString("Ecom:Product:Field.RegulatoryStatus.Value").Equals("ASR");
2900 var isIVDProt = GetString("Ecom:Product:Field.RegulatoryStatus.Value").Equals("IVD");
2901
2902 if (!string.IsNullOrEmpty(str_productProtocols) && !isASRProt && !isIVDProt)
2903 {
2904 var selectedProductId = GetString("Ecom:Product.ID");
2905 var productProtocolsResults = new List<KeyValuePair<string,string>>();
2906 var productProtocols = Cache.Current.Get("productProtocolsCache_" + selectedProductId);
2907
2908 if (productProtocols == null)
2909 {
2910 using (var connection = Dynamicweb.Data.Database.CreateConnection())
2911 {
2912 using (var commandProtocols = connection.CreateCommand())
2913 {
2914 commandProtocols.CommandText = "SELECT * FROM itemtype_protocols WHERE Id in (" + str_productProtocols + ")";
2915 using (var readerProtocols = commandProtocols.ExecuteReader())
2916 {
2917 if (readerProtocols != null)
2918 {
2919 if (readerProtocols.FieldCount > 0)
2920 {
2921 while (readerProtocols.Read())
2922 {
2923 var itemName = readerProtocols["Name"].ToString();
2924 var itemLink = readerProtocols["Protocol"].ToString().Replace("Files/Files/BioLegend/", "Files/Images/");
2925
2926 productProtocolsResults.Add(new KeyValuePair<string, string>(itemName, itemLink));
2927 }
2928 }
2929 }
2930 }
2931 }
2932
2933 Cache.Current.Set("productProtocolsCache_" + selectedProductId, productProtocolsResults, CacheItemPolicy.DefaultStoragePolicy);
2934 @RenderProtocols(productProtocolsResults)
2935
2936 }
2937 }
2938 else
2939 {
2940 @RenderProtocols((List<KeyValuePair<string,string>>) productProtocols)
2941 }
2942 }
2943 }
2944
2945 @helper RenderProtocols(List<KeyValuePair<string,string>> productProtocolsResults)
2946 {
2947 <div id="productRelatedProtocols" class="col-xs-12 col-sm-9 noPadding pull-right">
2948 <h2 class="col-xs-12 noPadding">
2949 <a href="@Pageview.SearchFriendlyUrl.ToString()#productRelatedProtocols" name="13">@Translate("RelatedProtocols", "Related Protocols")</a>
2950 </h2>
2951
2952 @SnippetStart("navigationAnchors")
2953 <li>
2954 <a class="anchor_13" href="@Pageview.SearchFriendlyUrl.ToString()#productRelatedProtocols">@Translate("RelatedProtocols", "Related Protocols")</a>
2955 </li>
2956 @SnippetEnd("navigationAnchors")
2957
2958 <ul class="col-xs-12 noPadding">
2959 @foreach (var protocolPair in productProtocolsResults)
2960 {
2961 var itemName = protocolPair.Key;
2962 var itemLink = protocolPair.Value;
2963
2964 <li class="col-xs-12">
2965 <a target="_blank" href="@itemLink" title="@itemName">
2966 @itemName
2967 </a>
2968 </li>
2969 }
2970 </ul>
2971 </div>
2972 }
2973
2974 @if (!isIVD && !isASR)
2975 {
2976 <div id="productRelatedGroup" class="col-xs-12 hidden col-sm-offset-3 col-sm-9">
2977 <h2 class="col-xs-12 noPadding">
2978 @Translate("RelatedProducts", "Related Products")
2979 </h2>
2980
2981 <table id="tableRelatedProducts" class="col-xs-12 noPadding" data>
2982 <thead>
2983 <tr>
2984 <th>@Translate("Description", "Description")</th>
2985 <th>@Translate("Clone", "Clone")</th>
2986 <th>@Translate("Applications", "Applications")</th>
2987 </tr>
2988 </thead>
2989 <tbody>
2990
2991 </tbody>
2992 </table>
2993 </div>
2994 }
2995
2996 @if (str_currentPageId == @printPage && str_productId == "9340")
2997 {
2998 <text>
2999 <br/><br/>This product is provided under an intellectual property license from Life Technologies Corporation.The transfer of this product is conditioned on the buyer using the purchased product solely in research conducted by the buyer, excluding contract research or any fee for service research, and the buyer must not(1) use this product or its components for (a) diagnostic, therapeutic or prophylactic purposes; (b)testing, analysis or screening services, or information in return for compensation on a per - test basis; or(c) manufacturing or quality assurance or quality control, and / or(2) sell or transfer this product or its components for resale, whether or not resold for use in research.For information on purchasing a license to this product for purposes other than as described above, contact Life Technologies Corporation, 5781 Van Allen Way, Carlsbad, CA 92008 USA or outlicensing@lifetech.com.
3000 </text>
3001 }
3002
3003 @{
3004 bool isASRProd = GetString("Ecom:Product:Field.RegulatoryStatus.Value").Equals("ASR");
3005 bool isIVDProd = GetString("Ecom:Product:Field.RegulatoryStatus.Value").Equals("IVD");
3006 if(!isASRProd && !isIVDProd) {
3007 @*
3008 ID Name
3009 12 Alexa Fluor® 594
3010 15 Biofunctional Antibodies - LEAF™ and Ultra-LEAF™
3011 37 Breaking Buffers
3012 10 Brilliant Violet™
3013 11 Brilliant Violet™ Mobile Application
3014 49 CD Molecule Chart
3015 26 CD Molecules
3016 27 CD Molecules Mobile Application
3017 25 Cell Markers
3018 52 Chemokines and Chemokine Receptors
3019 6 Custom Panel Construction
3020 50 Cytokines/Chemokines Mobile Application
3021 56 Direct-Blot ™
3022 57 Direct-Blot ™
3023 35 ELISA Kits and Sets
3024 36 ELISA Mobile Application
3025 38 Flow Cytometry Buffers
3026 8 Flow Cytometry Mobile Application
3027 4 Fluorescence Spectra Analyzer
3028 9 Fluorescence Spectra Analyzer Mobile Application
3029 5 Fluorophore Brightness Index
3030 7 Fluorophore Equivalency Tool
3031 19 GoInVivo™ Purified Bulk Antibodies
3032 20 Immune Checkpoints
3033 54 Integrin Explorer
3034 55 Integrin Explorer Mobile Application
3035 51 Interleukin Receptors
3036 21 LEAF™ - Low Endotoxin Azide Free
3037 31 LEGENDplex™
3038 33 LEGENDScreen™
3039 39 Live Cell/Dead Cell Discrimination
3040 42 MaxPar® Ready Purified Antibodies
3041 43 Microscopy
3042 44 MitoSpy™ Mitochrondrial Probes
3043 46 MojoSort™ Magnetic Cell Separation
3044 28 MojoSort™ Webinar
3045 3 Multicolor Panel Selector
3046 14 Multicolor Staining Guide
3047 16 PE/Dazzle™ 594 Conjugates
3048 34 Pipettes of Fury
3049 1 Quality Control
3050 29 Recombinant Proteins
3051 45 Streptavidin Conjugates
3052 13 Tandem Dyes
3053 32 The Ken Lau Show Episode 6 - LEGENDplex™
3054 17 The Tandem
3055 18 The Tandem Mobile Application
3056 61 True-Stain Monocyte Blocker
3057 41 Zombie Apocalypse
3058 40 Zombie Dyes App
3059
3060 str_productId
3061 str_productName
3062 str_productFormat
3063 productFieldType
3064 str_productOtherNames
3065 catalogFirstLetter
3066 *@
3067
3068 List<string> pages = new List<string>();
3069 pages.Add("1");
3070
3071 if(str_productFormat.Contains("BV")) {
3072 pages.Add("10");
3073 }
3074
3075 if(str_productFormat.Contains("A594")) {
3076 pages.Add("12");
3077 }
3078
3079 if(str_productFormat.Contains("/")) {
3080 pages.Add("13");
3081 pages.Add("14");
3082 }
3083
3084 if(str_productFormat.Contains("LEAF")) {
3085 pages.Add("15");
3086 }
3087
3088 if(str_productFormat.Contains("PE_DZL594")) {
3089 pages.Add("16");
3090 }
3091
3092 if(str_productFormat.Contains("GOINVIVO")) {
3093 pages.Add("19");
3094 pages.Add("20");
3095 pages.Add("15");
3096 }
3097
3098 if(str_productFormat.Contains("MOJO")) {
3099 pages.Add("46");
3100 pages.Add("25");
3101 pages.Add("26");
3102 }
3103
3104 if(str_productFormat.Contains("RECOM")) {
3105 pages.Add("29");
3106 }
3107
3108 if (!str_productFormat.Contains("LEAF") && !str_productFormat.Equals("BIOTIN") && !str_productFormat.Equals("ELISA") && !str_productFormat.Equals("ELISA_DLX") && !str_productFormat.Equals("ELISA_STD") && !str_productFormat.Equals("HRP") && !str_productFormat.Equals("Kit") && !str_productFormat.Equals("RECOM") && !str_productFormat.Equals("LEGEND MAX") && !str_productFormat.Equals("LPLEX") && !str_productFormat.Equals("LSCREEN") && !str_productFormat.Equals("MOJO") && !str_productFormat.Equals("PURE") && !str_productFormat.Equals("SOLUTION") && !str_productFormat.Equals("GOINVIVO") && !str_productFormat.Equals("DB_HRP") && !str_productFormat.Equals("")){
3109 pages.Add("5");
3110 pages.Add("4");
3111 pages.Add("14");
3112 pages.Add("6");
3113 pages.Add("7");
3114 }
3115
3116 if(productType.Equals("LEGENDplex")) {
3117 pages.Add("31");
3118 }
3119
3120 if(productType.Equals("ELISAMAXLEGENDMAX")) {
3121 pages.Add("35");
3122 }
3123
3124 if(productType.Equals("LEGENDScreen")) {
3125 pages.Add("33");
3126 }
3127
3128 if(productType.Equals("BuffersSolutionsChemicals")) {
3129 pages.Add("38");
3130 }
3131
3132 if(str_productName.Contains("Zombie")) {
3133 pages.Add("39");
3134 }
3135
3136 if(str_productName.Contains("MaxPar")) {
3137 pages.Add("42");
3138 }
3139
3140 if(str_productName.Contains("MitoSpy")) {
3141 pages.Add("43");
3142 pages.Add("44");
3143 }
3144
3145 if(str_productName.Contains("Phalloidin")) {
3146 pages.Add("43");
3147 }
3148
3149 if(str_productName.Contains("Streptavidin")) {
3150 pages.Add("45");
3151 }
3152
3153 if(str_productFormat.Equals("BIOTIN")) {
3154 pages.Add("45");
3155 pages.Add("46");
3156 }
3157
3158 if(str_productName.Contains(" CD") && !str_productFormat.Contains("MOJO")) {
3159 pages.Add("49");
3160 }
3161
3162 if(Convert.ToInt32(catalogFirstLetter) == 5)
3163 {
3164 pages.Add("51");
3165 pages.Add("52");
3166 }
3167
3168 if(str_productOtherNames.ToUpper().Contains("INTEGRIN"))
3169 {
3170 pages.Add("54");
3171 }
3172
3173 if(str_productRegulatoryStatus.Equals("ASR"))
3174 {
3175 pages.Add("59");
3176 }
3177
3178 if(str_productFormat.Equals("FLEX_T"))
3179 {
3180 pages.Add("58");
3181 pages.Add("45");
3182 }
3183
3184 if(str_productFormat.Equals("APC_F750"))
3185 {
3186 pages.Add("60");
3187 }
3188
3189 if(str_productId.Equals("14598")){
3190 pages.Add("61");
3191 }
3192
3193 //var relatedPages = (List<Dictionary<string, string>>) Cache.Current.Get("productRelatedPagesCache_" + str_productId);
3194 /*if (relatedPages == null)
3195 {*/
3196 var relatedPages = GetRelatedPages(pages);
3197 //Cache.Current.Set("productRelatedPagesCache_" + str_productId, relatedPages, CacheItemPolicy.DefaultStoragePolicy);
3198 /*}*/
3199 countRelatedPages = relatedPages.Count;
3200
3201 string str_pathways = GetString("Ecom:Product:Field.Pathways.Value");
3202 Dictionary<string, string> pathwaysDict = new Dictionary<string, string>(){
3203 {"1","CD4 and CD8 T-Cell Lineage"},
3204 {"2","Apoptosis Through Death Receptors"},
3205 {"3","Gamma-Delta T cells"},
3206 {"4","Cyclins and Cell Cycle Regulation"},
3207 {"5","Hematopoiesis from Multipotent Stem Cell"},
3208 {"6","Hematopoiesis from Pluripotent Stem Cell"},
3209 {"8","TH1 Pathway (Cellular Immune Response)"},
3210 {"9","IL-2 Pathway"},
3211 {"10","JAK/STAT Pathway"},
3212 {"11","p38 Signaling"},
3213 {"12","TH17 Pathway"},
3214 {"13","TH2 Pathway (Humoral Immune Response)"},
3215 {"19","Agranulocyte Adhesion and Diapedesis"},
3216 {"20","14-3-3 Induced Intracellular Signaling"},
3217 {"21","Akt Signaling"},
3218 {"22","ATM Pathway"},
3219 {"23","BAFF in B-Cell Signaling"},
3220 {"24","B-Cell Receptor Pathway"},
3221 {"25","Caspase Cascade"},
3222 {"26","CD28 Signaling in T-Helper Cell"},
3223 {"27","CD40 Signaling"},
3224 {"28","Cellular Apoptosis Pathway"},
3225 {"29","Chemokine Signaling"},
3226 {"30","CTLA4 Signaling"},
3227 {"31","Cytokine Network"},
3228 {"32","EGF Pathway"},
3229 {"33","Embryonic Stem Cell Pluripotency in Mouse"},
3230 {"34","ErbB Family Pathway"},
3231 {"35","ERK Signaling"},
3232 {"36","FAK1 Pathway"},
3233 {"37","Fas Signaling"},
3234 {"38","GPCR Pathway"},
3235 {"39","GSK3 Signaling"},
3236 {"40","Human Embryonic Stem Cell Pluripotency"},
3237 {"41","ICos-ICosL Pathway in T-Helper Cell"},
3238 {"42","IL-1 Pathway"},
3239 {"43","IL-4 Pathway"},
3240 {"44","IL-6 Pathway"},
3241 {"45","IL-10 Pathway"},
3242 {"46","ILK Signaling"},
3243 {"47","Integrin Pathway"},
3244 {"48","Interferon Pathway"},
3245 {"49","ITK and TCR Signaling"},
3246 {"50","JNK Pathway"},
3247 {"51","Lymphotoxin-beta Receptor Pathway"},
3248 {"52","MAPK Signaling"},
3249 {"53","Mitotic Roles of Polo Like Kinase"},
3250 {"54","mTOR Pathway"},
3251 {"55","Nanog in Mammalian ESC Pluripotency"},
3252 {"56","NFAT Signaling and Lymphocyte Interactions"},
3253 {"57","NF-κB (p50/p65) Pathway"},
3254 {"58","Oct4 in Mammalian ESC Pluripotency"},
3255 {"59","PDGF Pathway"},
3256 {"60","PKC-θ Pathway"},
3257 {"61","PPAR Pathway"},
3258 {"62","PTEN Pathway"},
3259 {"63","Ras Pathway"},
3260 {"64","SOCS Pathway"},
3261 {"65","Sumo Pathway"},
3262 {"66","T-Cell Receptor Signaling"},
3263 {"67","TGF-β Pathway"},
3264 {"68","TNF Superfamily Pathway"},
3265 {"69","Toll-Like Receptors"},
3266 {"70","TRAIL Pathway"},
3267 {"71","TREM1 Pathway"},
3268 {"72","VEGF Pathway"},
3269 {"73","WNT Signaling"},
3270 {"74","p53 Signaling"},
3271 {"75","T Follicular Helper Cell Pathway"},
3272 {"76","Cancer Elimination"},
3273 {"78","Cancer Immunology - 3Es"},
3274 {"79","Cancer Recognition"},
3275 {"82","Cancer Recognition & Elimination"},
3276 {"83","MDSC-induced Immune Suppression"},
3277 {"84","Shedding MICA/B Antigens"},
3278 {"85","Stat3-mediated Tumor Escape"},
3279 {"86","Tregs in Tumor Escape"},
3280 {"88","Immunologic Networks 2011"},
3281 {"89","B cell Development and Activation"},
3282 {"90","Myeloid-Derived Suppressor Cells"},
3283 {"91","Regulatory T Cells"},
3284 {"92","Dendritic Cells"},
3285 {"93","Stem Cells and Development"},
3286 {"94","Cancer Immunoediting"},
3287 {"95","Chemokine Receptor Biology"},
3288 {"97","Th17 Biology"},
3289 {"98","Innate Immunity"},
3290 {"99","Mechanisims of Cell Death"},
3291 {"100","Dendritic Cell, Monocyte, and Macrophage Biology"},
3292 {"101","Neurodegeneration"},
3293 {"102","Innate Immune Signaling"},
3294 {"103","Neuroinflammation"},
3295 {"104","Autophagy"}
3296 };
3297
3298 string[] pathwaysList = str_pathways.Split(',');
3299 //var pathwaysData = GetPathways(productSpecificity);
3300
3301
3302 if(!string.IsNullOrWhiteSpace(str_pathways) || countRelatedPages > 0)
3303 {
3304 <div id="productRelatedPages" class="col-xs-12 col-sm-9 noPadding pull-right">
3305 <h2 class="col-xs-12 noPadding">
3306 <a href="@Pageview.SearchFriendlyUrl.ToString()#productRelatedPages" name="4">@Translate("RelatedPagesPathways","Related Pages & Pathways")</a>
3307 </h2>
3308
3309 @SnippetStart("navigationAnchors")
3310 <li>
3311 <a class="anchor_4" href="@Pageview.SearchFriendlyUrl.ToString()#productRelatedPages">@Translate("RelatedPagesPathways","Related Pages & Pathways")</a>
3312 </li>
3313 @SnippetEnd("navigationAnchors")
3314
3315 @if(!string.IsNullOrWhiteSpace(str_pathways))
3316 {
3317 <div class="col-xs-6 noPaddingLeft">
3318 <h3>@Translate("Pathways","Pathways")</h3>
3319 <ul class="relatedPages relatedPathways col-xs-12 noPadding">
3320 @foreach (string thisPathway in pathwaysList)
3321 {
3322 string title = pathwaysDict[thisPathway];
3323 string pathwayID = thisPathway;
3324
3325 <li>
3326 <a href="http://www.biolegend.com/pop_pathway.php?id=@pathwayID" target="_blank">
3327 @title
3328 </a>
3329 </li>
3330 }
3331 </ul>
3332 </div>
3333 }
3334
3335 @if(countRelatedPages > 0)
3336 {
3337 <div class='col-xs-6 @(!string.IsNullOrWhiteSpace(str_pathways) ?"noPaddingRight":"noPaddingLeft")'>
3338 <h3>@Translate("Pages","Pages")</h3>
3339 <ul class="relatedPages col-xs-12 noPadding">
3340 @foreach (var row in relatedPages)
3341 {
3342 string link = (!String.IsNullOrWhiteSpace(row["Page"]) ? row["Page"] : row["LinkExt"]);
3343 string target = (link.Contains("http:") ? "target='_blank'" : "");
3344 string iconSrc = row["Icon_Source"].Replace(".png", "_PD.png").Replace(".jpg", "_PD.jpg");
3345 string itemName = row["Name"];
3346
3347 <li>
3348 <a href="@LocalizeLinksHTML(link)" @target>
3349 @if(!String.IsNullOrWhiteSpace(iconSrc))
3350 {
3351 <figure>
3352 <img width="20" height="20" src="@iconSrc" title="@itemName" alt="@itemName" />
3353 </figure>
3354 }
3355 @itemName
3356 </a>
3357 </li>
3358 }
3359 </ul>
3360 </div>
3361 }
3362 </div>
3363 }
3364 }
3365
3366 @functions
3367 {
3368 /* Get related pages */
3369 public static List<Dictionary<string, string>> GetRelatedPages(List<string> pages)
3370 {
3371 List<Dictionary<string, string>> relatedPages = new List<Dictionary<string, string>>();
3372
3373 using (var connection = Dynamicweb.Data.Database.CreateConnection())
3374 {
3375 using (var command = connection.CreateCommand())
3376 {
3377 command.CommandText = string.Format("SELECT Page,LinkExt,Icon_Source,Name from itemtype_relatedPages WHERE ID IN ({0})", string.Join(", ", pages));
3378
3379 using (var reader = command.ExecuteReader())
3380 {
3381 if (reader != null)
3382 {
3383 while (reader.Read())
3384 {
3385 Dictionary<string, string> relatedPagesProperties = new Dictionary<string, string>();
3386
3387 relatedPagesProperties.Add("Page", reader["Page"].ToString());
3388 relatedPagesProperties.Add("LinkExt", reader["LinkExt"].ToString());
3389 relatedPagesProperties.Add("Icon_Source", reader["Icon_Source"].ToString());
3390 relatedPagesProperties.Add("Name", reader["Name"].ToString());
3391 relatedPages.Add(relatedPagesProperties);
3392 }
3393 }
3394 }
3395 }
3396 }
3397
3398 return relatedPages;
3399 }
3400 }
3401 }
3402
3403 @if (otherFormatsProducts.Any() && !isASR && !isIVD)
3404 {
3405 var count = 0;
3406
3407 <div id="productOtherFormats" class="col-xs-12 col-sm-9 pull-right" data-thDescription='@Translate("Description", "Description")' data-thClone='@Translate("Clone", "Clone")' data-thAppllications='@Translate("Applications", "Applications")'>
3408 <h2 class="col-xs-12 noPadding">
3409 @Translate("OtherFormats", "Other Formats")
3410 </h2>
3411
3412 @foreach (var prod in otherFormatsProducts.GroupBy(prod => prod.Name).Select(prod => prod.First()))
3413 {
3414 @(count != 0 ? ", " : "")@prod.Name
3415 count++;
3416 }
3417
3418 </div>
3419 }
3420
3421 <dl class='@(str_productId.Equals("10801") ? "col-xs-12" : "col-xs-12") noPadding pdfImagesContainer'>
3422 @if (lst_images.Any())
3423 {
3424 <h2 class="col-xs-12 noPadding">
3425 @Translate("ProductData", "Product Data")
3426 </h2>
3427 <div class="col-xs-12">
3428
3429 @if (str_currentPageId != printPage)
3430 {
3431 foreach (var image1 in lst_images.OrderBy(x => x.Item2).ToList().Take(1))
3432 {
3433 string str_getimageImg = GetImage(image1.Item1.ToString(), 240, 300, 0, 0, 0, 0, "jpg", 90);
3434
3435 <div class="figure">
3436 <dt class="col-xs-8 noPaddingLeft textCenter">
3437 <img class="maxWidth" src="@str_getimageImg" alt="@image1.Item2.ToString()" title="@image1.Item2.ToString()"/>
3438 </dt>
3439 <dd class="col-xs-4 noPaddingRight">
3440 @image1.Item3.ToString()
3441 </dd>
3442 </div>
3443 }
3444
3445 <div id="imgThumbs" class="col-xs-3 noPadding pull-right">
3446 <ul>
3447 @foreach (var image in lst_images.OrderBy(x => x.Item2).ToList())
3448 {
3449 if (!String.IsNullOrWhiteSpace(image.Item1.ToString()))
3450 {
3451 var str_getimageImg = GetImage(image.Item1.ToString(), 0, 105, 0, 105, 0, 105, "jpg", 90, 5);
3452 var str_getimageDataImg = GetImage(image.Item1.ToString(), 240, 300, 0, 0, 0, 0, "jpg", 90);
3453 var liClass = lst_images.IndexOf(image) == 0 ? "active" : "";
3454
3455 <li class="@liClass">
3456 <div class="figure">
3457 <dt class="col-xs-8 noPaddingLeft textCenter">
3458 <img class="maxWidth" data-image="@str_getimageDataImg" src="@str_getimageImg" title="@image.Item2.ToString()" alt="@image.Item2.ToString()"/>
3459 </dt>
3460 @if (!string.IsNullOrWhiteSpace(image.Item3.ToString()))
3461 {
3462 <dd class="col-xs-4 noPaddingRight">
3463 @image.Item3.ToString()
3464 </dd>
3465 }
3466 </div>
3467 </li>
3468 }
3469 }
3470 </ul>
3471 </div>
3472 }
3473 </div>
3474
3475 if (str_currentPageId == printPage)
3476 {
3477 foreach (var image in lst_images.OrderBy(x => x.Item2).ToList())
3478 {
3479 if (!String.IsNullOrWhiteSpace(image.Item1.ToString()))
3480 {
3481 string str_getimageDataImg = GetImage(image.Item1.ToString(), 500, 300, 0, 0, 0, 0, "jpg", 90);
3482 <div class="col-xs-12 figure">
3483 <dt class="col-xs-8 noPaddingLeft textCenter">
3484 <img class="maxWidth" src="@str_getimageDataImg" title="@image.Item2" alt="@image.Item2"/>
3485 </dt>
3486 @if (!string.IsNullOrWhiteSpace(image.Item3.ToString()))
3487 {
3488 <dd class="col-xs-4 noPaddingRight">
3489 @image.Item3
3490 </dd>
3491 }
3492 </div>
3493 }
3494 }
3495 }
3496 }
3497
3498 @if(str_currentPageId == printPage && (isIVD || isASR))
3499 {
3500 <figure>
3501 <img class="glossary" src="@cdnStaticDomain/Files/Images/media_assets/products/Glossary-table-draft-V2.png" />
3502 </figure>
3503 }
3504 </dl>
3505 </div>
3506 </div>
3507
3508 <dl class="footerStatement col-xs-12">
3509 @CalculateFooterDisclaimer(str_footerDisclaimer,str_productRegulatoryStatus,str_productFormat);
3510
3511
3512 @itemArea["ProductFooterWarning"].ToString()
3513 </dl>
3514
3515 @SnippetStart("productName")
3516 @: @str_productName @(previousCompany.Any() && !isIVD && !isASR && !previouslyConcatName.Equals("") ? String.Format("({0})", previouslyConcatName) : "") @SnippetEnd("productName")
3517 }
3518 }
3519 catch (Exception ex)
3520 {
3521 <div id="errorMessagePDP" data-exception="@System.Web.HttpUtility.HtmlEncode(ex)">
3522 @Translate("errorRenderingTemplate", "There was an error rendering the product detail page. Please contact technical support.")
3523 </div>
3524 }
3525
3526 @functions {
3527
3528 public string GetApplicationsLabel(string applicationValues, Dictionary<string, string> applicationsData)
3529 {
3530 applicationValues = applicationValues.Replace("\"", "").Replace(",", ", ");
3531 return applicationValues;
3532 }
3533
3534 public Dictionary<string, string> GetFilterData(string fieldID)
3535 {
3536 //HttpContext.Current.Cache.Remove("applicationsDataCache_" + fieldID);
3537 var applicationCache = HttpContext.Current.Cache["applicationsDataCache_" + fieldID];
3538 var applicationsData = applicationCache as Dictionary<string, string> ?? new Dictionary<string, string>();
3539 if (applicationCache == null)
3540 {
3541 using (var connection = Dynamicweb.Data.Database.CreateConnection())
3542 {
3543 using (var command = connection.CreateCommand())
3544 {
3545 command.CommandText = "SELECT FieldOptionValue,FieldOptionName FROM EcomFieldOption WHERE FieldOptionFieldID=''+@fieldID+'' ORDER BY FieldOptionValue";
3546 command.Parameters.Add(new System.Data.SqlClient.SqlParameter()
3547 {
3548 ParameterName = "fieldID",
3549 SqlDbType = System.Data.SqlDbType.NVarChar,
3550 Value = fieldID
3551 });
3552 using (var reader = command.ExecuteReader())
3553 {
3554 if (reader != null)
3555 {
3556 while (reader.Read())
3557 {
3558 applicationsData.Add(reader["FieldOptionValue"].ToString(), reader["FieldOptionName"].ToString());
3559 }
3560 }
3561 }
3562 }
3563 }
3564 HttpContext.Current.Cache.Insert("applicationsDataCache_" + fieldID, applicationsData, null, DateTime.Now.AddMinutes(5), System.Web.Caching.Cache.NoSlidingExpiration);
3565 }
3566 return applicationsData;
3567 }
3568 }