Questions tagged as 'asp.net-mvc-5'

1
answer

JavaScript event if it is repeated in other IDs

I wanted to make a JavaScript if it repeated in other components of the screen, in this example I'm passing I made a foreach and inside it I put my javascript. the intention is that it repeat itself 10 times, but it only works once. Is there som...
asked by 21.11.2016 / 15:12
1
answer

How to insert an object and a list of objects in the same request

I have a supplier object, and each supplier has several contacts, on the page, has a tab for the supplier register, and another tab for the contact register, the contact register tab has a small form, and below one table where to every item regi...
asked by 23.11.2016 / 18:20
1
answer

Creating a DropdownList [closed]

I'm using asp.net-mvc-5, and wanted to know how to create a DropdownList without being in this pattern here: <div id="conteudoEscolha"> @Html.DropDownList("", null, htmlAttributes: new { @class = "form-control", id =...
asked by 21.11.2016 / 18:17
1
answer

How to show PDF using server Viewer.js?

On the View page, I have the following code: <iframe style="width:800px; height:550px;" id="FileReload" src="@Url.Action("GetPDF", "Account", new { id = Model.Id })" onerror="function_documenthide();"></iframe> Each browser has...
asked by 01.12.2016 / 22:06
1
answer

Alignment layout divs cshtml Asp.net MVC?

Good afternoon! Dear, I am a beginner in the area of development and I have a little doubt. I have an ASP.Net MVC 5 project, where I have a layout inserted in my master page in _Layout.cshtml, follow the code below. <!DOCTYPE html> <h...
asked by 03.11.2016 / 17:19
1
answer

how to call the .js file function

I'm not able to call a javascript function from a file. Ex: File: javascript within folder raiz/scripts/javascript.js function responsivo () { $('#responsivo').popover({ //trigger: 'manual', placement: 'bot...
asked by 26.12.2016 / 15:54
1
answer

How to use, install, free template for BootStrap 3

I have a tremendous doubt about this type of theme, I'm starting to work with ASP.NET MVC, so I came across BootStrap, so I started searching for free themes and we have several options available. One of the sites I found was: BootsWatch...
asked by 24.10.2016 / 17:43
1
answer

How to reference an image tag img

I'm studying Asp.Net MVC and I'm having trouble setting the URL of the HTML: <!-- menu profile quick info --> <div class="profile"> <div class="profile_pic"> <img sr...
asked by 27.10.2016 / 13:04
1
answer

How to use different CSS files for each view

I wonder if it's possible to be using "auxiliary" CSS files. For example, in my ASP.NET MVC 5 project, as everyone knows, and default to BootStrap , but how would I create a separate .css file for some views I've been creating? Or, i...
asked by 26.10.2016 / 13:13
1
answer

Change Title to display tooltip

I'm doing email validation using toolTip to display the message. If the first one puts the registered e-mail the search is made and the message is displayed that the "Registered E-mail", if it changes the e-mail to one that is not registered the...
asked by 18.12.2016 / 18:25