Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

134
Vistas
how send multi image From img src to controller in asp.net mvc

other data the from send form.submit() I first read the img tags value then converted it to a file , then added it to the form But its value in the controller is null

        var imgs = document.getElementsByName('images');
        var imagefiles = [];
        var data = new FormData();

        for (var i = 0; i < imgs.length; i++) {
            var image = dataURLtoFile(imgs[i].src, FileName());
            imagefiles.push(image);               
        }
        data.append('files', imagefiles);          
        $("#Form").submit();



      public ActionResult Create(ProductsModel model, HttpPostedFileBase[] files )       
      {}
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda