text: /*
  <input id="InputOpenFileDialog"
  	   onchange="Input_OnChange(this)"
  	   type="file"
  	   style="display: none;">
  <!--
  File filter. For multiple file extensions, separate with comma.
  Ex. CSV and EXCEL:
  accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
  
  MIME Extension Mappings
  https://gist.github.com/adamfisher/16fe8c619ea389944d0f
  -->
                          
  <button type="button" onclick="Button_OnClick()"/>
  */
  
  <script type="text/javascript">
      function Button_OnClick() {
          $("#InputOpenFileDialog").click();
      }
  
      function Input_OnChange(sender) {
          if (typeof sender != "object" || sender == null)
              throw "ArgumentException: sender.";
          if (typeof sender.files != "object" || sender.files == null)
              throw "ArgumentException: sender.files.";
          if (typeof controllerFunctionName != "string" || controllerFunctionName.length < 1)
              throw "ArgumentException: controllerFunctionName.";
  
          var file = sender.files[0];
          if (typeof file != "object" || file == null)
              throw "ArgumentException: sender.files[0].";
  
          var formData = new FormData();
          formData.append("file", file);
  	
  		var onSuccessFunction(data){
  			//TODO
  		};
  			
  		ExecuteControllerFunction("ControllerClassName", "ControllerFunctionName", formData, null, onSuccessFunction, null, null, true);
      }
  </script>
  