RT 889

Laumans Tiefa 2000TOP

The silk matte engobed roof has a watertight, strong surface that will not change colour even after many years on the roof - a roof completely without reflections, but with a natural play of colours between light and shadow. Tiefa XLVariabel is an exclusive roof tile, but at an extremely reasonable price, because there only 12.4-12.7 roof tiles are used per sq.m. A complete programme of engobed accessories is available.

Laumans is a German subsidiary of the Randers Tegl Group. For over a hundred years, Laumans has been synonymous with glazed and engobed roof tiles of a unique high quality. Laumans combines generations of attention to quality with innovative production methods. The result is a wide range of modern and exclusive roof tiles with strong glazings and engobes.

Rustique engobed interlocking roof tile

 

Order free samples

Price on request

Send an enquiry concerning a price

icon-arrow-right icon-arrow-right Contact
Exception in template (\Designs\randers-tegl\Paragraph\rt-2.0.product-action.cshtml): System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at CompiledRazorTemplates.Dynamic.cfcaff.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, DynamicViewBag viewBag, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@{ string productid = System.Web.HttpContext.Current.Request.QueryString.Get("ProductID"); Dynamicweb.Ecommerce.Products.Product p = Dynamicweb.Ecommerce.Services.Products.GetProductById(productid, "", false); string productname = p.Name; string productnumber = p.Number; string categoryName = p.Groups[0].Name.ToLower(); } <div class="column-xxs-12 column-md-8 column-xxs-top-1 column-xxs-bottom-1 column-sm-top-0 column-sm-bottom-0" id='@GetString("Item.ActionID")@("-action")'><div class="wrap-inner"> @{ bool islink = false; string link = ""; if (GetString("Item.Type") == "link") { islink = true; link = GetString("Item.Link"); bool hasparameter = false; if (GetBoolean("Item.IncludeRTNumberInURL")) { link += GetString("Item.URLParameterName") + "=" + productnumber.Replace(" ",""); hasparameter = true; } if (GetBoolean("Item.IsVisualizationToolLink")) { string brick = p.ProductFieldValues.GetProductFieldValue("VisualizationBrick").Value.ToString(); string groove = p.ProductFieldValues.GetProductFieldValue("VisualizationGroove").Value.ToString(); string linking = p.ProductFieldValues.GetProductFieldValue("VisualizationLinking").Value.ToString(); string paving = p.ProductFieldValues.GetProductFieldValue("VisualizationPaving").Value.ToString(); string roof = p.ProductFieldValues.GetProductFieldValue("VisualizationRoof").Value.ToString(); string house = p.ProductFieldValues.GetProductFieldValue("VisualizationHouse").Value.ToString(); string windows = p.ProductFieldValues.GetProductFieldValue("VisualizationWindows").Value.ToString(); string rnd = p.ProductFieldValues.GetProductFieldValue("VisualizationRnd").Value.ToString(); string viewmode = p.ProductFieldValues.GetProductFieldValue("VisualizationViewmode").Value.ToString(); if (categoryName == "mursten") { link += "#brick=" + productnumber.Replace(" ",""); } else if (!string.IsNullOrWhiteSpace(brick)) { link += "#brick=" + brick; } else { link += "#brick=RT522"; } if (!string.IsNullOrWhiteSpace(groove)) { link += "&groove=" + groove; } if (!string.IsNullOrWhiteSpace(linking)) { link += "&linking=" + linking; } if (!string.IsNullOrWhiteSpace(paving)) { link += "&paving=" + paving; } if (categoryName == "tagsten") { link += "&roof=" + productnumber.Replace(" ","_"); } else if (!string.IsNullOrWhiteSpace(roof)) { link += "&roof=" + roof; } if (!string.IsNullOrWhiteSpace(house)) { link += "&house=" + house; } else if (categoryName == "tagsten") { link += "&house=05"; } if (!string.IsNullOrWhiteSpace(windows)) { link += "&windows=" + windows; } if (!string.IsNullOrWhiteSpace(rnd)) { link += "&rnd=" + rnd; } if (!string.IsNullOrWhiteSpace(viewmode)) { link += "&viewmode=" + viewmode; } else { link += "&viewmode=house"; } } } string iconClass = GetString("Item.Icon"); iconClass = iconClass.Substring(iconClass.LastIndexOf("/") + 1); iconClass = iconClass.Replace(".svg",""); } @if (GetString("Item.Type") == "inline-form" || GetString("Item.Type") == "custom") { if (GetString("Item.Type") == "inline-form") { <a class="tablet-desktop-link" @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>} @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "False") {<text>href="mailto:@Translate("RT-2.0_Reference_mail_modtager")?subject=@productnumber - @Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_emne")&body=@Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_body")"</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2> @if (GetBoolean("Item.IsReferenceForm")) { if (p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") { <text>@RenderParagraphContent(GetInteger("Item.FormParagraph"))</text> } else { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @Translate("RT-2.0_Spørg_på_referenceadresser") </span> } } else { <text>@RenderParagraphContent(GetInteger("Item.FormParagraph"))</text> } </a><a class="mobile-link" @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") {<text>data-target='product-modal-@GetString("Item.Id")'</text>} @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "False") {<text>href="mailto:@Translate("RT-2.0_Reference_mail_modtager")?subject=@productnumber - @Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_emne")&body=@Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_body")"</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span> @if (GetBoolean("Item.IsReferenceForm")) { if (p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") { <h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> } else { <h2><span>@Translate("RT-2.0_Spørg_på_referenceadresser")</span></h2> } } else { <h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> } </a> @SnippetStart("Modals") <div id='product-modal-@GetString("Item.Id")' class="product-modal modal-light"><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header"> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></span></div></div></div><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5"> @RenderParagraphContent(GetInteger("Item.FormParagraph")) </div><span class="icon-close"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))</text> } </span></div> @SnippetEnd("Modals") } else { <a class="tablet-desktop-link" @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2><form action='/Default.aspx?Id=@GetString("Item.PostPage")' method="post"><div class="input-wrap"><input type="text" name='@GetString("Item.FieldName")' placeholder='@GetString("Item.FieldPlaceholder")' autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span></div></form></a><a class="mobile-link" data-target='product-modal-@GetString("Item.Id")'><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2></a> @SnippetStart("Modals") <div id='product-modal-@GetString("Item.Id")' class="product-modal modal-light"><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header"> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></span></div></div></div><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><form action='/Default.aspx?Id=@GetString("Item.PostPage")' method="post"><div class="input-wrap"><input type="text" name='@GetString("Item.FieldName")' placeholder='@GetString("Item.FieldPlaceholder")' autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span></div></form></div><span class="icon-close"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))</text> } </span></div> @SnippetEnd("Modals") } } else { <a @if(GetString("Item.Type") == "link") {<text>href=@link</text>} @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>} @if(GetString("Item.Type") == "modal-form") {<text>data-target='modal-@GetString("Item.ModalFormParagraph")'</text>} @(GetString("Item.ActionID") == "samples" ? "data-callback='hubspotLoad'" : null) @if (GetBoolean("Item.IsVisualizationToolLink")) {<text>target="_blank"</text>} @if (!string.IsNullOrWhiteSpace(GetString("Item.OpenTrackingCategory"))) {<text>data-open-tracking-category='@GetString("Item.OpenTrackingCategory")'</text>} @if (!string.IsNullOrWhiteSpace(GetString("Item.OpenTrackingAction"))) {<text>data-open-tracking-action='@GetString("Item.OpenTrackingAction")'</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2><h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> @if (GetString("Item.Type") == "link") { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @GetString("Item.LinkText") </span> } else if (GetString("Item.Type") == "modal-form") { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @GetString("Item.FormLinkText") </span> } </a> } </div></div>
Exception in template (\Designs\randers-tegl\Paragraph\rt-2.0.product-action.cshtml): System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at CompiledRazorTemplates.Dynamic.cfcaff.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, DynamicViewBag viewBag, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@{ string productid = System.Web.HttpContext.Current.Request.QueryString.Get("ProductID"); Dynamicweb.Ecommerce.Products.Product p = Dynamicweb.Ecommerce.Services.Products.GetProductById(productid, "", false); string productname = p.Name; string productnumber = p.Number; string categoryName = p.Groups[0].Name.ToLower(); } <div class="column-xxs-12 column-md-8 column-xxs-top-1 column-xxs-bottom-1 column-sm-top-0 column-sm-bottom-0" id='@GetString("Item.ActionID")@("-action")'><div class="wrap-inner"> @{ bool islink = false; string link = ""; if (GetString("Item.Type") == "link") { islink = true; link = GetString("Item.Link"); bool hasparameter = false; if (GetBoolean("Item.IncludeRTNumberInURL")) { link += GetString("Item.URLParameterName") + "=" + productnumber.Replace(" ",""); hasparameter = true; } if (GetBoolean("Item.IsVisualizationToolLink")) { string brick = p.ProductFieldValues.GetProductFieldValue("VisualizationBrick").Value.ToString(); string groove = p.ProductFieldValues.GetProductFieldValue("VisualizationGroove").Value.ToString(); string linking = p.ProductFieldValues.GetProductFieldValue("VisualizationLinking").Value.ToString(); string paving = p.ProductFieldValues.GetProductFieldValue("VisualizationPaving").Value.ToString(); string roof = p.ProductFieldValues.GetProductFieldValue("VisualizationRoof").Value.ToString(); string house = p.ProductFieldValues.GetProductFieldValue("VisualizationHouse").Value.ToString(); string windows = p.ProductFieldValues.GetProductFieldValue("VisualizationWindows").Value.ToString(); string rnd = p.ProductFieldValues.GetProductFieldValue("VisualizationRnd").Value.ToString(); string viewmode = p.ProductFieldValues.GetProductFieldValue("VisualizationViewmode").Value.ToString(); if (categoryName == "mursten") { link += "#brick=" + productnumber.Replace(" ",""); } else if (!string.IsNullOrWhiteSpace(brick)) { link += "#brick=" + brick; } else { link += "#brick=RT522"; } if (!string.IsNullOrWhiteSpace(groove)) { link += "&groove=" + groove; } if (!string.IsNullOrWhiteSpace(linking)) { link += "&linking=" + linking; } if (!string.IsNullOrWhiteSpace(paving)) { link += "&paving=" + paving; } if (categoryName == "tagsten") { link += "&roof=" + productnumber.Replace(" ","_"); } else if (!string.IsNullOrWhiteSpace(roof)) { link += "&roof=" + roof; } if (!string.IsNullOrWhiteSpace(house)) { link += "&house=" + house; } else if (categoryName == "tagsten") { link += "&house=05"; } if (!string.IsNullOrWhiteSpace(windows)) { link += "&windows=" + windows; } if (!string.IsNullOrWhiteSpace(rnd)) { link += "&rnd=" + rnd; } if (!string.IsNullOrWhiteSpace(viewmode)) { link += "&viewmode=" + viewmode; } else { link += "&viewmode=house"; } } } string iconClass = GetString("Item.Icon"); iconClass = iconClass.Substring(iconClass.LastIndexOf("/") + 1); iconClass = iconClass.Replace(".svg",""); } @if (GetString("Item.Type") == "inline-form" || GetString("Item.Type") == "custom") { if (GetString("Item.Type") == "inline-form") { <a class="tablet-desktop-link" @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>} @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "False") {<text>href="mailto:@Translate("RT-2.0_Reference_mail_modtager")?subject=@productnumber - @Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_emne")&body=@Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_body")"</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2> @if (GetBoolean("Item.IsReferenceForm")) { if (p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") { <text>@RenderParagraphContent(GetInteger("Item.FormParagraph"))</text> } else { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @Translate("RT-2.0_Spørg_på_referenceadresser") </span> } } else { <text>@RenderParagraphContent(GetInteger("Item.FormParagraph"))</text> } </a><a class="mobile-link" @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") {<text>data-target='product-modal-@GetString("Item.Id")'</text>} @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "False") {<text>href="mailto:@Translate("RT-2.0_Reference_mail_modtager")?subject=@productnumber - @Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_emne")&body=@Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_body")"</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span> @if (GetBoolean("Item.IsReferenceForm")) { if (p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") { <h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> } else { <h2><span>@Translate("RT-2.0_Spørg_på_referenceadresser")</span></h2> } } else { <h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> } </a> @SnippetStart("Modals") <div id='product-modal-@GetString("Item.Id")' class="product-modal modal-light"><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header"> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></span></div></div></div><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5"> @RenderParagraphContent(GetInteger("Item.FormParagraph")) </div><span class="icon-close"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))</text> } </span></div> @SnippetEnd("Modals") } else { <a class="tablet-desktop-link" @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2><form action='/Default.aspx?Id=@GetString("Item.PostPage")' method="post"><div class="input-wrap"><input type="text" name='@GetString("Item.FieldName")' placeholder='@GetString("Item.FieldPlaceholder")' autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span></div></form></a><a class="mobile-link" data-target='product-modal-@GetString("Item.Id")'><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2></a> @SnippetStart("Modals") <div id='product-modal-@GetString("Item.Id")' class="product-modal modal-light"><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header"> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></span></div></div></div><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><form action='/Default.aspx?Id=@GetString("Item.PostPage")' method="post"><div class="input-wrap"><input type="text" name='@GetString("Item.FieldName")' placeholder='@GetString("Item.FieldPlaceholder")' autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span></div></form></div><span class="icon-close"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))</text> } </span></div> @SnippetEnd("Modals") } } else { <a @if(GetString("Item.Type") == "link") {<text>href=@link</text>} @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>} @if(GetString("Item.Type") == "modal-form") {<text>data-target='modal-@GetString("Item.ModalFormParagraph")'</text>} @(GetString("Item.ActionID") == "samples" ? "data-callback='hubspotLoad'" : null) @if (GetBoolean("Item.IsVisualizationToolLink")) {<text>target="_blank"</text>} @if (!string.IsNullOrWhiteSpace(GetString("Item.OpenTrackingCategory"))) {<text>data-open-tracking-category='@GetString("Item.OpenTrackingCategory")'</text>} @if (!string.IsNullOrWhiteSpace(GetString("Item.OpenTrackingAction"))) {<text>data-open-tracking-action='@GetString("Item.OpenTrackingAction")'</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2><h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> @if (GetString("Item.Type") == "link") { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @GetString("Item.LinkText") </span> } else if (GetString("Item.Type") == "modal-form") { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @GetString("Item.FormLinkText") </span> } </a> } </div></div>
Exception in template (\Designs\randers-tegl\Paragraph\rt-2.0.product-action.cshtml): System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at CompiledRazorTemplates.Dynamic.cfcaff.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, DynamicViewBag viewBag, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@{ string productid = System.Web.HttpContext.Current.Request.QueryString.Get("ProductID"); Dynamicweb.Ecommerce.Products.Product p = Dynamicweb.Ecommerce.Services.Products.GetProductById(productid, "", false); string productname = p.Name; string productnumber = p.Number; string categoryName = p.Groups[0].Name.ToLower(); } <div class="column-xxs-12 column-md-8 column-xxs-top-1 column-xxs-bottom-1 column-sm-top-0 column-sm-bottom-0" id='@GetString("Item.ActionID")@("-action")'><div class="wrap-inner"> @{ bool islink = false; string link = ""; if (GetString("Item.Type") == "link") { islink = true; link = GetString("Item.Link"); bool hasparameter = false; if (GetBoolean("Item.IncludeRTNumberInURL")) { link += GetString("Item.URLParameterName") + "=" + productnumber.Replace(" ",""); hasparameter = true; } if (GetBoolean("Item.IsVisualizationToolLink")) { string brick = p.ProductFieldValues.GetProductFieldValue("VisualizationBrick").Value.ToString(); string groove = p.ProductFieldValues.GetProductFieldValue("VisualizationGroove").Value.ToString(); string linking = p.ProductFieldValues.GetProductFieldValue("VisualizationLinking").Value.ToString(); string paving = p.ProductFieldValues.GetProductFieldValue("VisualizationPaving").Value.ToString(); string roof = p.ProductFieldValues.GetProductFieldValue("VisualizationRoof").Value.ToString(); string house = p.ProductFieldValues.GetProductFieldValue("VisualizationHouse").Value.ToString(); string windows = p.ProductFieldValues.GetProductFieldValue("VisualizationWindows").Value.ToString(); string rnd = p.ProductFieldValues.GetProductFieldValue("VisualizationRnd").Value.ToString(); string viewmode = p.ProductFieldValues.GetProductFieldValue("VisualizationViewmode").Value.ToString(); if (categoryName == "mursten") { link += "#brick=" + productnumber.Replace(" ",""); } else if (!string.IsNullOrWhiteSpace(brick)) { link += "#brick=" + brick; } else { link += "#brick=RT522"; } if (!string.IsNullOrWhiteSpace(groove)) { link += "&groove=" + groove; } if (!string.IsNullOrWhiteSpace(linking)) { link += "&linking=" + linking; } if (!string.IsNullOrWhiteSpace(paving)) { link += "&paving=" + paving; } if (categoryName == "tagsten") { link += "&roof=" + productnumber.Replace(" ","_"); } else if (!string.IsNullOrWhiteSpace(roof)) { link += "&roof=" + roof; } if (!string.IsNullOrWhiteSpace(house)) { link += "&house=" + house; } else if (categoryName == "tagsten") { link += "&house=05"; } if (!string.IsNullOrWhiteSpace(windows)) { link += "&windows=" + windows; } if (!string.IsNullOrWhiteSpace(rnd)) { link += "&rnd=" + rnd; } if (!string.IsNullOrWhiteSpace(viewmode)) { link += "&viewmode=" + viewmode; } else { link += "&viewmode=house"; } } } string iconClass = GetString("Item.Icon"); iconClass = iconClass.Substring(iconClass.LastIndexOf("/") + 1); iconClass = iconClass.Replace(".svg",""); } @if (GetString("Item.Type") == "inline-form" || GetString("Item.Type") == "custom") { if (GetString("Item.Type") == "inline-form") { <a class="tablet-desktop-link" @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>} @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "False") {<text>href="mailto:@Translate("RT-2.0_Reference_mail_modtager")?subject=@productnumber - @Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_emne")&body=@Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_body")"</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2> @if (GetBoolean("Item.IsReferenceForm")) { if (p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") { <text>@RenderParagraphContent(GetInteger("Item.FormParagraph"))</text> } else { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @Translate("RT-2.0_Spørg_på_referenceadresser") </span> } } else { <text>@RenderParagraphContent(GetInteger("Item.FormParagraph"))</text> } </a><a class="mobile-link" @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") {<text>data-target='product-modal-@GetString("Item.Id")'</text>} @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "False") {<text>href="mailto:@Translate("RT-2.0_Reference_mail_modtager")?subject=@productnumber - @Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_emne")&body=@Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_body")"</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span> @if (GetBoolean("Item.IsReferenceForm")) { if (p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") { <h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> } else { <h2><span>@Translate("RT-2.0_Spørg_på_referenceadresser")</span></h2> } } else { <h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> } </a> @SnippetStart("Modals") <div id='product-modal-@GetString("Item.Id")' class="product-modal modal-light"><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header"> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></span></div></div></div><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5"> @RenderParagraphContent(GetInteger("Item.FormParagraph")) </div><span class="icon-close"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))</text> } </span></div> @SnippetEnd("Modals") } else { <a class="tablet-desktop-link" @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2><form action='/Default.aspx?Id=@GetString("Item.PostPage")' method="post"><div class="input-wrap"><input type="text" name='@GetString("Item.FieldName")' placeholder='@GetString("Item.FieldPlaceholder")' autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span></div></form></a><a class="mobile-link" data-target='product-modal-@GetString("Item.Id")'><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2></a> @SnippetStart("Modals") <div id='product-modal-@GetString("Item.Id")' class="product-modal modal-light"><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header"> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></span></div></div></div><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><form action='/Default.aspx?Id=@GetString("Item.PostPage")' method="post"><div class="input-wrap"><input type="text" name='@GetString("Item.FieldName")' placeholder='@GetString("Item.FieldPlaceholder")' autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span></div></form></div><span class="icon-close"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))</text> } </span></div> @SnippetEnd("Modals") } } else { <a @if(GetString("Item.Type") == "link") {<text>href=@link</text>} @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>} @if(GetString("Item.Type") == "modal-form") {<text>data-target='modal-@GetString("Item.ModalFormParagraph")'</text>} @(GetString("Item.ActionID") == "samples" ? "data-callback='hubspotLoad'" : null) @if (GetBoolean("Item.IsVisualizationToolLink")) {<text>target="_blank"</text>} @if (!string.IsNullOrWhiteSpace(GetString("Item.OpenTrackingCategory"))) {<text>data-open-tracking-category='@GetString("Item.OpenTrackingCategory")'</text>} @if (!string.IsNullOrWhiteSpace(GetString("Item.OpenTrackingAction"))) {<text>data-open-tracking-action='@GetString("Item.OpenTrackingAction")'</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2><h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> @if (GetString("Item.Type") == "link") { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @GetString("Item.LinkText") </span> } else if (GetString("Item.Type") == "modal-form") { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @GetString("Item.FormLinkText") </span> } </a> } </div></div>
Exception in template (\Designs\randers-tegl\Paragraph\rt-2.0.product-action.cshtml): System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at CompiledRazorTemplates.Dynamic.cfcaff.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, DynamicViewBag viewBag, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@{ string productid = System.Web.HttpContext.Current.Request.QueryString.Get("ProductID"); Dynamicweb.Ecommerce.Products.Product p = Dynamicweb.Ecommerce.Services.Products.GetProductById(productid, "", false); string productname = p.Name; string productnumber = p.Number; string categoryName = p.Groups[0].Name.ToLower(); } <div class="column-xxs-12 column-md-8 column-xxs-top-1 column-xxs-bottom-1 column-sm-top-0 column-sm-bottom-0" id='@GetString("Item.ActionID")@("-action")'><div class="wrap-inner"> @{ bool islink = false; string link = ""; if (GetString("Item.Type") == "link") { islink = true; link = GetString("Item.Link"); bool hasparameter = false; if (GetBoolean("Item.IncludeRTNumberInURL")) { link += GetString("Item.URLParameterName") + "=" + productnumber.Replace(" ",""); hasparameter = true; } if (GetBoolean("Item.IsVisualizationToolLink")) { string brick = p.ProductFieldValues.GetProductFieldValue("VisualizationBrick").Value.ToString(); string groove = p.ProductFieldValues.GetProductFieldValue("VisualizationGroove").Value.ToString(); string linking = p.ProductFieldValues.GetProductFieldValue("VisualizationLinking").Value.ToString(); string paving = p.ProductFieldValues.GetProductFieldValue("VisualizationPaving").Value.ToString(); string roof = p.ProductFieldValues.GetProductFieldValue("VisualizationRoof").Value.ToString(); string house = p.ProductFieldValues.GetProductFieldValue("VisualizationHouse").Value.ToString(); string windows = p.ProductFieldValues.GetProductFieldValue("VisualizationWindows").Value.ToString(); string rnd = p.ProductFieldValues.GetProductFieldValue("VisualizationRnd").Value.ToString(); string viewmode = p.ProductFieldValues.GetProductFieldValue("VisualizationViewmode").Value.ToString(); if (categoryName == "mursten") { link += "#brick=" + productnumber.Replace(" ",""); } else if (!string.IsNullOrWhiteSpace(brick)) { link += "#brick=" + brick; } else { link += "#brick=RT522"; } if (!string.IsNullOrWhiteSpace(groove)) { link += "&groove=" + groove; } if (!string.IsNullOrWhiteSpace(linking)) { link += "&linking=" + linking; } if (!string.IsNullOrWhiteSpace(paving)) { link += "&paving=" + paving; } if (categoryName == "tagsten") { link += "&roof=" + productnumber.Replace(" ","_"); } else if (!string.IsNullOrWhiteSpace(roof)) { link += "&roof=" + roof; } if (!string.IsNullOrWhiteSpace(house)) { link += "&house=" + house; } else if (categoryName == "tagsten") { link += "&house=05"; } if (!string.IsNullOrWhiteSpace(windows)) { link += "&windows=" + windows; } if (!string.IsNullOrWhiteSpace(rnd)) { link += "&rnd=" + rnd; } if (!string.IsNullOrWhiteSpace(viewmode)) { link += "&viewmode=" + viewmode; } else { link += "&viewmode=house"; } } } string iconClass = GetString("Item.Icon"); iconClass = iconClass.Substring(iconClass.LastIndexOf("/") + 1); iconClass = iconClass.Replace(".svg",""); } @if (GetString("Item.Type") == "inline-form" || GetString("Item.Type") == "custom") { if (GetString("Item.Type") == "inline-form") { <a class="tablet-desktop-link" @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>} @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "False") {<text>href="mailto:@Translate("RT-2.0_Reference_mail_modtager")?subject=@productnumber - @Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_emne")&body=@Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_body")"</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2> @if (GetBoolean("Item.IsReferenceForm")) { if (p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") { <text>@RenderParagraphContent(GetInteger("Item.FormParagraph"))</text> } else { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @Translate("RT-2.0_Spørg_på_referenceadresser") </span> } } else { <text>@RenderParagraphContent(GetInteger("Item.FormParagraph"))</text> } </a><a class="mobile-link" @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") {<text>data-target='product-modal-@GetString("Item.Id")'</text>} @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "False") {<text>href="mailto:@Translate("RT-2.0_Reference_mail_modtager")?subject=@productnumber - @Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_emne")&body=@Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_body")"</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span> @if (GetBoolean("Item.IsReferenceForm")) { if (p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") { <h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> } else { <h2><span>@Translate("RT-2.0_Spørg_på_referenceadresser")</span></h2> } } else { <h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> } </a> @SnippetStart("Modals") <div id='product-modal-@GetString("Item.Id")' class="product-modal modal-light"><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header"> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></span></div></div></div><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5"> @RenderParagraphContent(GetInteger("Item.FormParagraph")) </div><span class="icon-close"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))</text> } </span></div> @SnippetEnd("Modals") } else { <a class="tablet-desktop-link" @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2><form action='/Default.aspx?Id=@GetString("Item.PostPage")' method="post"><div class="input-wrap"><input type="text" name='@GetString("Item.FieldName")' placeholder='@GetString("Item.FieldPlaceholder")' autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span></div></form></a><a class="mobile-link" data-target='product-modal-@GetString("Item.Id")'><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2></a> @SnippetStart("Modals") <div id='product-modal-@GetString("Item.Id")' class="product-modal modal-light"><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header"> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></span></div></div></div><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><form action='/Default.aspx?Id=@GetString("Item.PostPage")' method="post"><div class="input-wrap"><input type="text" name='@GetString("Item.FieldName")' placeholder='@GetString("Item.FieldPlaceholder")' autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span></div></form></div><span class="icon-close"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))</text> } </span></div> @SnippetEnd("Modals") } } else { <a @if(GetString("Item.Type") == "link") {<text>href=@link</text>} @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>} @if(GetString("Item.Type") == "modal-form") {<text>data-target='modal-@GetString("Item.ModalFormParagraph")'</text>} @(GetString("Item.ActionID") == "samples" ? "data-callback='hubspotLoad'" : null) @if (GetBoolean("Item.IsVisualizationToolLink")) {<text>target="_blank"</text>} @if (!string.IsNullOrWhiteSpace(GetString("Item.OpenTrackingCategory"))) {<text>data-open-tracking-category='@GetString("Item.OpenTrackingCategory")'</text>} @if (!string.IsNullOrWhiteSpace(GetString("Item.OpenTrackingAction"))) {<text>data-open-tracking-action='@GetString("Item.OpenTrackingAction")'</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2><h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> @if (GetString("Item.Type") == "link") { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @GetString("Item.LinkText") </span> } else if (GetString("Item.Type") == "modal-form") { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @GetString("Item.FormLinkText") </span> } </a> } </div></div>
Exception in template (\Designs\randers-tegl\Paragraph\rt-2.0.product-action.cshtml): System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at CompiledRazorTemplates.Dynamic.cfcaff.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, DynamicViewBag viewBag, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@{ string productid = System.Web.HttpContext.Current.Request.QueryString.Get("ProductID"); Dynamicweb.Ecommerce.Products.Product p = Dynamicweb.Ecommerce.Services.Products.GetProductById(productid, "", false); string productname = p.Name; string productnumber = p.Number; string categoryName = p.Groups[0].Name.ToLower(); } <div class="column-xxs-12 column-md-8 column-xxs-top-1 column-xxs-bottom-1 column-sm-top-0 column-sm-bottom-0" id='@GetString("Item.ActionID")@("-action")'><div class="wrap-inner"> @{ bool islink = false; string link = ""; if (GetString("Item.Type") == "link") { islink = true; link = GetString("Item.Link"); bool hasparameter = false; if (GetBoolean("Item.IncludeRTNumberInURL")) { link += GetString("Item.URLParameterName") + "=" + productnumber.Replace(" ",""); hasparameter = true; } if (GetBoolean("Item.IsVisualizationToolLink")) { string brick = p.ProductFieldValues.GetProductFieldValue("VisualizationBrick").Value.ToString(); string groove = p.ProductFieldValues.GetProductFieldValue("VisualizationGroove").Value.ToString(); string linking = p.ProductFieldValues.GetProductFieldValue("VisualizationLinking").Value.ToString(); string paving = p.ProductFieldValues.GetProductFieldValue("VisualizationPaving").Value.ToString(); string roof = p.ProductFieldValues.GetProductFieldValue("VisualizationRoof").Value.ToString(); string house = p.ProductFieldValues.GetProductFieldValue("VisualizationHouse").Value.ToString(); string windows = p.ProductFieldValues.GetProductFieldValue("VisualizationWindows").Value.ToString(); string rnd = p.ProductFieldValues.GetProductFieldValue("VisualizationRnd").Value.ToString(); string viewmode = p.ProductFieldValues.GetProductFieldValue("VisualizationViewmode").Value.ToString(); if (categoryName == "mursten") { link += "#brick=" + productnumber.Replace(" ",""); } else if (!string.IsNullOrWhiteSpace(brick)) { link += "#brick=" + brick; } else { link += "#brick=RT522"; } if (!string.IsNullOrWhiteSpace(groove)) { link += "&groove=" + groove; } if (!string.IsNullOrWhiteSpace(linking)) { link += "&linking=" + linking; } if (!string.IsNullOrWhiteSpace(paving)) { link += "&paving=" + paving; } if (categoryName == "tagsten") { link += "&roof=" + productnumber.Replace(" ","_"); } else if (!string.IsNullOrWhiteSpace(roof)) { link += "&roof=" + roof; } if (!string.IsNullOrWhiteSpace(house)) { link += "&house=" + house; } else if (categoryName == "tagsten") { link += "&house=05"; } if (!string.IsNullOrWhiteSpace(windows)) { link += "&windows=" + windows; } if (!string.IsNullOrWhiteSpace(rnd)) { link += "&rnd=" + rnd; } if (!string.IsNullOrWhiteSpace(viewmode)) { link += "&viewmode=" + viewmode; } else { link += "&viewmode=house"; } } } string iconClass = GetString("Item.Icon"); iconClass = iconClass.Substring(iconClass.LastIndexOf("/") + 1); iconClass = iconClass.Replace(".svg",""); } @if (GetString("Item.Type") == "inline-form" || GetString("Item.Type") == "custom") { if (GetString("Item.Type") == "inline-form") { <a class="tablet-desktop-link" @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>} @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "False") {<text>href="mailto:@Translate("RT-2.0_Reference_mail_modtager")?subject=@productnumber - @Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_emne")&body=@Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_body")"</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2> @if (GetBoolean("Item.IsReferenceForm")) { if (p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") { <text>@RenderParagraphContent(GetInteger("Item.FormParagraph"))</text> } else { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @Translate("RT-2.0_Spørg_på_referenceadresser") </span> } } else { <text>@RenderParagraphContent(GetInteger("Item.FormParagraph"))</text> } </a><a class="mobile-link" @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") {<text>data-target='product-modal-@GetString("Item.Id")'</text>} @if (GetBoolean("Item.IsReferenceForm") && p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "False") {<text>href="mailto:@Translate("RT-2.0_Reference_mail_modtager")?subject=@productnumber - @Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_emne")&body=@Translate("RT-2.0_Forespørgsel_på_referenceadresse_mail_body")"</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span> @if (GetBoolean("Item.IsReferenceForm")) { if (p.ProductFieldValues.GetProductFieldValue("ShowNewReferenceTool").Value.ToString() == "True") { <h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> } else { <h2><span>@Translate("RT-2.0_Spørg_på_referenceadresser")</span></h2> } } else { <h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> } </a> @SnippetStart("Modals") <div id='product-modal-@GetString("Item.Id")' class="product-modal modal-light"><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header"> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></span></div></div></div><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5"> @RenderParagraphContent(GetInteger("Item.FormParagraph")) </div><span class="icon-close"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))</text> } </span></div> @SnippetEnd("Modals") } else { <a class="tablet-desktop-link" @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2><form action='/Default.aspx?Id=@GetString("Item.PostPage")' method="post"><div class="input-wrap"><input type="text" name='@GetString("Item.FieldName")' placeholder='@GetString("Item.FieldPlaceholder")' autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span></div></form></a><a class="mobile-link" data-target='product-modal-@GetString("Item.Id")'><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2></a> @SnippetStart("Modals") <div id='product-modal-@GetString("Item.Id")' class="product-modal modal-light"><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header"> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></span></div></div></div><div class="column-xxs-22 column-lg-18 column-xl-14 column-xxs-left-1 column-lg-left-3 column-xl-left-5 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><form action='/Default.aspx?Id=@GetString("Item.PostPage")' method="post"><div class="input-wrap"><input type="text" name='@GetString("Item.FieldName")' placeholder='@GetString("Item.FieldPlaceholder")' autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span></div></form></div><span class="icon-close"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-close.svg"))</text> } </span></div> @SnippetEnd("Modals") } } else { <a @if(GetString("Item.Type") == "link") {<text>href=@link</text>} @if(!string.IsNullOrWhiteSpace(GetString("Item.LinkTitle"))) {<text>title='@GetString("Item.LinkTitle")'</text>} @if(GetString("Item.Type") == "modal-form") {<text>data-target='modal-@GetString("Item.ModalFormParagraph")'</text>} @(GetString("Item.ActionID") == "samples" ? "data-callback='hubspotLoad'" : null) @if (GetBoolean("Item.IsVisualizationToolLink")) {<text>target="_blank"</text>} @if (!string.IsNullOrWhiteSpace(GetString("Item.OpenTrackingCategory"))) {<text>data-open-tracking-category='@GetString("Item.OpenTrackingCategory")'</text>} @if (!string.IsNullOrWhiteSpace(GetString("Item.OpenTrackingAction"))) {<text>data-open-tracking-action='@GetString("Item.OpenTrackingAction")'</text>}><span class='icon @iconClass'> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath(GetString("Item.Icon"))) </span><h2> @GetString("Item.Header").Replace("[RTXXX]",@productnumber) <span>@GetString("Item.Subheader").Replace("[RTXXX]",@productnumber)</span></h2><h2><span>@GetString("Item.MobileHeader").Replace("[RTXXX]",@productnumber)</span></h2> @if (GetString("Item.Type") == "link") { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @GetString("Item.LinkText") </span> } else if (GetString("Item.Type") == "modal-form") { <span><span class="arrow-link"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg"))) { <span> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-right.svg")) </span> } </span> @GetString("Item.FormLinkText") </span> } </a> } </div></div>
Frost guaranteed

Testet by theScandinavian climate

Our roof tiles are hard burnt and extremely resistant, so they withstand even the toughest winter cold. We call it frost guarantee.

Wall bricks

Brick-built dwellings

The modern single-family home is brick-built. Buildings in brick are robust and are ideal for the Scandinavian climate because brick has properties unlike any other building materials. Brick-built dwellings have a healthy indoor climate, are energy-efficient and last for generations.

icon-arrow-right icon-arrow-right See why well-being is something you build

The value of the roof in the long term

Tile has by far the greatest durability and lasts twice as long as the cheapest types of roof. A new roof in tile is more expensive, but actually represents the cheapest solution in the long term. This model illustrates the development in value of a 200 m2 roof over a period of 80 years.

0 y10 y 0 eur -10.000 eur -15.000 eur -20.000 eur -25.000 eur 20.000 eur 20.000 eur 15.000 eur 10.000 eur20 y30 y40 y50 y60 y70 y80 yClay roof tilesConcrete roof tilesRoofing feltFibre cement
Prices & delivery
Technical data & download
  • Data sheets
  • Downloads
  • Others / links