Error executing template "Designs/randers-tegl/eCom/Product/dw9.rt-2.0.product.belaegning.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_1762fec8843d4595a5cd83e4781f7dcc.Execute() in E:\dynamicweb.net\Solutions\randerstegl.net.dynamicweb-cms.com\files\Templates\Designs\randers-tegl\eCom\Product\dw9.rt-2.0.product.belaegning.cshtml:line 145
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.<RunCompile>b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template)
   at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @{ string productFolder = "/Files/Images/products-v2/" + GetString("Ecom:Product.Number").Replace(" ", "").ToLower(); string backgroundImageUrl = ""; string productCategory = ""; if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath(productFolder + "/gallery_main.jpg"))) { backgroundImageUrl = productFolder + "/gallery_main.jpg"; } foreach (var pc in GetLoop("ProductCategories")) { productCategory = pc.GetString("Ecom:Product.Category.ID").ToLower(); } if (productCategory != "belaegning") { string link = ""; string currentUrl = GetGlobalValue("Global:Pageview.Url"); if (productCategory == "tagsten") { link = Pageview.Area.Item["TagstenProdukt_URL"].ToString().ToLower(); } if (productCategory == "mursten") { link = Pageview.Area.Item["MurstenProdukt_URL"].ToString().ToLower(); } link = link + currentUrl.Substring(currentUrl.LastIndexOf("/") + 1); System.Web.HttpContext.Current.Response.Status = "301 Moved Permanently"; System.Web.HttpContext.Current.Response.AddHeader("Location",link); } string searchpattern = @"gallery_\d{2}\.jpg"; string[] galleryImages = new string[0]; if (System.IO.Directory.Exists(System.Web.HttpContext.Current.Server.MapPath("~\\Files\\Images\\products-v2\\" + @GetString("Ecom:Product.Number").Replace(" ","").ToLower() + "\\"))) { galleryImages = System.IO.Directory.GetFiles(System.Web.HttpContext.Current.Server.MapPath("~\\Files\\Images\\products-v2\\" + @GetString("Ecom:Product.Number").Replace(" ","").ToLower() + "\\")).Where(path => System.Text.RegularExpressions.Regex.Match(path, searchpattern).Success).ToArray(); if (GetInteger("Ecom:Product:Area.ID") != 1) { string language = GetString("Ecom:Product:Area.Name").ToString().ToLower(); string languageBackgroundImageUrl = ""; if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath(productFolder + "/gallery_main_" + language + ".jpg"))) { backgroundImageUrl = productFolder + "/gallery_main_" + language +".jpg"; } string languageSearchpattern = "gallery_0*_" + language + ".jpg"; string[] languageGalleryImages = new string[0]; try { languageGalleryImages = System.IO.Directory.GetFiles(System.Web.HttpContext.Current.Server.MapPath("~\\Files\\Images\\products-v2\\" + @GetString("Ecom:Product.Number").Replace(" ","").ToLower() + "\\"), languageSearchpattern); } catch { } if (languageBackgroundImageUrl != "") { backgroundImageUrl = languageBackgroundImageUrl; } if (languageGalleryImages.Length > 0) { galleryImages = languageGalleryImages; } } } string stackImageUrl = ""; string fileName = "stack"; if (GetInteger("Ecom:Product:Area.ID") == 9) { fileName += "_de"; } fileName += ".png"; if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath(productFolder + "/" + fileName))) { stackImageUrl = productFolder + "/" + fileName; } string wallImageUrl = ""; string wallFileName = "wall"; if (GetInteger("Ecom:Product:Area.ID") == 9) { wallFileName += "_de"; } wallFileName += ".jpg"; if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath(productFolder + "/" + wallFileName))) { wallImageUrl = productFolder + "/" + wallFileName; } else if (GetInteger("Ecom:Product:Area.ID") == 9) { wallFileName = "wall.jpg"; if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath(productFolder + "/" + wallFileName))) { wallImageUrl = productFolder + "/" + wallFileName; } } bool greener = GetBoolean("Ecom:Product:Field.Greener"); bool sample = GetBoolean("Ecom:Product:Field.DisableSample"); } @SnippetStart("Schema") <script type="application/ld+json"> { "@@context": "http://schema.org", "@@type": "Product", @if (GetString("Ecom:Product.CategoryField.Belaegning.ProduktSerie.OptionLabel") != @GetString("Ecom:Product.Name")) { <text>"name": "@GetString("Ecom:Product.Number") @GetString("Ecom:Product.CategoryField.Belaegning.ProduktSerie.OptionLabel") @GetString("Ecom:Product.Name")",</text> } else { <text>"name": "@GetString("Ecom:Product.Number") @GetString("Ecom:Product.Name")",</text> } "description": "@System.Text.RegularExpressions.Regex.Replace(GetString("Ecom:Product.LongDescription"), "<[^>]*>", String.Empty).Replace("\r", "").Replace("\n", "").Replace("\t", "")", @if (wallImageUrl != "") { <text>"image": "@wallImageUrl",</text> } else { <text>"image": "@stackImageUrl",</text> } "color": "@GetString("Ecom:Product.CategoryField.Belaegning.ProduktFarve.Value")", "brand": "@Pageview.Area.Item["SchemaName"].ToString()" } </script> @SnippetEnd("Schema") <div class="product-buttons"> @if (galleryImages.Length > 0) { <button class="product-button product-button-gallery"><span class="text">@Translate("RT-2.0_Produkt_se_galleri")</span><span class="icon"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-gallery.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-gallery.svg"))</text> } </span></button> } @if (GetInteger("Ecom:Product:Area.ID") != 7) { <button class="product-button product-button-orange product-button-plus"> @if (!sample) { <span class="description"><span class="heading">@Translate("RT-2.0_FixedCTA_Header")</span> @Translate("RT-2.0_FixedCTA_Subheader") </span> } <span class="icon"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-plus.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-plus.svg"))</text> } </span></button><div class="extras"> @if (!sample && !string.IsNullOrWhiteSpace(Pageview.Page.PropertyItem["HubspotFormPage"].ToString())) { <a href='/Default.aspx?ID=@Pageview.Page.PropertyItem["HubspotFormPage"].ToString()&ProductID=@GetString("Ecom:Product.ID")' class="product-button product-button-small product-button-samples"><span class="text">@Translate("RT-2.0_FixedCTA_Bestil")</span><span class="icon"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-box.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-box.svg"))</text> } </span></a> } @if (!sample && !string.IsNullOrWhiteSpace(Pageview.Page.PropertyItem["ProduktPr_vekasseFormularAfsnit"].ToString())) { <button class="product-button product-button-small product-button-samples" data-target='modal-@Pageview.Page.PropertyItem["ProduktPr_vekasseFormularAfsnit"].ToString()'><span class="text">@Translate("RT-2.0_FixedCTA_Bestil")</span><span class="icon"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-box.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-box.svg"))</text> } </span></button> } <button class="product-button product-button-small product-button-phone"><span class="text"> @Translate("RT-2.0_FixedCTA_Ring") @if (GetInteger("Ecom:Product:Area.ID") == 1) { <a href="tel:+4598122844">98 12 28 44</a> } else if (GetInteger("Ecom:Product:Area.ID") == 8) { <a href="tel:+460406080300">040-608 03 00</a> } else if (GetInteger("Ecom:Product:Area.ID") == 9) { <a href="tel:+49419287930">+49(0)4192 87930</a> } else if (GetInteger("Ecom:Product:Area.ID") == 10) { <a href="tel:+4598122844">DK +45 98 12 28 44</a> } </span><span class="icon"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-phone.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-phone.svg"))</text> } </span></button><button class="product-button product-button-small product-button-question" data-target='modal-@Pageview.Page.PropertyItem["ProduktSp_rgsm_lsformularAfsnit"].ToString()'><span class="text">@Translate("RT-2.0_FixedCTA_Spoerg")</span><span class="icon"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-mail.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-mail.svg"))</text> } </span></button></div> } else { <button class="product-button product-button-orange product-button-contact" data-target='modal-@Pageview.Page.PropertyItem["ProduktSp_rgsm_lsformularAfsnit"].ToString()'><span class="description"><span class="heading">@Translate("RT-2.0_Har_du_spm_til_dette_produkt")</span><span class="link"><span class="arrow-link"><span> @if (System.IO.File.Exists(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")) @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_Spoerg_vores_eksperter") </span></span><span class="icon"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-contact.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-contact.svg"))</text> } </span><span class="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></button> } </div> @if (backgroundImageUrl != "") { <header id="header" class="wrap-fluid" data-product-number='@GetString("Ecom:Product.Number")'><div class="wrap-inner" @if (backgroundImageUrl != "") {<text>style="background-image: url(@backgroundImageUrl);"</text>}><div class="column-xxs-24"><h1> @GetString("Ecom:Product.Number") <br /><span><span>@GetString("Ecom:Product.Name")</span></span></h1> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-down.svg"))) { <span class="icon-arrow-down"> @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-down.svg")) @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-arrow-down.svg")) </span> } </div></div> @SnippetStart("NavigationBackground") <div class="navigation__background__image-wrap"><img class="navigation__background__image" data-src="@backgroundImageUrl" alt="" /></div> @SnippetEnd("NavigationBackground") </header><div id="product-gallery" class="wrap-fluid"><div class="wrap-inner"><div class="gallery-item js-active" style="background-image: url(@backgroundImageUrl);"></div> @for (var a = 0; a < galleryImages.Length; a++) { string path = galleryImages[a].Substring(galleryImages[a].IndexOf("\\files")).Replace("\\","/"); if (a == 0) { <div class="gallery-item" style="background-image: url(@path);"></div> } else { <div class="gallery-item" style="background-image: url(@path);"></div> } } </div> @if (galleryImages.Length > 0) { <a id="product-gallery-prev"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-gallery-arrow-left.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-gallery-arrow-left.svg"))</text> } </a><a id="product-gallery-next"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-gallery-arrow-right.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-gallery-arrow-right.svg"))</text> } </a> } <a class="icon icon-close" id="product-gallery-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> } </a><span class="icon-rotate"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-rotate.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-rotate.svg"))</text> } </span></div> } <section id="product-presentation" class="wrap-fluid"><div class="wrap-inner"><div class="column-xxs-24 column-md-12"><div class="wrap-inner"><div class="column-xxs-top-4 column-xxs-bottom-8 column-xxs-left-2 column-xxs-right-2 column-sm-trbl-2 column-md-left-1 column-md-right-1 column-xl-trbl-2"> @if (GetString("Ecom:Product.CategoryField.Belaegning.ProduktSerie.OptionLabel") != @GetString("Ecom:Product.Name")) { if (backgroundImageUrl != "") { <h1 class="header">@GetString("Ecom:Product.Number") @GetString("Ecom:Product.CategoryField.Belaegning.ProduktSerie.OptionLabel")</h1> } else { <span class="header">@GetString("Ecom:Product.Number") @GetString("Ecom:Product.CategoryField.Belaegning.ProduktSerie.OptionLabel")</span> } <h2>@GetString("Ecom:Product.Name")</h2> } else { if (backgroundImageUrl != "") { <h1 class="header">@GetString("Ecom:Product.Number")</h1> } else { <span class="header">@GetString("Ecom:Product.Number")</span> } <h2>@GetString("Ecom:Product.Name")</h2> } <div class="teaser-text"><p>@Translate("RT-2.0_BelaegningShop_Format") @GetString("Ecom:Product.ShortDescription").Replace("<p>","").Replace("</p>","")<br />&nbsp;<br /></p></div><div class="product-description"> @GetString("Ecom:Product.LongDescription") </div> @if (GetInteger("Ecom:Product:Area.ID") != 8 && GetInteger("Ecom:Product:Area.ID") != 7) { <div class="shop-info"> @{ double priceprm2 = Convert.ToDouble(GetString("Ecom:Product.Price.PriceWithVAT")) * Convert.ToDouble(GetString("Ecom:Product.CategoryField.Belaegning.ProduktAntalM2.Value")); string sPriceprm2 = priceprm2.ToString("0,0.00"); } <span class="price-info"><span>@Translate("RT-2.0_BelaegningShop_PrisPrM2")</span> @if (Pageview.Area.ID == 1 || Pageview.Area.ID == 9) { <span class="price">@sPriceprm2</span> } else { <span class="price">@GetString("Ecom:Product.Price.PriceWithVATFormatted")</span> } <small>@Translate("RT-2.0_BelaegningShop_PrisErInklMomsOgEksklFragt")</small></span><br /><span class="format-and-consumption"> @Translate("RT-2.0_BelaegningShop_ForbrugPrM2Ca") @GetString("Ecom:Product.CategoryField.Belaegning.ProduktForbrug.Value") @Translate("RT_2.0_BelaegningShop_ForbrugStk") </span> @if (GetInteger("Ecom:Product:Area.ID") == 1 /*|| GetInteger("Ecom:Product:Area.ID") == 9*/) { string shopBelaegningPageID = ""; if (GetInteger("Ecom:Product:Area.ID") == 1) { shopBelaegningPageID = "147"; } else if (GetInteger("Ecom:Product:Area.ID") == 9) { shopBelaegningPageID = "2346"; } <br /><a href='@("/Default.aspx?Id=")@shopBelaegningPageID@("&ProductID=")@GetString("Ecom:Product.ID")'><span class="arrow-link"><span> @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></span> @Translate("RT-2.0_BelaegningShop_KoebBelaegning") </a> } </div> } </div></div></div><div class="column-xxs-24 column-md-12 product-image"> @if (wallImageUrl != "") { <div class="product-image__wrap"> @{ string productImageTitle = GetString("Ecom:Product.Number") + " " + @GetString("Ecom:Product.CategoryField.Mursten.ProduktSerie.OptionLabel"); string wallLarge = "/admin/public/getimage.ashx?Image=" + wallImageUrl + "&width=595&compression=100"; string wallMedium = "/admin/public/getimage.ashx?Image=" + wallImageUrl + "&width=540&compression=100"; string wallSmall = "/admin/public/getimage.ashx?Image=" + wallImageUrl + "&width=851&compression=100"; string wallDefault = "/admin/public/getimage.ashx?Image=" + wallImageUrl + "&width=660&compression=100"; } <picture class="product-image__wrap-inner"><source srcset="@wallLarge" media="(min-width: 1500px)"><source srcset="@wallMedium" media="(min-width: 992px)"><source srcset="@wallSmall" media="(min-width: 768px)"><img src="@wallDefault" alt="." class="" loading="lazy"></picture></div> } </div></div></section> @if (backgroundImageUrl != "") { <section id="mobile-gallery" class="wrap-fluid"><div class="wrap-inner"><div class="image" @if (backgroundImageUrl != "") {<text>style="background-image: url(@backgroundImageUrl)"</text>}></div><a data-target="product-gallery-modal"><span class="icon icon-gallery"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-gallery.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-gallery.svg"))</text> } </span> @Translate("RT-2.0_Se_galleri") </a></div></section> } @if (greener) { @RenderSnippet("ProductGreener") } <section id="product-data" class="wrap-fluid"><div class="wrap-inner"><div class="data-wrap column-xxs-24 column-md-12"><div class="wrap-inner"><div class="column-xxs-24 column-xxs-top-2 column-xxs-bottom-2 column-xxs-left-2 column-xxs-right-2 column-md-trbl-2 column-lg-left-3 column-lg-right-3" data-target="recommendations"><span class="icon-plus"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-plus.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-plus.svg"))</text> } </span><span class="header">@Translate("RT-2.0_AnbefalingTilFugesand")</span><p>@GetString("Ecom:Product.CategoryField.Belaegning.Fugesand_teaser_tekst.Value.Clean")</p><a id="recommendations-info"><span class="arrow-link"><span> @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></span> @Translate("RT-2.0_LaesMereOmAnbefalingerTilFugesand") </a></div></div></div><div class="data-wrap column-xxs-24 column-md-12"><div class="wrap-inner"><div class="column-xxs-24 column-xxs-top-2 column-xxs-bottom-2 column-xxs-left-2 column-xxs-right-2 column-md-trbl-2 column-lg-left-3 column-lg-right-3" data-target="product-technical-data-download"><span class="icon-plus"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-plus.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-plus.svg"))</text> } </span><span class="header">@Translate("RT-2.0_TekniskDataDownload")</span><p>@Translate("RT-2.0_Teknisk_data_beskrivelse_belaegning")</p><a id="technical-data-and-download"><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_Find_datablade_links_og_downloads") </a></div></div></div></div></section> @if (greener) { @RenderSnippet("ProductStoryTop") } @SnippetStart("Modals") <div id="product-gallery-modal" class="product-modal"><div class="gallery-item js-active" style="background-image: url(@backgroundImageUrl);"></div> @for (var a = 0; a < galleryImages.Length; a++) { string path = galleryImages[a].Substring(galleryImages[a].IndexOf("\\files")).Replace("\\","/"); if (a == 0) { <div class="gallery-item js-next" style="background-image: url(@path);"></div> } else if (a == 1) { <div class="gallery-item js-prev" style="background-image: url(@path);"></div> } else { <div class="gallery-item" style="background-image: url(@path);"></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><span class="icon-rotate"> @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-rotate.svg"))) { <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/Files/Templates/Designs/randers-tegl/images-rt-2.0/icon-rotate.svg"))</text> } </span></div><div id="product-image-modal" class="product-modal" @if (wallImageUrl != "") {<text>style="background-image: url(@wallImageUrl)"</text>}><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><div id="recommendations" class="product-modal"><div class="column-xxs-20 column-md-14 column-lg-12 column-xl-10 column-xxl-8 column-xxs-top-6 column-xxs-left-2 column-md-top-2 column-md-left-5 column-lg-left-6 column-xl-left-7 column-xxl-left-8 column-xxs-top-2 column-xxs-bottom-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header">@Translate("RT-2.0_AnbefalingTilFugesand")</span></div><div class="content"> @GetString("Ecom:Product.CategoryField.Belaegning.Fugesand_beskrivelse.Value.Clean") </div></div></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><div id="product-technical-data-download" class="product-modal"><div class="column-xxs-22 column-lg-18 column-xxs-left-1 column-lg-left-3 column-xxs-top-6 column-xxs-bottom-2 column-md-top-2"><div class="wrap-inner"><div class="column-xxs-24"><span class="header">@Translate("RT-2.0_TekniskDataDownload")</span></div><div class="column-xxs-24 column-md-8"><ul><li><span class="subheader">@Translate("RT-2.0_TekniskDataDownloadDatablade")</span></li> @{ try { string[] files = System.IO.Directory.GetFiles(System.Web.HttpContext.Current.Server.MapPath("~\\files\\files\\varekatalog\\belaegning\\" + GetString("Ecom:Product.Number").Replace(" ", "-") + "\\datablade\\" + GetString("Ecom:Product:Area.Name"))); int counter = 0; foreach (string s in files) { string filepath = s.Substring(s.IndexOf("\\files"), s.Length - s.IndexOf("\\files")); string filename = filepath.Substring(filepath.IndexOf("datablade"), filepath.Length - filepath.IndexOf("datablade")); <li><a href="@filepath" target="_blank">Datenblatt herunterladen (@filename.Replace("datablade\\" + GetString("Ecom:Product:Area.Name") + "\\", "").Replace("-", " ").Replace("_", " ").Replace(".pdf", ""))</a></li> counter++; } } catch { } } </ul></div><div class="column-xxs-24 column-md-8"><ul><li><span class="subheader">@Translate("RT-2.0_ProduktRelevanteDownloads")</span></li> @GetString("Ecom:Product.CategoryField.Belaegning.ProduktRelevanteDownloads.Value.Clean").Replace("<ul>","").Replace("</ul>","") </ul></div><div class="column-xxs-24 column-md-8"><ul><li><span class="subheader">@Translate("RT-2.0_ProduktOvrigtLinks")</span></li> @GetString("Ecom:Product.CategoryField.Belaegning.ProduktOvrigtLinks.Value.Clean").Replace("<ul>","").Replace("</ul>","") </ul></div></div></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") @SnippetStart("JavascriptBottom") <script> var cl = setInterval(function() { if (document.readyState == 'complete' || document.readyState == 'loaded' || document.readyState == 'interactive') { clearInterval(cl); var referencetoolProductID = document.querySelector('#reference-tool input[name="ProduktID"]'); var referencetoolGroupID = document.querySelector('#reference-tool input[name="GruppeID"]'); var referencetoolProductNumber = document.querySelector('#reference-tool input[name="ProduktNr"]'); var referencetoolProductImage = document.querySelector('#reference-tool input[name="ProduktBillede"]'); if (referencetoolProductID != undefined) { referencetoolProductID.value = '@GetString("Ecom:Product.ID")'; } if (referencetoolGroupID != undefined) { referencetoolGroupID.value = '@GetString("Ecom:Product.PrimaryOrFirstGroupID")'; } if (referencetoolProductNumber != undefined) { referencetoolProductNumber.value = '@GetString("Ecom:Product.Number")'; } if (referencetoolProductImage != undefined) { referencetoolProductImage.value = '@GetString("Ecom:Product.ImageMedium.Default.Clean")'; } } },100); </script> @SnippetEnd("JavascriptBottom")
Pflaster

Außenflächen aus Ziegel

Der Ziegelbelag ist ein äußerst widerstandsfähiges Naturmaterial, das stilreine Außenbereiche wie Terrassen, Gartenwege und Einfahrten vollendet. Der Ziegelbelag erhält mit der Zeit eine hübsche Patina und ist so gut wie wartungsfrei.

Lassen Sie den Traum von einer neuen Terrasse wahr werden
Außenflächen
aus Ziegel.
Mauerziegel

Ein gesundes Raumklima

Ein komplett gemauertes Haus für das dynamische Familienleben und das raue Klima, da der Ziegel gegenüber anderen Baumaterialien einzigartige Vorteile hat. Ein gesundes Raumklima ist nur einer der Vorteile eines komplett gemauerten Zuhauses. Die Ziegel sorgen zu allen Jahreszeiten für ein angenehmes Raumklima, sind energiefreundlich und sehr widerstandsfähig.

Warum ist Wohlbefinden etwas, das man baut?
Ein gesundes
Raumklima
.