Questions tagged as 'asp.net-mvc'

2
answers

How do I get the value of an @Html.TextBoxFor for an Input? asp.net mvc

I want to get the value that is in the @Html.TextBoxFor is to add in the input <div class="col-md-3 form-group"> <label>Multiplicador 01:</label> <input class="form-control input-sm" autocomplete="off" value= @Html.TextBox...
asked by 02.08.2016 / 02:42
1
answer

Security Exception Error [duplicate]

I'm trying to post a site in ASP.NET MVC in locaweb and I came across the following error message ... Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this appli...
asked by 02.08.2016 / 04:52
2
answers

Doubt with using jquery.maskMoney with asp.net mvc

I'm using it to form a value, but it's not working, I have my partial view, this way: _Posibilidad.cshtml @model Generico.Dominio.TB_POSSIBILIDADE <script type="text/javascript"> $(document).ready(function () { $("VALORAP...
asked by 29.07.2016 / 18:16
1
answer

Performing Submit Form using C #

The following HTML login form is available <form action="/Home/Login?ReturnUrl=%2f" method="post"> <input name="__RequestVerificationToken" type="hidden" value="W3ndyLx5kkFIy_QKjOGhEYQoHFtF4kIMFxLIG42t2r5tJJKwnzCy1iMmLw8SFH6yIm...
asked by 15.09.2016 / 14:46
1
answer

Get an HttpPostedFileBase and convert to CloudFile (Azure Files) so you do not need to write to the File Server

Good people I have the following problem. The controller receives an HttpPostedFileBase and sends it to Azure and for this I need to write to a temporary folder. I would like to know of a more elegant solution where you do not need to write t...
asked by 20.07.2016 / 20:49
1
answer

ActionResult and async Method Using FastMapper, Error in TypeAdpter

I have the following problem with FastMapper. When implementing an ActionResult async when using the TypeAdapt it can not perform the asynchronous conversion, would anyone know how to do the conversion with FastMapper? Remember, when I do the co...
asked by 30.06.2016 / 16:59
1
answer

What steps to implement SSL / TSL in an ASP.NET MVC application

I'm developing an ASP.NET MVC project and would like to know what processes are required to implement TSL / SSL. I'm really not sure if this is the best place to ask this, but I suppose you might have done this before. Do I need to impleme...
asked by 01.07.2016 / 03:08
1
answer

ModelState.IsValid in register within modal

I'm using a registration form within a modal , however when the condition of ModelState.IsValid is not satisfied the view is returned. But instead of returning the same view before the submission action of the form, it...
asked by 15.07.2016 / 19:40
1
answer

how to get the value of a specific checkbox in asp.net mvc using JQuery

I have a table in a system in ASP.NET MVC that each record has a checkbox, here is the code below the view: <table class="table table-hover table-striped" id="tabelaProdutos"> <thead> <tr> <th>Tipo de Produt...
asked by 15.07.2016 / 15:12
1
answer

Error while logging in

I created a View here to login on my system, but in the ModelState.IsValid part only returns false , I do not know the reason, could someone help? My code for View is as follows: [HttpPost] [ValidateAntiForgeryTok...
asked by 14.06.2016 / 02:31