Format:
Recent snippets matching tags of Edit
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Features_ImportExport : System.Web.UI.Page { const string DocumentUrl = @"~/Content/Demo/SampleImportDocument.rtf"; const string ContentFolder = @"~/UploadImages/Imported";
287 Views
no comments
Object:
[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:MM/dd/yyyy}")]
View:
<%= Html.EditorFor(model => model.suspension.DateBegin)%>
235 Views
no comments
private void GetResourceSet() { this.ResourceSet = Request.Form[this.lstResourceSet.UniqueID]; if (ResourceSet == null) this.ResourceSet = Request.QueryString["ResourceSet"]; if (this.ResourceSet == null) this.ResourceSet = ViewState["ResourceSet"] as string; if (this.ResourceSet == null) this.ResourceSet = "";
531 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
