• Closure

            <p>
            Closures are means through which inner functions can refer to the variables present in their outer enclosing function after their parent functions have already terminated.
            </p>
    
  • encrypt configuration file

            <p>
            aspnet_regiis -pe "appSettings" -app "/gbsa" -prov "DataProtectionConfigurationProvider"
            </p>
    
  • Data View Part

            <p>
            Form web Part can connect datavew web part. Here are the rules.
            </p>
            <p>
            If dataview web part define a filter using input parameter, form web part connect dataview webpart to modify view using parameters from.
            </p>
            <p>
            If dataview web part does not define a filter, form web part connect dataview webpart to filter view using data values from.
            </p>
            <pre data-sub="prettyprint:_">
            </pre>
    
  • submit only once

            <pre data-sub="prettyprint:_">
            <input type="button" value="Submit" onclick="this.disabled='true';">
            </pre>
    
  • select all text when focus in a text box

            <pre data-sub="prettyprint:_">
            FormUtil.setTextboxes = function() {
            var colInputs = document.getElementsByTagName("input");
            var colTextAreas = document.getElementsByTagName("textarea");