Exception in template (Designs/Dwsimple/Newsletter/Paragraph/Default.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.eadabefbcaca.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag)
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@{ string PImg = GetValue("ParagraphImageClean").ToString(); string PTxt = GetValue("ParagraphText").ToString(); var PMod = GetValue("ParagraphModule"); } <tr> <td align="center" style="padding: 30px 0px;" class="section-padding"> <!--[if (gte mso 9)|(IE)]> <table align="center" border="0" cellspacing="0" cellpadding="0" width="600"> <tr> <td align="center" valign="top" width="600"> <![endif]--> <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;" class="responsive-table"> <tbody> <tr> <td> <!-- HERO IMAGE --> <table width="100%" border="0" cellspacing="10" cellpadding="10"> <tbody> @if (!string.IsNullOrWhiteSpace(PImg)) { <tr> <td class="padding" align="center"> <img src="/Admin/Public/Getimage.ashx?width=560&height=450&compression=99&Crop=5&image=@PImg" width="580" height="420" border="0" alt="" style="display: block; color: #666666; font-family: Helvetica, arial, sans-serif; font-size: 14px;" class="img-max" /> </td> </tr> } <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tbody> @if (!string.IsNullOrWhiteSpace(PTxt)) { <tr> <td align="center" style="padding: 20px 0 0 0; font-size: 14px; line-height: 20px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding"> @PTxt </td> </tr> } <tr> <td align="center" style="padding: 20px 0 0 0; font-size: 14px; line-height: 20px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding"> @PMod </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <!--[if (gte mso 9)|(IE)]> </td> </tr> </table> <![endif]--> </td> </tr>
Webversion
Exception in template (Designs/Dwsimple/Newsletter/Paragraph/Default.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.eadabefbcaca.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag)
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@{ string PImg = GetValue("ParagraphImageClean").ToString(); string PTxt = GetValue("ParagraphText").ToString(); var PMod = GetValue("ParagraphModule"); } <tr> <td align="center" style="padding: 30px 0px;" class="section-padding"> <!--[if (gte mso 9)|(IE)]> <table align="center" border="0" cellspacing="0" cellpadding="0" width="600"> <tr> <td align="center" valign="top" width="600"> <![endif]--> <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;" class="responsive-table"> <tbody> <tr> <td> <!-- HERO IMAGE --> <table width="100%" border="0" cellspacing="10" cellpadding="10"> <tbody> @if (!string.IsNullOrWhiteSpace(PImg)) { <tr> <td class="padding" align="center"> <img src="/Admin/Public/Getimage.ashx?width=560&height=450&compression=99&Crop=5&image=@PImg" width="580" height="420" border="0" alt="" style="display: block; color: #666666; font-family: Helvetica, arial, sans-serif; font-size: 14px;" class="img-max" /> </td> </tr> } <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tbody> @if (!string.IsNullOrWhiteSpace(PTxt)) { <tr> <td align="center" style="padding: 20px 0 0 0; font-size: 14px; line-height: 20px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding"> @PTxt </td> </tr> } <tr> <td align="center" style="padding: 20px 0 0 0; font-size: 14px; line-height: 20px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding"> @PMod </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <!--[if (gte mso 9)|(IE)]> </td> </tr> </table> <![endif]--> </td> </tr>
blablabla
sdlkfj

LIND DNA ApS

Soeren Nymarks Vej 6E
8270 Aarhus
Denmark

Afmeld

Accept cookies from this site.

This website uses cookies to track your behavior and to improve your experience on the site.
You can always delete saved cookies by visiting the advanced settings of your browser