This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using System.Reflection; | |
using System.Windows; | |
using System.Windows.Forms; | |
using System.Windows.Interactivity; | |
using Button = System.Windows.Controls.Button; | |
namespace FolderDialog | |
{ | |
public class FolderDialogBehavior : Behavior<Button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Net.Http; | |
using System.Net; | |
namespace HTTP_Test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function onErrors(form, validator) { // 'this' is the form element | |
var container = $(this).find("[data-valmsg-summary=true]"), | |
list = container.find("ul"); | |
if (list && list.length && validator.errorList.length) { | |
list.empty(); | |
container.addClass("validation-summary-errors").removeClass("validation-summary-valid"); | |
$.each(validator.errorList, function () { | |
$("<li />").html(this.message).appendTo(list); |