To implement file uploading functionality
1.I have added following code in OrderSummary.cshtml
<div class="panel panel-default">
<div class="panel-heading">
@T("Admin.Catalog.Products.Pictures.AddNew")
</div>
<div class="panel-body">
<div class="form-group">
<div class="col-md-3">
@Html.NopLabelFor(model => model.PictureId)
</div>
<div class="col-md-9">
@Html.NopEditorFor(model => model.PictureId)
@Html.ValidationMessageFor(model => model.PictureId)
</div>
</div>
</div>
</div>
2.then i have added following code in shoppingcartmodel.cs
[UIHint("Picture")]
[NopResourceDisplayName("Admin.Catalog.Products.Pictures.Fields.Picture")]
public int PictureId { get; set; }
now i am able to see following pictore uploading controll in view
and able to upload the image to the Picure database table but i am not able to remove(delete) the image .can any one please explain me how to achive these functionality .also i need to uplod all type of files(pdf,word etc).
also i need explanation how [UIHint("Picture")] is actually works,how it redirects to AsyncUpload() action of PictureController