Dan is JongKWPN vast en zeker iets voor jou! JongKWPN biedt een gevarieerd programma.
Word nu lidError executing template "/Designs/Kwpn/Paragraph/FooterSponsorLogos.cshtml" System.IO.IOException: The process cannot access the file 'D:\inetpub\wwwroot\www.kwpn.nl\Files\Templates\Designs\Kwpn\Translations.xml' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Dynamicweb.Rendering.Translation.Source.WriteDocument(XmlDocument document) at Dynamicweb.Rendering.Translation.Source.Save() at Dynamicweb.Rendering.Translation.Source.UpdateTranslationSource(Source source, IEnumerable`1 newKeys, String designName, IEnumerable`1 cultures) at Dynamicweb.Rendering.Template.TranslateText(String text, String defaultValue, String cultureName) at Dynamicweb.Rendering.TemplateBase`1.Translate(String text, String defaultValue) at CompiledRazorTemplates.Dynamic.RazorEngine_a87e792bfc38406986a3463efe76cec9.Execute() in D:\inetpub\wwwroot\www.kwpn.nl\Files\Templates\Designs\Kwpn\Paragraph\FooterSponsorLogos.cshtml:line 11 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 @using Kwpn.Repository.Helpers 2 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 3 @{ 4 var logos = ItemHelper.GetPartnerLogos(GetGlobalValue("Global:Area.LongLang"), true); 5 if (logos != null && logos.Any()) 6 { 7 var carouselId = $"carousel-official-sponsors-{GetInteger("Global.ParagraphId").ToString()}"; 8 var carouselItemCount = 0; 9 var carouselInterval = 3500; 10 11 <h3 class="pull-left">@Translate("Sponsors", "Sponsors")</h3> 12 <br style="clear: both;" /> 13 14 <div id="@carouselId" class="carousel carousel-multi slide" data-ride="carousel" data-type="multi" data-interval="@carouselInterval"> 15 <div class="carousel-inner"> 16 @foreach (var logo in logos) 17 { 18 <div class="item @(carouselItemCount == 0 ? "active" : "")"> 19 <div class="carousel-col"> 20 <div class="block"> 21 <a href="@logo.PartnerUrl" target="_blank" title='@logo.PartnerName.JsEncode()'> 22 <img src='@logo.PartnerLogo' /> 23 </a> 24 </div> 25 </div> 26 </div> 27 carouselItemCount++; 28 } 29 </div> 30 </div> 31 @SnippetStart("JavascriptsBottom") 32 <script> 33 $(function () { 34 CarouselHelper.Initiate('@carouselId'); 35 }); 36 </script> 37 @SnippetEnd("JavascriptsBottom") 38 } 39 }
Wij vragen uw akkoord voor het gebruik van cookies op onze website. Meer informatie is beschikbaar in ons cookiebeleid.