All Questions
Tagged with knockout.js c#
550
questions
0
votes
0
answers
228
views
SSO SAML response in not getting in my Iframe
I am working on SSO login using Shibboleth. For the testing I am using SAML test. I have done with all Shibboleth Installation and IIS configuration. Now my application is navigating to SAML test ...
0
votes
1
answer
243
views
Being prompted for login credentials windows authentication asp.net mvc and knockoutjs
I am trying to access a site using windows authentication. The site is an asp.net mvc 4 application and uses knockout.js and jQuery for the client site. I am prompted for a login and if I cancel the ...
0
votes
0
answers
34
views
Page auto reloading for no apparent reason
I am having a bug with a project that I am finding very hard to reproduce but it is a serious bug. As part of my attempt to fix it, I would like to know the answer to the following question: what ...
0
votes
1
answer
28
views
Getting a value of ko.toJS using Selenium C#
I'm trying to get values of input element which generated with ko.toJS using Selenium in Firefox:
<input autocomplete="on" class="form-control input-block-level " data-bind=&...
0
votes
2
answers
54
views
Cannot work out how to access property of self in ViewModel
I am very new to js and html - trying to make a basic front end for a C# web api.
I'm making a simple app for tracking bugs. I have a panel for the list of bugs, where I can click "Details" ...
-1
votes
1
answer
998
views
howto retrieve asp.net appSettings key from front-end .js file using knockout.js
I have an asp.net backend application and i am using web.config and other files to store configuration keys.
I have a front-end built with javascript files using knockout.js.
We would like to know how ...
0
votes
1
answer
63
views
Selected option is not updating with knockout
I can't make the ImageType(name) update when the select is changed and the data has already been created (obtained from the model), only when a new element is created I can see that when I change the ...
0
votes
1
answer
317
views
Can I integrate React into a Knockout JavaScript app?
I've been building an application in my spare time, its backend is C# and I use Knockout js for the front end, to be honest its an app I use out side of my main job for learning purposes etc, I may ...
0
votes
0
answers
153
views
Cannot pass error from controller to view in MVC
I am trying to pass an error from the controller to view to javascript. However, I am not able to capture the error that I am passing from the controller.
Below is the code. When if(signInValid) is ...
0
votes
0
answers
308
views
Redirect from asp.net web api post action doesn't seem to work
As a new comer to ASP.Net looking for workaround on, redirecting to another URL at the end of the HttpResponseMessage POST api.
In reference to Redirect from asp.net web api post action I tried same ...
0
votes
1
answer
96
views
How i can show my oracle table with knockout.js
So this is my table:
create table CARS
(
id NUMBER not null,
gender NUMBER,
firstname VARCHAR2(25),
lastname VARCHAR2(25),
manufacturer NUMBER,
model NUMBER,
...
1
vote
0
answers
87
views
When an element is selected from the list, I want my other list to be filled
I am writing a web project, I want my bottom list to be filled when an element is selected from my top drop-down list, how can I do that? I need to do this in the method.
<div>
...
0
votes
1
answer
571
views
show/hide on radio button checked/unchecked- knockout js
I have 2 radio buttons, When I click on the option A, a particular div has to be shown, and when click on the option B, 1st div should be hidden and 2nd div should be shown. Below is the code.
<div ...
1
vote
1
answer
573
views
How do I send a JavaScript array to a controller in a .net core 3.1 application?
The javascript side of things looks like this:
var self = this;
self.services = ko.observableArray([]);
self.saveServices = function () {
if (self.services().length > 0) {
...
0
votes
0
answers
130
views
AJAX call from knockout.js function to controller action not setting server side view model properties
I have been following a pluralsight course in an attempt to learn how Client Side View Models can interact with server side controller actions.
I have a basic view model with a couple of string ...