Questions tagged [custom-binding]

KnockoutJS: Extending KnockOut JS's built-in bindings to allow a lot of flexibility to encapsulate sophisticated behaviors in an easy-to-reuse way.

156 questions
0
votes
1 answer

how to add bindingExtensions in webconfig?

i just wanna add bindingExtensions , i dont know what should i write in type attribute when add bindingExtensions. this is my config :
0
votes
1 answer

Custom knockout binding to display error messages

I am currently using virtual elements to display validation errors (there can be more than 1 per path).
Nathan
  • 31
  • 3
0
votes
1 answer

MvvmCross binding to Error property of the TextInputLayout

I'm trying to simplify data validation for one activity which has plenty of controls to be entered (about 10). Every edittext control has a unique validation error so I decided to do with supported by TextInputLayout widget validation. So my layout…
Mando
  • 11,414
  • 17
  • 86
  • 167
0
votes
1 answer

WCF Error - An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail

I have the below given setting in my web.config of my WCF service, this was working fine till today and suddenly started giving the error "An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for…
blue
  • 833
  • 2
  • 12
  • 39
0
votes
0 answers

How to invoke a method when all the custom bindings are applied in knockoutjs?

I am working on KnockoutJS with jQuery. I need to apply custom binding say myBinding on multiple views. I have a case where multiple views are bound with myBinding, a JS method need to be called which will pass some viewmodel data from these…
0
votes
1 answer

SSL Configuration for WCF REST Service with Custom Bindings

I have a WCF REST service that has to accept a raw input stream from a client. In order to receive the raw stream, I'm using a custom binding in my web.config file. The service works fine if I set it to connect over standard HTTP. However, I'm…
user2167861
  • 179
  • 4
  • 12
0
votes
2 answers

show underlying value of input on focus knockout custom binding

I have created (please excuse the mess - just hacking it together at the moment!) the following binding handler in knockout The desired functionality is that if a field is numeric then it will be formatted to 'X' decimal places (default 2) when…
0
votes
2 answers

How to update custom binding on button click?

With the click of a button, I want to update a d3js plot based on the values of two select elements. If I understand it right, simply calling the valueAccessor should fire off the update function, which is not happening in my code. I have the…
user2374668
  • 167
  • 1
  • 3
  • 10
0
votes
1 answer

Knockout custom binding not updating

Please check what I am doing wrong. The update part of my custom bindinghandler does not executes when I create a control in javascript. I have an Add function that create a row in a table. Controls that are bound to the custom binding does executes…
Righardt
  • 31
  • 7
0
votes
1 answer

Duplex WCF service - Direct call and callback do not use same channel

My goal is to reach a WCF service behind a firewall with no incoming ports opened. The solution I chose is to host a duplex WCF service on the public side, that has as callback the same contract that was used if no firewall was involved. It worked…
Gicanu
  • 33
  • 1
  • 6
0
votes
2 answers

WCF: programatically configuring the service with certificate

Here's the whole issue: I want to create WCF dll to access WCF services.... the only issue is, when I use the WCF DLL config file with an application that has it's OWN app.config file, the WCF DLL app.config file gets ignored....... I figure one…
DJ Burb
  • 2,346
  • 2
  • 29
  • 38
0
votes
1 answer

knockout custom select binder with update function

I am trying to develop a custom select binder but I am not able to understand how to develop the update functionality. Currently this is what I have done. I want custom binder to handle this type of data [{ message: "Hello", Value: 1 }, { …
Harsh Vardhan
  • 111
  • 1
  • 14
0
votes
1 answer

Using custom knockoutjs select binding with standard select bindings as well

I am trying to combine custom knockoutjs binding with a standard binding. Although I have been able to find a related solution ko.bindingHandlers.parentAreaComboBox = { initialised: false, init: function (element, valueAccessor,…
Harsh Vardhan
  • 111
  • 1
  • 14
0
votes
2 answers

improve efficiency on knockout custom binding (firing too often)

Attached is a snippet for a custom binding handler for some buttons designed to act as a radio group. The problem I have is that when I click on a button it fires the update 6 times. I guess I need to add either a throttle or bind differently but I…
GrahamTheDev
  • 22,724
  • 2
  • 32
  • 64
0
votes
1 answer

Currency formatting with pureComputed

I want to format numbers in a comma separated fashion. I have found this jsfiddle which caters to my requirement. I need to add another pureComputed value for my vm, and I tried it with this way by modifing modified jsfiddle. However, I'm getting…
Rifky
  • 1,444
  • 11
  • 26