Questions tagged as 'asp.net'

1
answer

How do I redirect a .aspx window with an ajax call?

How do I redirect my current window to a new one through an ajax call? Ajax call code: function autenticarme() { var nick = $(".txtNick").val(); var pass = $(".txtPass").val(); $.ajax({ type: "POST", url: "login...
asked by 27.03.2017 / 20:42
2
answers

How to get a checkbox id through a table dimanica

Good morning, I wonder how I can get the id of a checkbox that is in a table with data generated from sqlserver. This is how the design of the table is: <asp:GridView ID="GridViewTable" runat="server" AutoGenerateColumns="False" ShowHead...
asked by 30.05.2016 / 20:54
1
answer

Create client C # (ASP.NET) to consume web service RESTFUL

I'm in trouble some time ago, for the first time I have to implement a client in C # (ASP.NET) that consumes a service exposed by a web application to create clients. I have reviewed different codes on the web like: link link but...
asked by 09.03.2016 / 22:24
3
answers

Create a ModelBinder for KeyValuePairTKey, TValue

The default ModelBinder of ASP.NET MVC is not able to bind the data with variables of type KeyValuePair. This is due to the way it has to link the complex types: first it creates a new instance of the object through a constructor without argumen...
asked by 12.05.2016 / 12:52
1
answer

Async crashes when asking entity framework query

I have an aspx project in the use of the repository, generic, and I am starting to use the async methods that the entity framework offers to interact with the database, when trying to save a record, it always hangs up and does not advance the co...
asked by 18.05.2016 / 02:27
1
answer

Change column title in kendo grid

How can I change the title of this Kendo MVC Grid column using Javascript using a button in another column? This is the column to which I want to change the title: columns.Bound(c => c.segundo_nombre).Title("2do Nombre").Width(20); An...
asked by 11.08.2016 / 19:25
1
answer

How to increase waiting time Session asp.net c #

Good I'm doing my project so that lasts 2 hours the session is to say an example. that if the user enters and leaves after 2 hours, it should not be closed. Currently every time that 45 minutes passes when the client makes or goes to another tab...
asked by 06.08.2018 / 23:32
1
answer

Asp.Net Windows authentication and forms authentication

The idea or requirement is to have an application which can work with Windows and forms authentication at the same time. If the user who tries to access the application has domain credentials (intranet) then the application will grant acces...
asked by 20.02.2016 / 20:50
0
answers

Error 500 invoke web services making an AJAX call

I have a problem, I can not invoke a Web Service made in C # from an AJAX call using Javascript and jQuery. This is the call: function authenticate() { var name = $("#username").val(); var pwd = $("#password").val(); var baseu...
asked by 23.05.2017 / 19:07
6
answers

JSON object arrives empty to my method

I created the following function to send an object of a service through JSON but when the object arrives it has all the empty variables: var cpDate = new Object(); cpDate = { OllPass: '', NewPass: '', ConfPass: '' }; $(documen...
asked by 09.03.2017 / 13:39