I am trying to solve an issue where the data-bind="html:xx", returns "undefined" when the data "xx" is null or not defined. It does not happen if this changes to text binding. Is there any way to work around this on the client side?
Thanks for your help.
Kee Yang
1 Answer, 1 is accepted
0
Petur Subev
Telerik team
answered on 29 Jul 2013, 06:36 AM
Hello Kee,
Basically you can use function that handles the undefined case and bind the html to that function instead.