Can igDialog work with Knockout? Can you give me some instructions on configuring that?
Can I at least bind with Knockout elements inside of igDialog?
Hi, Branko.
Thank you for using our products and I hope I can help you.
We have Knockout support for the following controls:
So you can put any of these controls inside the igDialog and they will work. If something is not working, you can write us and we will check what the problem can be. As far as you are talking about the igDialog and KnockoutJS, what parameters you want to bind? The igDialog is container element and what I can think of binding is only the dimensions of the control. If you can share your thoughts about this, it will be great.
Best regards,
Nikolay Alipiev
I'm attaching the following sample, wrapped in a igDialog. The only thing that I've done, was to initialize igDialog on the container of the sample:
$(".main-container").igDialog();
Everything is working fine with version 13.2 of the controls. Which version are you using?
You can do the same with all the other controls - just take the samples, that I've already listed you in the previous post, and wrap their containers in a igDialog. At least this is working for me. If you have further questions, don't hesitate to ask me.
The samples are:
Hi Nikolay,
i use 13.1 version, it's politics of my firm for now. Is that the reason why I can't see these controls you have sent me, as well as those which I have used in igDialog?
For the 13.1 release, all the controls, except the igDataChart, have knockout support. I'm attaching the sample with igCombo inside igDialog. Do you have references to the Knockout extensions .js files?
Yes, I have references. igCombo is now rendering, but there is no data inside. I guess this rendering is answer to my question and confirmation that igDialog can work with Knockout.
The igCombo doesn't have data, in the sample that I've sent you, or some other sample? If it's the sample that I've sent, this is not OK, it maybe means that there is some problem with the source code of the controls. Which is the build number for 13.1 that you have and do you have the latest service release for 13.1? The data should appear in the combo as well in the inputs and the select on the page (the same as the sample here) and they should change together - this should be the conformation. For any further questions don't hesitate to ask.
I'm glad to hear that the problem is solved.
Nikolay
yes, it was problem with references, it working OK now. We moved to the jQuery dialog 2 weeks ago, so if we come back to igDialog and if there are any problems, I'll inform you.
Branko Ilic
I've tested it here with the same build number (2323) and everything is working fine. Here I'm using also jQuery 1.9.1 and jQuery UI 1.10.3. It also works with latest jQuery 1.11.0 and jQuery 1.10.4. Do you have some errors that are shown in the console? Which is the browser you are using? Do you have reference to the knockout.js file? I'm again attaching the sample with references to the CDN and you need only to have the local version of Ignite UI controls. Try again and I will wait for your feedback.
Build number is 13.1.20131.2323. The igCombo doesn't have data in the sample you have sent. I have tested it in Chrome, Firefox and IE9.