Questions tagged as 'asp.net-mvc'

1
answer

Place pagination when generating PDF with iTextSharp

I'm using iTextSharp to generate PDF's in my application. Now a problem has arisen: I am printing listings and when there is more than one page I would like to print a footer with page numbers (eg "Page 1 of 4"). I found some examples but they...
asked by 02.04.2014 / 10:49
1
answer

How to do a grouping in View asp.net mv

I have a query with grouping with the following result: InmyControllerIhave:// GET public ActionResult Index() { //lista var tbuscar = new GaleriaVideoAplicacao(); var listar = tbuscar.ListarTodos("S","S"); return View(lista...
asked by 29.10.2016 / 19:07
1
answer

Web Api asp.net mvc have any data limits reported on Route?

I have a web api, I'm trying to do an insert in a user registry, but I noticed that the number of parameters has a limit. If I try to add one more parameter it generates an error: [HttpPost] [Route("consulta/InseriUsuario/{apiK...
asked by 28.10.2016 / 03:15
1
answer

Make a post on an external url

They put me in a project that was made in ASP.NET MVC 2 and need to be integrated with Itaú Shopline, I downloaded the Itall dll, I did all the encryption procedures, I can generate the data, but at the time of sending to the external URL the po...
asked by 21.10.2016 / 13:15
0
answers

As a popular ReportDataSource () object in a webform.aspx form?

As an example, below is the example of the Entity, Interface, Repository, and MVC System Controller. Following the code of formulário webform.aspx I use to display Pedido usando o ReportViewer , the problem is that when I try to dis...
asked by 16.10.2016 / 21:35
1
answer

Doubt with route customization asp.net mvc

I'm studying on routes, I have a list and I want to show the product name in the url. The way it is shown is just the Category name. Thank you public class Produto { public int ProdutoId { get; set; } public string Nome...
asked by 14.10.2016 / 16:36
1
answer

Search in visual studio

To make a web proguama in visual basic how can I make a filter of an int type code and only appear clients with the code typed? using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using N...
asked by 14.10.2016 / 02:55
1
answer

How to List added photos in the view?

I have the following code in my View that takes the path of the photo, and saves it in the bank. @using (Html.BeginForm("Upload", "PessoaFoto", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.Hidden("idPessoa", R...
asked by 13.10.2016 / 22:30
0
answers

Image above another as a stamp using css

I have an image on the screen where I want to add a stamp, the problem is that as this image is inside a foreach, so if I take the id of the image, it will be repeated. <div class="panel-body"> <div class="carimbo-foto">...
asked by 03.11.2016 / 19:48
1
answer

How to set the image format when saving the file using "html2canvas"?

I'm using canvas2image.js to transform a div into an image, everything works, the problem, I need to set a format for the image at the time of saving, without it it is left without a valid format. Example: <link href="~/Content/css/Car...
asked by 04.11.2016 / 16:26