Is there a way to bind an observable e-mail address to the href attribute of an element? I tried the following:
<a data-bind="{attr:{href:Email},text:Email}"></a>
But of course this lacks the needed "mailto:".
I know in Knockout you can do it like this:
<a data-bind="{attr:{href:'mailto:'+Email},text:Email}"></a>
I tried that in Kendo and it failed with an "Unrecognized string" error.
What's the best way to handle this type of binding in Kendo's MVVM setup?
<a data-bind="{attr:{href:Email},text:Email}"></a>
But of course this lacks the needed "mailto:".
I know in Knockout you can do it like this:
<a data-bind="{attr:{href:'mailto:'+Email},text:Email}"></a>
I tried that in Kendo and it failed with an "Unrecognized string" error.
What's the best way to handle this type of binding in Kendo's MVVM setup?