Speaker info - Water & Energy

Indlægsholder information / Speaker information

KÆRE INDLÆGSHOLDER 

Vi er glade for, at du vil holde indlæg på Water & Energy Stage - HI Tech & Industry Scandinavia, og vi glæder os til at byde dig velkommen. 

FORMULAR
Vi markedsfører dit indlæg, hvorfor vi gerne vil bede dig om at udfylde formularen til højre. 

PRAKTISK INFOMAIL
Når vi nærmer os HI-messen, vil du modtage en praktisk info-mail, med informationer om tid, sted, parkering mv. 

DEAR SPEAKER 

We are pleased that you will give a presentation at Water & Energy Stage - HI Tech & Industry Scandinavia, and we look forward to welcoming you. 

FORM
We will market your presentation, so we would like you to fill out the form to the right.

PRACTICAL INFOMAIL
You will receive a practical info-mail with further information regarding time, place, parking, etc. when we approach the expo. 

Error executing template "Designs/exhibition_site/Forms/Form/espresso.cshtml"
System.IO.IOException: The volume is too fragmented to complete this operation.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at RazorEngine.Compilation.CompilerServiceBase.GetDefaultTemporaryDirectory()
at RazorEngine.Roslyn.CSharp.RoslynCompilerServiceBase.CompileType(TypeContext context)
at RazorEngine.Templating.RazorEngineCore.CreateTemplateType(ITemplateSource razorTemplate, Type modelType)
at RazorEngine.Templating.RazorEngineCore.Compile(ITemplateKey key, Type modelType)
at RazorEngine.Templating.RazorEngineService.CompileAndCacheInternal(ITemplateKey key, Type modelType)
at RazorEngine.Templating.RazorEngineService.GetCompiledTemplate(ITemplateKey key, Type modelType, Boolean compileOnCacheMiss)
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 @inherits Dynamicweb.Rendering.RazorTemplateBase< Dynamicweb.Rendering.RazorTemplateModel< Dynamicweb.Rendering.Template > > 2 @using System.Web 3 4 @functions{ 5 6 public string getRequiredSymbol( bool required ) 7 { 8 string result = string.Empty; 9 if ( required == true ) 10 { 11 result = "<span class=\"text-danger\">*</span>"; 12 } 13 return result; 14 } 15 16 public string getRequiredSymbolInline( bool required ) 17 { 18 string result = string.Empty; 19 if ( required == true ) 20 { 21 result = "*"; 22 } 23 return result; 24 } 25 26 public string getDefaultSelected( bool selected, string type = "" ) 27 { 28 string result = string.Empty; 29 if ( selected == true ) 30 { 31 if ( type == "select" ) 32 { 33 result = "selected"; 34 } 35 else if ( type == "radio" || type == "checkbox" || type == "checkboxlist" ) 36 { 37 result = "checked"; 38 } 39 } 40 return result; 41 } 42 43 public string getClassList( List< string > classList, string type = "" ) 44 { 45 string result = string.Empty; 46 if ( type == "textinput" || type == "email" || type == "textarea" || type == "password" ) 47 { 48 classList.Add( "form-control" ); 49 } 50 else if ( type == "radio" || type == "checkbox" || type == "checkboxlist" ) 51 { 52 classList.Add( "custom-control-input" ); 53 } 54 else if ( type == "select" || type == "date" ) 55 { 56 classList.Add( "custom-select" ); 57 classList.Add( "w-100" ); 58 } 59 else if ( type == "file" ) 60 { 61 classList.Add( "w-100" ); 62 } 63 else if ( type == "text" ) 64 { 65 classList.Add( "mb-0" ); 66 } 67 if ( classList.Count > 0 ) 68 { 69 result = String.Join( " ", classList ).Trim(); 70 } 71 return result; 72 } 73 74 } 75 76 @{ 77 dynamic form = new 78 { 79 id = GetString( "Form.HtmlId" ), 80 action = GetString( "Form.Action" ), 81 systemFields = GetString( "Form.SystemFields" ), 82 scriptOnSubmit = GetString( "Form.OnSubmit" ), 83 scriptSpamControl = GetString( "Form.SpamScript" ), 84 labelBold = GetBoolean( "Form.LabelBold" ), 85 labelOverField = GetBoolean( "Form.LabelOverField" ), 86 classList = new List< string >() 87 { 88 "e-form-dw", 89 "js-e-form-dw", 90 GetString( "Form.CssClass" ) 91 }, 92 useCustomControls = true, 93 submitMax = GetInteger( "Form.MaxSubmits" ), 94 submitCount = GetInteger( "Form.SubmitCount" ) 95 }; 96 if ( form.labelBold == true ) 97 { 98 form.classList.Add( "e-form-labels-bold" ); 99 } 100 if ( form.labelOverField == true ) 101 { 102 form.classList.Add( "e-form-labels-hide" ); 103 } 104 } 105106 @if ( form.submitMax > 0 && form.submitCount >= form.submitMax ) 107 { 108 @GetString( "Form.MaxSubmitsReachedText" ) 109 } 110 else 111 { 112 <form action="@form.action" class="@getClassList( form.classList )" data-nosnippet enctype="multipart/form-data" id="@form.id" method="post"> 113 @form.systemFields 114 @foreach ( LoopItem itemField in GetLoop( "Fields" ) ) 115 { 116 dynamic field = new 117 { 118 type = itemField.GetString( "Field.Type" ).ToLower(), 119 id = string.Format( "{0}-{1}-{2}", form.id, itemField.GetString( "Field.HtmlId" ), itemField.GetString( "Field.ID" ) ), 120 name = itemField.GetString( "Field.SystemName" ), 121 title = itemField.GetString( "Field.Name" ), 122 placeholder = itemField.GetString( "Field.Placeholder" ), 123 value = HttpUtility.HtmlAttributeEncode( !string.IsNullOrEmpty( itemField.GetString( "Field.Value" ) ) ? itemField.GetString( "Field.Value" ) : itemField.GetString( "Field.DefaultValue" ) ), 124 defaultValue = itemField.GetString( "Field.DefaultValue" ), 125 required = itemField.GetBoolean( "Field.Required" ), 126 description = itemField.GetString( "Field.Description" ), 127 classList = new List< string >() 128 { 129 itemField.GetString( "Field.CssClass" ) 130 }, 131 html = itemField.GetString( "Field.Control" ), 132 }; 133 if ( field.required == true ) 134 { 135 field.classList.Add( "required" ); 136 } 137 if ( field.type == "email" ) 138 { 139 field.classList.Add( "email" ); 140 } 141142 if ( field.type == "textinput" || field.type == "email" ) 143 { 144 <fieldset class="form-group"> 145 <label class="form-control-label" for="@field.id"> 146 @field.title @getRequiredSymbol( field.required ) 147 @if ( field.description != "" ) 148 { 149 <small class="form-text text-muted">@field.description</small> 150 } 151 </label> 152 <input class="@getClassList( field.classList, field.type )" id="@field.id" name="@field.name" placeholder="@field.placeholder @getRequiredSymbolInline( field.required )" type="text" value="@field.value"> 153 <div class="d-none js-e-form-validation-msg"></div> 154 </fieldset> 155 } 156 else if ( field.type == "password" ) 157 { 158 <fieldset class="form-group"> 159 <label class="form-control-label" for="@field.id"> 160 @field.title @getRequiredSymbol( field.required ) 161 @if ( field.description != "" ) 162 { 163 <small class="form-text text-muted">@field.description</small> 164 } 165 </label> 166 <input class="@getClassList( field.classList, field.type )" id="@field.id" name="@field.name" placeholder="@field.placeholder" type="password" value="@field.value"> 167 <div class="d-none js-e-form-validation-msg"></div> 168 </fieldset> 169 } 170 else if ( field.type == "textarea" ) 171 { 172 <fieldset class="form-group"> 173 <label class="form-control-label" for="@field.id"> 174 @field.title @getRequiredSymbol( field.required ) 175 @if ( field.description != "" ) 176 { 177 <small class="form-text text-muted">@field.description</small> 178 } 179 </label> 180 <textarea class="@getClassList( field.classList, field.type )" id="@field.id" name="@field.name" placeholder="@field.placeholder">@field.value</textarea> 181 <div class="d-none js-e-form-validation-msg"></div> 182 </fieldset> 183 } 184 else if ( field.type == "checkbox" ) 185 { 186 <fieldset class="form-group"> 187 <div class=""> 188 <label class="custom-checkbox custom-control"> 189 <input class="@getClassList( field.classList, field.type )" id="@field.id" name="@field.name" type="checkbox" @getDefaultSelected( ( field.defaultValue.ToLower() == "true" ), field.type )> 190 <span class="custom-control-indicator"></span> 191 <span class="custom-control-description">@field.title @getRequiredSymbol( field.required )</span> 192 </label> 193 <div class="d-none js-e-form-validation-msg"></div> 194 @if ( field.description != "" ) 195 { 196 <small class="form-text text-muted">@field.description</small> 197 } 198 </div> 199 </fieldset> 200 } 201 else if ( field.type == "checkboxlist" ) 202 { 203 <fieldset class="form-group"> 204 <legend class="form-legend"> 205 @field.title @getRequiredSymbol( field.required ) 206 @if ( field.description != "" ) 207 { 208 <small class="form-text text-muted">@field.description</small> 209 } 210 </legend> 211 <div class="d-none js-e-form-validation-msg"></div> 212 @foreach ( LoopItem option in itemField.GetLoop( "Options" ) ) 213 { 214 if ( option.GetBoolean( "Option.Active" ) == true ) 215 { 216 <div class=""> 217 <label class="custom-checkbox custom-control"> 218 <input class="@getClassList( field.classList, field.type )" name="@field.name" type="checkbox" value="@option.GetString( "Option.Value" )" @getDefaultSelected( option.GetBoolean( "Option.DefaultSelected" ), field.type )> 219 <span class="custom-control-indicator"></span> 220 <span class="custom-control-description small">@option.GetString( "Option.Text" )</span> 221 </label> 222 </div> 223 } 224 } 225 </fieldset> 226 } 227 else if ( field.type == "radio" ) 228 { 229 <fieldset class="form-group"> 230 <legend class="form-legend"> 231 @field.title @getRequiredSymbol( field.required ) 232 @if ( field.description != "" ) 233 { 234 <small class="form-text text-muted">@field.description</small> 235 } 236 </legend> 237 <div class="d-none js-e-form-validation-msg"></div> 238 @foreach ( LoopItem option in itemField.GetLoop( "Options" ) ) 239 { 240 if ( option.GetBoolean( "Option.Active" ) == true ) 241 { 242 <div class=""> 243 <label class="custom-control custom-radio"> 244 <input class="@getClassList( field.classList, field.type )" name="@field.name" type="radio" value="@option.GetString( "Option.Value" )" @getDefaultSelected( option.GetBoolean( "Option.DefaultSelected" ), field.type )> 245 <span class="custom-control-indicator"></span> 246 <span class="custom-control-description">@option.GetString( "Option.Text" )</span> 247 </label> 248 </div> 249 } 250 } 251 </fieldset> 252 } 253 else if ( field.type == "select" ) 254 { 255 <fieldset class="form-group"> 256 <label class="form-control-label" for="@field.id"> 257 @field.title @getRequiredSymbol( field.required ) 258 @if ( field.description != "" ) 259 { 260 <small class="form-text text-muted">@field.description</small> 261 } 262 </label> 263 <select class="@getClassList( field.classList, field.type )" id="@field.id" name="@field.name"> 264 @foreach ( LoopItem option in itemField.GetLoop( "Options" ) ) 265 { 266 if ( option.GetBoolean( "Option.Active" ) == true ) 267 { 268 <option value="@option.GetString( "Option.Value" )" @getDefaultSelected( option.GetBoolean( "Option.DefaultSelected" ), field.type )> 269 @option.GetString( "Option.Text" ) 270 </option> 271 } 272 } 273 </select> 274 <div class="d-none js-e-form-validation-msg"></div> 275 </fieldset> 276 } 277278 else if ( field.type == "date" ) 279 { 280 <fieldset class="form-group"> 281 <label class="form-control-label" for="@field.id"> 282 @field.title @getRequiredSymbol( field.required ) 283 @if ( field.description != "" ) 284 { 285 <small class="form-text text-muted">@field.description</small> 286 } 287 </label> 288 <input class="@getClassList( field.classList, field.type )" id="@field.id" name="@field.name" placeholder="@field.placeholder" type="date" value="@field.value"> 289 </fieldset> 290 } 291292 else if ( field.type == "file" ) 293 { 294 <fieldset class="form-group"> 295 <label class="form-control-label" for="@field.id"> 296 @field.title @getRequiredSymbol( field.required ) 297 </label> 298 <p class="@getClassList( field.classList, field.type )">@field.html</p> 299 </fieldset> 300 } 301302 else if ( field.type == "hidden" ) 303 { 304 <input class="@getClassList( field.classList, field.type )" id="@field.id" name="@field.name" type="hidden" value="@field.value"> 305 } 306 else if ( field.type == "submit" ) 307 { 308 <fieldset class="form-group"> 309 <button class="btn btn-primary" type="submit">@field.title</button> 310 </fieldset> 311 } 312 else if ( field.type == "text" ) 313 { 314 <div class="form-group"> 315 <p class="@getClassList( field.classList, field.type )">@field.html</p> 316 @if ( field.description != "" ) 317 { 318 <p class="form-text mb-0 small text-muted">@field.description</p> 319 } 320 </div> 321 } 322 else if (field.type == "pageshift") 323 { 324 <div> 325 <h3>@field.title</h3> 326 </div> 327 } 328 else 329 { 330 <fieldset class="form-group"> 331 Field type not suported: @field.type 332 @if ( field.title != "" ) 333 { 334 <label class="form-control-label" for="@field.id">@field.title</label> 335 } 336 @field.html 337 @if ( field.description != "" ) 338 { 339 <small class="form-text text-muted">@field.description</small> 340 } 341 </fieldset> 342 } 343 } 344 <script> 345 e4.data.set( '@string.Format( "forms.dwSpamScripts.{0}", form.id )', @form.scriptSpamControl ); 346 </script> 347 </form> 348 } 349