All Questions
Tagged with javascript c#
28,446
questions
0
votes
0
answers
10
views
Data resolution are not changing when try to minimize the resolution
In Firefox browser, when opened in normal form all data moves towards right, while it appears correctly in Chrome and Edge. Also when I tried to minimize the resolution in edge or chrome all data ...
0
votes
0
answers
9
views
How to Close ISWebCombo Dropdown After Selecting a Value with AutoPostback Enabled?
I'm using an ISWebCombo dropdown control in my ASP.NET Web Forms application. The dropdown does not close automatically when I select a value. I need it to close after selection.
<ISWebCombo:...
0
votes
3
answers
96
views
ASP.NET Core Razor Pages: Dropdown selection cleared after form submission
I have a Razor Page in ASP.NET Core where I have a dropdown list () populated with usernames. Upon selecting a username, the form is automatically submitted using JavaScript (onchange="this.form....
1
vote
2
answers
74
views
ASP.NET Razor Pages, passing data from the front-end script to the back-end
I am working on a project where I am using a map and need to send feedback to the backend with the current zoom level. The problem is that the page only returns a 400 Bad Request error along with &...
0
votes
1
answer
29
views
Attribute value html encoded when added to custom tag builder
I'm trying to add an OnClick attribute to a custom tag helper, but the value doesn't render properly. It looks like it gets encoded.
AddAttribute:
icon.AddAttribute("onclick", $"...
1
vote
2
answers
49
views
How to append List to FormData in JQuery?
I get model's values from view with this codeblock and this part is OK.
var data = new FormData();
var datas = $(this).serializeArray();
for (var i = 0; i < datas.length; i++) {
data.append(...
1
vote
0
answers
14
views
How can I call node-fetch correctly on a js script that's executed through .NET using Jurassic?
I'm trying out a .NET solution with Jurassic to call a javascript file in the root folder that will do a fetch(url). Unfortunately, I get a Jurassic.JavaScriptException: 'SyntaxError: Unexpected token ...
1
vote
2
answers
99
views
+50
Passing two parameters (IFormFile and a string) with JSON to C#
Versions:
ASP.NET and Web Tools - 17.10.341.11210
C# Tools - 4.10.0-3.24312.19+
JQuery - 3.3.1.js
JS - 2.8.3.js
I'm trying to pass an IFormFile and a string from a JSON file select and a string input.
...
0
votes
1
answer
36
views
Uploading a video(file) through file explorer in Unity WebGl
I'm developing a game on Unity WebGl. I have a part that user has to upload a video through file explorer, then I have to send it to server. I don't have to play it in unity. I just need to get the ...
0
votes
0
answers
10
views
Why am I getting a frame-ancestor error when trying to use Amazon Connect Streams
The Error:
The page’s settings blocked the loading of a resource (frame-ancestors) at because it violates the following directive: “frame-ancestors 'self'”
Background:
When I attempt to load the page ...
-1
votes
1
answer
49
views
Load Data from Database to the HTML Table in ASP.Net Core MVC
I am working on an ASP.NET Core MVC C# project and need assistance with loading data from a database into an HTML table dynamically. Suppose that I have a controller and razor cshtml file. The below ...
0
votes
1
answer
39
views
How to change from readonly to not readonly of input in ASP.NET Core
MODAL
<div class="modal fade" id="residentModal" tabindex="-1" role="dialog" aria-labelledby="residentModalLabel" aria-hidden="true">
...
0
votes
1
answer
47
views
Display the all the details of Resident after clicking the view button using ASP.NET Core
Manage.cshtml
<table class="display table" id="ManageResident" style="width:100%">
<thead>
<tr>
<th>Resident ID</th>
...
0
votes
1
answer
43
views
Null Value in my Address Type and Contact Type upon clicking submit button using ASP.NET Core
can some help me with my error. I trying to save the resident information, for resident,address and contact information, Now I am encountering a null value for address type and contact type.
In this ...
0
votes
1
answer
40
views
Save image into folder in sever using Froala Text Editor
At present. I'm using Froala Text Editor save blog post with tag . But I can't save image uploaded. I was used many way slpit text to get image into folder default in sever, it's not working.
Hope, ...