Questions tagged as 'asp.net-mvc'

3
answers

Doubt with pagination in Asp.net

Does anyone know how to implement a paging or would I have an example using this architecture link I would like to use Linq's Skip () and Take (): As was done in this example MVC asp.net page But I'm having an error: public IEnumer...
asked by 04.12.2015 / 01:21
0
answers

Error reading a byte array passed as parameter

This is the error:    The entry is not a valid Base 64 string, since   contains a non-base 64 character, more than two characters of   or an illegal character between   fill-in. This is my view, where I pass the parameters from my grid (t...
asked by 09.11.2015 / 19:09
1
answer

Define model the attribute of type Two-dimensional Array

There is a way to create a two-dimensional array attribute in Model so you can use this attribute to mount a table on View . Example: In model I define an array type array and the controller defines that the array will be 20x20 a...
asked by 04.11.2015 / 12:36
1
answer

Button with link in MVC5 is not working

I created a popup in an mvc5 project (Razor) and it is not working the link that when I click the button it would go to another page but it is not working I will post the code here below. Code: <div id="banner_popup" style="display:none...
asked by 05.07.2016 / 20:45
0
answers

Problem with ui-router in angularjs [closed]

I'm in trouble when I'm trying to make GET on the API to get information. The problem is that the webserver is not calling the API. I must fill in the ng -model field named. The following part of the code APP.js. .state('highways.id', {...
asked by 14.12.2015 / 17:29
1
answer

Rota Dynamica ActionResult

I have two Controllers: Faculty and Course public class InstituicaoController : Controller { // GET: Instituicao public ActionResult Index() { return View(); } public ActionResult Institu...
asked by 15.12.2015 / 21:09
1
answer

How to return query for a string using WebAPI?

I have the following code which gives me an error:    The inline constraint of type 'DefaultInlineConstraintResolver' was unable to resolve the following inline constraint: 'String'.       Exception Details: System.InvalidOperationException:...
asked by 06.11.2015 / 03:20
0
answers

What is the best way to replace a specific Web Api method for MVC architecture? [closed]

What would be the best way to replace the following Sys.WebForms.PageRequestManager.getInstance().add_endRequest() method done in WebForm for MVC structure? Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler)...
asked by 12.01.2016 / 20:55
1
answer

Problems with Lambda and DateTime query

Hello, I have the following ActionResult code from my controller below: [HttpPost] [AuthorizedUser] public ActionResult Load(DateTime DataInicial, DateTime DataFinal) { var AcessoDominio = new SmartAdmin.Domain.Acesso(); var Collection...
asked by 12.10.2015 / 16:12
1
answer

Update Listing Information

I have a small problem, in the image below I have a client list. There is a button that opens a modal for editing, it works normal, however after you edit the modal mode, I need to update the information in the list. Belowismycode:[HttpPost]...
asked by 07.10.2015 / 20:42