Skip to content
Loading
post-with-multiple-images-using-asp-net-mvc-get-data-on-post role="tab" class="@(ViewBag.PostOtherInfo != null ? (ViewBag.PostOtherInfo ? "last current" : "disabled ") : "disabled")" aria-disabled="true"> id="steps-uid-0-t-2" href="javascript:void(0);" aria-controls="steps-uid-0-p-3"> class="overflow-h">

4.Rent

class="rounded-x fa fa-bars"> class="billing-info" style="margin-top: 10px;"> class="row"> class="col-md-12 md-margin-bottom-40">

Images & Add some good images here

class="billing-info-inputs checkbox-list">
class="col-sm-12"> @* type="file" class="multi with-preview" maxlength="5" accept="png|jpg" multiple id="fileupload" />*@ class="row"> class="col-sm-12"> id="dvPreview"> class="row"> class="col-sm-12"> multiple type="file" id="WithEvents" class="multi with-preview " /> @* type="file" class="multi with-preview image-upload" id="WithEvents" name="fileUpload" multiple />*@ @* class="row"> class="col-sm-12"> id="F9-Log"> *@ class="row"> class="col-md-6"> type="submit" class="btn-u btn-u-sea-shop pull-left margin-bottom-20" name="prevBtn" value='Previous' /> class="col-md-6"> type="submit" class="btn-u btn-u-sea-shop pull-right margin-bottom-20" name="nextBtn" value='Next' id="upload-images" />
}
 
public class PostImagesInfo { public List<PostImageInfo> ImageInfo { get; set; } } public class PostImageInfo { private Int64 _postImageId; public Int64 PostImageId { get { return _postImageId; } set { _postImageId = value; } } private Int64 _postID; public Int64 PostID { get { return _postID; } set { _postID = value; } } private string _imageName; public string ImageName { get { return _imageName; } set { _imageName = value; } } private string _imagePath; public string ImagePath { get { return _imagePath; } set { _imagePath = value; } } private bool _isMain; public bool IsMain { get { return _isMain; } set { _isMain = value; } }  }
 

3 Replies

Know the answer? Post it — somebody with the same question will find it here.