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
2
votes
3 answers

How to correctly bind and initialize a jQuery Mobile range slider with knockout.js?

I have some trouble to get a JQM range slider to work well with knockout. This is a very basic html code for a JQM slider: I have created as a sample this knockout…
2
votes
5 answers

Knockout custom binding for indeterminate checkbox won't work

Let's put it short: This is my knockout custom binding for putting a checkbox in indeterminate state. ko.bindingHandlers.nullableChecked = { update: function (element, valueAccessor) { var value =…
Pejman
  • 3,784
  • 4
  • 24
  • 33
2
votes
1 answer

mvvmcross custom binding to eventhandler

I am trying to implement LongClick functionality on a view and read the following which provided some info mvvmcross touch command binding in android Searched unsuccessfully for IMvxCommand within the code so assume this may be outdated? So I…
Kern
  • 447
  • 1
  • 6
  • 16
2
votes
1 answer

Knockout custom binding for Google Chart API - Access is Denied

I've been trying how to do this for a couple days, as well as googling for a built solution but sadly no success. I'm building an Admin section for a custom made e-commerce product. This Admin area, is entirely built as an SPA (Single Page…
Luigi
  • 100
  • 2
  • 10
2
votes
1 answer

knockout.js and bootstrap modal dialog

I'm using some code I've found on SO (the second answer here: knockout.js - deferred databinding for modal?). The details aren't displaying in the form though. rowClick: function(data){ console.log("in row click"); console.log(data); //…
Matt
  • 1,931
  • 12
  • 20
2
votes
1 answer

Knockoutjs custom binding to display loading gif

I'm trying to create a custom binding that will show a loading gif while content is loading. ko.bindingHandlers.loader = { init: function (element) { $('
').addClass('loader').hide().appendTo($(element)); }, update: function…
bflemi3
  • 6,698
  • 20
  • 88
  • 155
2
votes
1 answer

Self-Hosted WCF Custom binding, Binary message, HTTPS transport WITHOUT certificate

I have some self-hosted WCF services using CustomBinding for HTTP protocol on a specific port. I use BinaryMessageEncodingBindingElement and HttpTransportBindingElement so far without problem. Now I need to secure a bit more by using HTTPS but with…
Frankidoze
  • 21
  • 3
2
votes
1 answer

Bootstrap chechbox and Knockout: custom binding does not work in templates

In Twitter Bootstrap for a checkbox with labels is used markup like: Knockout standard 'text' binding for label is not working: checkbox markup simple…
2
votes
1 answer

Knockout custom binding extending the "IF" binding

I have the following custom binding based on Ryan Niemeyer's blog but I was it doesn't work. Instead of fading him the div just doesn't show at all. I tried adding the "init" function but that did not resolve the issue so I went back to just the…
Ryan Pedersen
  • 3,177
  • 27
  • 39
2
votes
1 answer

Removing custom binding elements in web.config for child application

I have a WCF service (.NET 3.5) application running at http://example.com; its web.config is configured for JSONP encoding:
Andrey
  • 20,487
  • 26
  • 108
  • 176
2
votes
1 answer

Custom Message Encoder in WCF with support for ReaderQuotas

Found the answer here (last post): http://social.msdn.microsoft.com/Forums/eu/wcf/thread/f5c0ea22-1d45-484e-b2c0-e3bc9de20915 I'm having one last issue with the implementation of my custom (TextOrMtomEncoder), which is the implementation of…
kipusoep
  • 2,174
  • 6
  • 24
  • 34
1
vote
1 answer

Manual addressing with secure customBinding on WCF service

I'm developing a web service for a WSDL defined externally. Access is done with HTTP/S (server and client certificates) and both the request and response are signed with the respective certificate. I have imported the WSDL in VS2010 with a service…
1
vote
1 answer

Custom WS Binding Error : The service certificate is not provided for target 'xxx'. Specify a service certificate in ClientCredentials

I'm trying to implement a custom WS binding with compression and message security with ClientCredentialType set to 'None'. The service is configured and running successfully. I've also managed to configure the client and run it successfully.…
megora
  • 11
  • 3
1
vote
1 answer

Ajax Binding Telerik MVC Grid with DetailView in one call

I have the following markup. @(Html.Telerik().Grid(Model) .Name("Grid") .DataKeys(keys => keys.Add(key => key.Id)) .Columns(columns => { columns.Bound(c =>…
Adel
  • 193
  • 1
  • 12
1
vote
1 answer

How to avoid cert validation on every service call with a WCF custom binding and a custom validator

I have a WCF servcie set up with custom binding and a custom cert validator. THe cert validator is defined as follows. It will be expanded later, but is just doing a basic verification currently. public class MyX509CertificateValidator :…
Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176