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
| // | |
| // jQuery UI combobox | |
| // Based on the combobox example on the jQuery UI home page. | |
| // Must load both jQuery and jQuery UI Widgets before loading this document. | |
| // I use CSS to position the button inside the input element, so it looks just | |
| // like a drop down box. | |
| // | |
| $.widget("ui.combobox", { | |
| _create: function () { | |
| var self = this; |
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
| /// <summary> | |
| /// Get all HTTP POSTed Files that were uploaded as part of a | |
| /// multipart form POST. This abstraction keeps the controller | |
| /// from dealing with the Request object directly. | |
| /// </summary> | |
| public IEnumerable<HttpPostedFileBase> HttpPostedFiles | |
| { | |
| get | |
| { | |
| // _httpContext has been pre-assigned to be the current HttpContextBase |
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.Web.Mvc; | |
| using System.Web.Routing; | |
| namespace jarrettmeyer.Web.Lib | |
| { | |
| public static class RouteHelpers | |
| { | |
| /// <summary> | |
| /// Connects a distinct path to a controller/action. | |
| /// </summary> |
NewerOlder