Query |
Solution | |
However, the events are not triggered. |
We were able to reproduce this issue with the shared code. This is because you had used Click event name as function in the ClientSideEvents. Please view the code changes in the below code example block:
| |
Calling the open function from KO view model |
We have prepared a sample with shared code using KnockOut, and the click event is working fine with our dialog control. We have prepared a sample with your requirements. Please find it in the sample link: http://www.syncfusion.com/downloads/support/directtrac/general/SYNCFU~2-2145978064.ZIP | |
if cannot return anything at least, that I can pass the current detail to the openDialog and into the Html.EJ() .Dialog("dialog"). So, I won't lose the current detail. |
To be clearer, opening a dialog doesn’t return any value. Can you please explain the exact scenario on what data you need to pass and which current detail should be maintained? Modify the shared sample based on your scenario and send it to us so that we can provide a solution. |
Query |
Solution | |
how to get the id of the referential object |
We can get the id of current element and particular element by the following way.
Code example:
| |
how to pass values with the call reference |
Currently we haven’t provided support for passing value to events. We have added it to our feature request list and it can be tracked through our Features Management System:
|