All Questions
106 questions
0
votes
0
answers
116
views
How to get the date of server on which the site is deployed on?
I want to get the current date of server on which site is deployed on... our site is deployed on IIS and the system is in America. when we open URL,on date column it shows our current date i.e: my ...
0
votes
0
answers
131
views
jquery conflict with angularjs
I have jquery and angularjs in my c# project.
I see that I have to call angularjs before jquery to avoid conflict between them.
My MasterPage.master
<script src="Scripts/angular.js">&...
0
votes
1
answer
282
views
how to show alert messege when date range overlaps existing date ranges in angularjs
i am working on a project where i have few existing dates
suppose Existing from dates and to dates are shown below
Existing From Date and to dates
27/11/2020 to 02/12/2020
01/01/2021 to 15/01/2021
...
0
votes
0
answers
43
views
How to refresh div content without loosing the angularJS scope?
Hi I've a comment section, where I've defined some angular scope like ng-show and ng-hide, now everytime when I post a new comment, I need to show in that comment section div, so I'm refreshing the ...
0
votes
1
answer
98
views
Sending info to server side with every request from JavaScript
I want to send some information along with every AJAX request to server side from my JavaScript application (it could be vanilla JS, JQuery, or any SPA based framework). We are using JQuery to make ...
0
votes
1
answer
61
views
I am getting error while initialize value containing ' using ng-init in Angularjs
I am getting an error while initialize value containing ' using ng-init in Angularjs.
for eg:
@{
var textToDisplay="Suman's Question";
<div ng-app="" ng-init="myText='@textToDisplay'">
<h1&...
0
votes
0
answers
31
views
WebMethod not getting fired when called using AngularJS request
WebMethod not getting fired when called using AngularJS request
Even when using
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
it is giving me 500 internal server error ...
2
votes
3
answers
2k
views
uncaught error bootstrap requires jquery at bootstrap.min.js
I am getting this error even when all the jquery has been loaded before bootstrap and also have used the version 1.9.1
tried using jquery version 1.9.1 and it still dint solve
<script type="...
0
votes
0
answers
142
views
Populate checkbox list using angularjs on server response
I am new to angular js .
This is my html code where I am binding list of recipients comming from sql table to checkbox using angular js ng-repeat.(data is comming from db) on my form.
User select the ...
0
votes
0
answers
72
views
AngularJS Post to C# Function fails with large strings (error 500 instantly)
I'm trying to send a large stringfy'ed JSON list array to a C# function using AngularJS
POST:
$http(
{
method: "POST",
url: "/Home/IntegrityCheck",
dataType: 'json'...
0
votes
2
answers
81
views
How can we redirect to same view without data loss
I have two textbox on same view on project when I first time load we provide value on textbox from controller using model.name its show in view than i click on button another textbox show other value ...
1
vote
1
answer
207
views
Webapi controller parameters are null
I have reactjs component that sends a PUT request to a web api controller, however the received object (tenant) is null. I could attach the remote debugger and noticed this.
my react component:
...
0
votes
1
answer
80
views
Why the data get truncate to 0 in my controller? [duplicate]
Im migrating an application so this code was already working.
I have one angular function to create random avl input to test my api.
$scope.createAvl = function () {
console.log($scope.avl); // ...
1
vote
1
answer
46
views
How to use angularJs for dynamically created HTML(Which is not loaded to DOM)
Hello I am very new to AngularJs.
I am retrieving the HTML data from C# by calling ajax function. Here i am trying to use the AngularJs functionality for the dynamically generated HTML. But i am not ...
2
votes
1
answer
1k
views
Change event fired twice for kendo ui Combobox
I noticed some weird behavior in all comboboxes in my application and after some time I noticed that the Kendo UI ComboBoxes are making or firing the change event two times and so they make two http ...