All Questions
6,955 questions
1
vote
1
answer
70
views
Passing entity model data into Bootstrap Modal
I'm trying to pass data to a modal. After searching around the internet and following bootstrap I found a couple of ways. 1) is by passing the model through data-bs-whatever="@Model", ...
-1
votes
1
answer
54
views
Get Session Model from webpage using jquery [closed]
I am doing an MVC 6 App. I have a model like this
public class SearchModel
{
public string SSN { get; set; } = string.Empty;
public string EmployeeNumber { get; set; } = string.Empty;
...
0
votes
1
answer
109
views
How to handle login errors and display them in a modal window without redirecting?
everybody. I have a modal window and a method for Login, i.e. there is no separate view for the Login page.
I am facing a problem, when the login data is not correct, it displays an error directly in ...
0
votes
0
answers
48
views
Data Tables Refresh on Edit / Update
In my project, I have been using Data tables to show the list of data from the database per required view.
So in the view, I have this code
<div class="table-responsive mt-4" style="...
0
votes
1
answer
66
views
How to hide asp combobox according to selected asp combobox by javascript in asp.net
I have two asp combobox one with the name of cmb_stocktype while second with the name of cmb_tagno. Now, my question is that when I select cmb_stocktype with the value of WithStock then cmb_tagno ...
0
votes
0
answers
59
views
Auto load task pane in a newly created Word document from existing word document in a Word add in blazor project?
I have created a new Word document from existing word document in a Word addin Blazor project. I want to add content in a new Word document and also load the task pane in a new word document similar ...
0
votes
1
answer
81
views
Reloading Ajax Data Table after date change
I'm creating a Booking dashboard on my asp.net MVC project. Here I have given the DateTime selector for the main view and from the script, I'm assigning the current date to the date time picker on the ...
0
votes
1
answer
97
views
Serialise HTML Form with time/text input type and validation of time fields [closed]
I am trying to create an HTML Form that will be used to send data to the backend in C#.
Below is the Form which consists of 2 fields: FROMTIME and TOTIME.
I need to make sure that the user inputs the ...
0
votes
1
answer
187
views
How can I save the state of a web application page after reloading the page?
I have an asp net core 3.1 application, the application is very large, I want to save the state of the web page after refreshing the page. For example, the user opened a modal window and after ...
0
votes
0
answers
51
views
Tweets are not loading on the dashboard automatically
In this jQuery code, what I'm trying to achieve is that when the logged-in user clicks the follow button, the tweets of the person they are following should appear on the dashboard, and the follow ...
0
votes
1
answer
64
views
How can I make an ajax call asynchronously from Javascript to mvc controller method and to wait for the result to proceed to next line of code
I am trying to get the result from the function called 'validateScheduleDate()' and only if the result comes from the function, then next line of code should be executed. I am trying to validate two ...
0
votes
0
answers
29
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 ...
1
vote
2
answers
66
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(...
2
votes
3
answers
461
views
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
49
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">
...