Hi,
I have a view which is binded by a model.Here actually my requirement to export that particular customized view with data should be printed in pdf,but on click of a link of each row in index view it should print pdf without going to view.
As of now I want to print the view in pdf.Please help me on this,I am using aspx view engine for this.
Please find the below code in view.
| Shipper No | <%:Html.TextBoxFor(model=>model.ShipperNo) %> | Attention | <%:Html.TextBoxFor(model => model.AttentionTo)%> | ||
| Date | <%:Html.TextBoxFor(model => model.Date)%> | Submitted Date | <%:Html.TextBoxFor(model => model.SubmittedDate)%> | Location | <%:Html.TextBoxFor(model => model.Location)%> |
| Shipper Type | <%:Html.TextBoxFor(model => model.ShipperType)%> | Address | <%:Html.TextBoxFor(model => model.Address)%> | ||
| Order Completed | <%:Html.TextBoxFor(model => model.OrderCompleted)%> | City/State/Zip | <%:Html.TextBoxFor(model => model.City_State_Zip)%> | ||
| GEE Program No | <%:Html.TextBoxFor(model => model.GEEProgramNo)%> | WBS No | <%:Html.TextBoxFor(model => model.WBSNo)%> | ||
| Customer No | <%:Html.TextBoxFor(model => model.CustomerNo)%> | OUC | <%:Html.TextBoxFor(model => model.OUCNo)%> | ||
| Comment | <%:Html.TextAreaFor(model => model.CustomerNo, new { })%> |
| ECS ID | Part No | Serial No | Buffers | Buffer Part No | Buffer Serial No | Part Name | Amount(In Dollars) |
|---|---|---|---|---|---|---|---|
| <%:item.ECSID %> | <%: item.PartNo %> | <%: item.SerialNo %> | <%: item.Buffers %> | <%: item.BufferPartNo %> | <%: item.BufferSerialNo %> | <%: item.PartName %> | <%: item.Amount %> |
| Shipper: |
| Print Name:______Logging in (person)___ Signature:_________________________________ Date:___________ |
| Receiver: |
| Print Name:____________________________ Signature: _____________________________________ Date:_____________ |
<% }%>
Vipin SinghPosted Sep 21, 2017, 3:27 AM
Hussam BarouqaPosted Sep 20, 2017, 12:02 PM
Mahesh BodepudiPosted Sep 4, 2017, 6:05 AM
Manikandan MurugesanPosted Sep 1, 2017, 12:57 PM