Skip to main content

All Questions

Tagged with
0 votes
0 answers
26 views

Reloading partial view with AJAX

So i have a mesaging system that when a message is sent im currently reloading the whole view to see the new message in the conversation, however, i want to make it so jus the message partial reloads ...
Owen's user avatar
  • 19
1 vote
0 answers
59 views

Authorization for GET request Python and .NET

I am trying to get some data from a database but it requires an HMAC authorization. The documentation is in .net and js and it is hard to translate to python. I do not have tons of experience with GET ...
user avatar
0 votes
1 answer
94 views

Website manifest.json does not meet requirements

I am trying to add a manifest.json to my website. I am doing an asp.net core project and I have my file stored at wwwroot/manifest.json. But google lighthouse tells me that the manifest didnt meet the ...
MaxK123's user avatar
  • 440
0 votes
1 answer
44 views

Is there a delicate way to pass calendar events variables in Javascript

As you can see from the example below, I have a @model which contains data. In order to use particular parts of the data, I have assigned it to a Json object by using Json.Serialize .The reason I have ...
Linda Maya's user avatar
0 votes
2 answers
1k views

How to connect javascript code to database in ASP.NET

I have an ASP.NET application which has been working by creating a context to connect to a SQL Server 2016 database. So far it's been working great, but I've been tasked with adding javascript into ...
mightynifty's user avatar
1 vote
0 answers
325 views

Accessing JSON array items from Javascript returned from C# using Jint

I am trying to communicate back and forth between C# and Javascript, using Jint. Mostly smooth sailing, however I am unable to access items in arrays returned from C# within my JS scripts. Accessing ...
Ben Callister's user avatar
0 votes
0 answers
23 views

Receive two ajax json Data from .net and use 'data.jsonA.testName'

i use .net and send js(ajax) two data to .net controller in data test1 and test2 is json data. .ajax({ type: 'POST', url: "/test/test_Put/", contentType: 'application/...
KIM HYUNG JUN's user avatar
0 votes
1 answer
43 views

how to Receive two ajax json Data from .net

i use .net and send js(ajax) two data to .net controller in data test1 and test2 is json data. .ajax({ type: 'POST', url: "/test/test_Put/", contentType: 'application/...
KIM HYUNG JUN's user avatar
1 vote
1 answer
58 views

Passing data from UI controller to Javasript it loses some data

I am returning my data from my UI controller and I have two objects of the same type in the data which are a certain entity. You can see they both contain values and if you were to fully expand either ...
Joel Clark's user avatar
0 votes
2 answers
841 views

Read data from JSON with multiple JSON objects in order to be displayed

I have the following JSON object that contains multiple JSON objects. I want to read and display the following elements 1) CampaignName 2) Start date 3) End date I have written the following the ...
noruk's user avatar
  • 48
0 votes
1 answer
167 views

.net mvc @foreach id for table/cell [duplicate]

when loading the table, I want to execute a javascript on each row for cell 4. This will format the json string that is being placed in it. The way I have it coded is only updating the very first row/...
jefferson vaughn's user avatar
0 votes
1 answer
349 views

How to load a ViewBag in dependency of previous choosen option

I am working on MVC application. I have a problem with a form in Create View (create.cshtml). The Form has a three select elements (dropdown list). The first one is filled by ViewBag.RodzajePojazdow ...
Piotrek909's user avatar
0 votes
1 answer
472 views

Using JavaScript how do I sent JSON from Razor page to Controller in MVC .NET Core

I have a razor page with the following JavaScript code that gets the JSON object. From this code, how can I send the JSON object to a controller? (MVC Core.NET 3.0) I now this sounds crazy - the only ...
davos's user avatar
  • 211
0 votes
1 answer
82 views

Sending JSON object. How do I set up the simple .net controller method to receive this type?

Currently I am sending over object from angular that looks exactly like this. {"department":2,"note":"asdf","weekEnding":"2019-11-02T00:00:00"} I am then hitting this method in my my .net controller ...
JSkyS's user avatar
  • 433
0 votes
2 answers
5k views

Values null when I make a simple post request to my .net controller from angular

This used to be a 415 error question. Now it is a a receiving null values on the server side question. I am having difficulty trying to get my values in the object myMessage over to the server ...
JSkyS's user avatar
  • 433

15 30 50 per page
1
2 3 4 5
9