Questions tagged as 'asp.net-mvc'

2
answers

How to call an Html.Action ("my_page") via jquery?

I have a page that loads several partials views, I want to call a specific page in a modal that will fill the entire screen. I'm using a generic jquery command to call an action that will be passed by parameters. This is the <button type...
asked by 07.03.2016 / 21:38
2
answers

Why does the background-image url look for the image inside the Content folder?

I have a CSS like this: #hero { height: 100%; background-image: url("~/img/bg-img.jpg"); background-position: top center; padding: 0; overflow: hidden; } When I squeeze, the image does not appear, when I have to i...
asked by 21.10.2015 / 22:50
1
answer

BundleConfig does not load all CSS files

I am trying to load the jquery-ui.css CSS and jquery-ui.theme.css CSS files by creating a bundle, but the bundle insists on loading only the default CSS of ASP.NET MVC than site.css . To work, I always have to load the additional CSS files...
asked by 11.10.2015 / 03:19
1
answer

How to get selected value in the dropdownlist in Asp.Net MVC

How to get the selected value in dropdownlist ? I need to get the selected value and pass this value to a session . I did with textbox that way and it worked, but with dropdownlist does not take the value. I've done the...
asked by 27.08.2015 / 22:01
1
answer

How to display an alert from the asp.net mvc controller

How do I display a alert or a Response.Write of controller , on screen, to see if it is passing through it?     
asked by 20.08.2015 / 16:25
1
answer

E-commerce with ASP.NET MVC [closed]

Does anyone know if there is any course, guide or material that contains what I need to build an ecommerce with ASP.NET MVC? More specifically the sales system itself, such as implementing a payment system via ticket and credit card. Does any...
asked by 27.08.2015 / 06:08
1
answer

I can not download a file by ActionLink mvc5

I know the error is in the way I'm interpreting the routine. I have a routine to download a file attached to a table. This file was generated by my application (binary) and now I need to write this binary in any dir, that is, in my table / grid...
asked by 09.11.2015 / 16:55
1
answer

Open external program via mvc5

I'm having a hard time making an operation. I have a console application that opens a PDF. This console takes the name Servico.exe, although it has the service name, it is an exe and not a service. This open the PDF is ok. I created an MVC5 proj...
asked by 06.11.2015 / 13:43
2
answers

How to get data entered in a form not yet recorded?

Hello, In an application using MVC , how do I get the data entered by the user on a form, and before writing to the database, I return a view with the data entered for the user and only after that conference, does it give the option t...
asked by 06.11.2015 / 13:13
1
answer

Question about asp.net mvc 5

Does framework 4 support MVC 5? Because I have a site that is in mvc 5 and iis 6 is not opening the site, after clicking on enter the login screen the page is left blank. I saw that iis 6 does not support the 4.5 framework, so it converted to 4....
asked by 10.07.2015 / 15:13