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

1
answer

How to format the mvc helpers according to my Bootstrap layout?

I'm trying in many ways to adjust the layout according to the Helpers <!-- rightpanel3 --> <div data-role="panel" id="opcoesusuario" data-position="right" data-display="overlay" data-theme="a">...
asked by 14.07.2015 / 04:29
0
answers

ASP.NET Menu sitemap does not work after changing framework version

There was a need to swap a server application, however, the new server works with IIS 7.0 and the application that was developed in .NET 3.5 was changed to .NET4.0. When the application runs local on my micro everything works perfe...
asked by 03.03.2015 / 15:26
0
answers

Display jquery search element datatables in a specific div

How do I display the jquery datatables search box within a div ? My HTML table looks like this: <div class="row-fluid"> <div class="span4 pull-left"> <h4>Gerenciamento de Usuários</h4> </div&...
asked by 02.03.2015 / 00:44
2
answers

Is it possible to run ASP.NET MVC without IIS?

Is it possible to run an ASP.NET MVC application without IIS? I wanted the user to run this ASP.NET MVC application without having to configure IIS, I found #
asked by 29.08.2016 / 21:12
1
answer

Object reference not set to an instance of an object. in the declaration of an object

An error is occurring in my code only when I post, when I'm debugging it works normally. the error is as follows: " Object reference not set to an instance of an object. " my code: MkfFile file = new MkfFile(); public class MkfFile { priv...
asked by 03.12.2014 / 17:25
2
answers

JavaScript for each record in my view

I have a VIEW where I display a table with 15 records (15 rows) and 5 columns, but the very thing that matters is a column, "Actions". In it I have a button, "View", which when clicking I want to open a window with a message, for tests ....
asked by 24.01.2017 / 17:53
1
answer

How to render Action accessing controller in this case?

I'm using a ready template and I'm using the bootstrap, but the menu transaction is done through javascript animations and using the <Section> html tag, as follows: <section class="section" id="registerProfessionalUser">...
asked by 09.05.2014 / 19:03
1
answer

Connection string for different users logged in

I'm doing a work and I came up with a possibility that I would like to know if it's possible to do it: the purpose of this idea is to switch a certain connection string as the logged-in user. That is, I will have a connection string...
asked by 18.11.2016 / 12:23
1
answer

Write to the Database at the end of the auction

I'm developing an auction site in ASP.NET MVC4 and EF, at this time already runs bids and has a timer. The problem now is: how do I record the data when the time expires? I've thought about doing a trigger in DB, but I think it will not wor...
asked by 28.05.2014 / 02:36
1
answer

Object can not be converted to dbnull in other types

Good evening, gentlemen. I am doing a user registration in college work and at logar this error appears. How can I resolve? privateUsuarioMapear(DataRowregistro){varusuario=newUsuario();usuario.Nome=Convert.ToString(registro["NOME"]);...
asked by 24.10.2018 / 17:58