Questions tagged as 'asp.net'

1
answer

Document search screen with pagination and search filter with asp.net [closed]

I have the layout of a search screen, it has to show documents from my sqlserver database. To facilitate the search I put filter and as they are very documents it would be interesting to do pagination. I'm still learning; so if anyone has a good...
asked by 27.12.2017 / 01:40
1
answer

Function does not work with UseSubmitBehavior="False"

I have this button: <asp:Button ID="Button11" runat="server" Text="Cancelar" CssClass="btn btn-danger btn-block" OnClick="Button11_Click" OnClientClick="javascript:return confirm('Deseja cancelar toda a venda?');" UseSubmitBehavi...
asked by 08.01.2018 / 20:51
0
answers

Using multiple html pages with the same controller AngularJS + ASP.NET MVC

Using the routes with AngularJS, When you enter the Autor.html page with the /Autor route, all registered authors are listed in a table where a link is created for each author's edition, according to this line of code <a ng-click="s...
asked by 23.11.2017 / 14:16
1
answer

Error sending a route to the same api / Controller / Action in a WebApi

I'm having the following error, I perform the following operation: // POST: api/Funcionario/AddFuncionario [HttpPost("AddFuncionario")] public IActionResult AddFuncionario([FromBody] Funcionario Func) { if(Func == n...
asked by 13.11.2017 / 16:14
0
answers

Call procedure in the OnClick area of the Image Map in ASP.NET

Good afternoon, I have this code: <img src="../Image/sala.png" USEMAP="#sala" BORDER=0> <area name="window" shape="poly" coords="633,82,631,117,627,145,625,160,644,162,671" href="" alt="window" title="" OnMouseOver="window.stat...
asked by 30.10.2017 / 21:32
0
answers

The specified value "2017-00-06" does not conform to the required format, "yyyy-MM-dd" [dated]

I have a field filled in with date: <asp:TextBox ID="txtValidadeIni" runat="server" CssClass="form-control" MaxLength="10" type="date" name="date" pattern="[0-9]{2}\/[0-9]{2}\/[0-9]{4}$" min="1970-01-01" max="2100-02-18"> </asp...
asked by 20.11.2017 / 15:39
2
answers

but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable'1 [WebApplication4.Models.modelExample]

I can not perform enumeration, I have already switched to another information reception in the View but I do not know how to correct it, I checked other forms in StackOverflow but I did not understand. Model: namespace WebApplication4.Mod...
asked by 25.10.2017 / 15:06
0
answers

Routing of html with iframe

I have an application that serves with a HELP for the system, that is, the user clicks on the question mark and instinctively opens a new tab with that HELP direct on the equivalent page, however, since it has its paths treated with iframe/Ja...
asked by 01.11.2017 / 17:38
0
answers

File (.PDF) for Ajax / WebMethod WebForms

I would like to know how to get the information of a pdf file (binary, name, size) public class Arqs: IHttpHandler { Funcoes f = new Funcoes(); public void ProcessRequest(HttpContext context) { try {...
asked by 19.10.2017 / 14:07
3
answers

How to anchor a redirect in APS.NET MVC

How can I send the user to a certain page block by passing the id in the url. For example: link , how to pass this type in ASP.NET MVC using return RedirectToAction . The line of my code looks like this: return RedirectToAction("Ind...
asked by 21.06.2017 / 22:09