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
17
votes
1 answer

Using WCF to wrap an existing connected stream

I have both ends of a bi-directional connected Stream, which I want to do some communication over. The underlying implementation behind the stream isn't important, I want to work at the Stream level... Rather than implement my own communications…
Mark
  • 1,784
  • 16
  • 26
17
votes
1 answer

Knockout custom binding update not firing

With the following code, I would expect my update function to execute every time the viewModel.item observable is updated. I can see my init and update functions firing on page load as expected, but not when my button is clicked which updates the…
Citrus
  • 756
  • 1
  • 13
  • 26
10
votes
1 answer

WCF with custombinding on both http and https

I have a WCF service with custombinding and it is working fine on either http or https. But I have totally no idea about how can I make it available on both http and https? Also is it possible to do that? Here's my configuration in…
aunghn
  • 165
  • 1
  • 1
  • 9
9
votes
2 answers

Knockout renderTemplate() rendering modes

I'm trying to call ko.renderTemplate() in a custom binding. However I can't find any documentation for it's usage, particularly the rendering mode parameter. Knockout.js pro tips – working with templates The site above has a section "You can render…
Brett Postin
  • 11,215
  • 10
  • 60
  • 95
7
votes
2 answers

MTOM Encoding and Custom binding

How do I configure custom binding and MTOM encoding? I have a custom binding like given below,
blue
  • 833
  • 2
  • 12
  • 39
6
votes
1 answer

Asp.Net Core 2.0 WCF Client CustomBinding PlatformNotSupportedException: BuildChannelFactoryCore is not supported

I need to be able to send authorization in my Client using custom bindings in Asp.Net Core 2.0. It works in Asp.net 4.6.1 and doesn't work in Core 2.2. I am trying to connect to a Workday Public Web Service in our Tenant. Since I was able to make…
Paul Hegel
  • 61
  • 1
  • 6
6
votes
1 answer

extjs 5 : make a data binding for component's custom property

i have a component that extended from the filefield, and i added a custom property 'serverPath' to it ,and also i have defined the getter and setter . code : Ext.define('MyApp.ux.Field.File',{ extend:'Ext.form.field.File', …
happyyangyuan
  • 179
  • 3
  • 14
6
votes
2 answers

Call standard Knockout click binding from a custom binding

I would like to create a 'conditional click' binding in KnockoutJS. Basically this is a standard click binding like you would use it in Knockout, but a condition needs to be met in order for the attached function to be executed. In my case, the best…
Bram W.
  • 1,587
  • 4
  • 16
  • 39
6
votes
1 answer

Knockout js countdown timer

I've been looking for a sample to create a custom countdown timer binding for knockout js! I found this question jQuery countdown timer and adapt it for Knockout Js.
Anas
  • 5,622
  • 5
  • 39
  • 71
5
votes
1 answer

String empty to null custom binding

Based on this answer Knockout.js: time input format and value restriction, i'm trying to create a custom binding that sets observable to null if the value is string empty, here is the code that's not working, Ip observable is always null on…
Alexandre
  • 7,004
  • 5
  • 54
  • 72
5
votes
2 answers

Knockout JS inline editing doesn't catch Enter Key in Internet Explorer

I am using the basic form of the following jsfiddle http://jsfiddle.net/rniemeyer/8D5aj/ ko.bindingHandlers.hidden = { update: function(element, valueAccessor) { ko.bindingHandlers.visible.update(element, function() { return…
noah
  • 81
  • 3
5
votes
1 answer

How to build a custom binding by having WSHttpBinding security and GZip compression?

i am facing a problem here. I am doing a client/server project, which is WCF web service calling to get data.Due to huge data of transfering, i got to change my binding to custom binding programmatically(not by config file.) I am creating a new…
user186393
5
votes
1 answer

Knockout custom resizable binding to 2 observables getting updated twice

Im trying to create a knockout binding to a jquery ui resizable widget. My custom binding is binding to 2 different observables on the view model, namely "left" and "width".
MatteS
  • 1,542
  • 1
  • 16
  • 35
4
votes
1 answer

How to create a custom string JNDI binding in JBoss AS7?

I'm looking to create a custom string JNDI binding in JBoss AS7, but can't quite figure out how to configure it. I looked in the standalone-preview.xml file, but do not see any examples that would enable me to understand how I can configure a JNDI…
Eric B.
  • 23,425
  • 50
  • 169
  • 316
4
votes
1 answer

Custom model binder for inner model

I got a model like this: public class MainModel { public string Id {get;set;} public string Title {get;set;} public TimePicker TimePickerField {get;set;} } TimePicker is an inner model which looks like this: public class TimePicker { …
1
2 3
10 11