As the title states, I'm coming from a JQuery UI background, using the jQuery Dialog.
With JQuery UI, I just create a div like so: <div id="dlgQuestion" style="display: none;"></div>
Then I can show a dialog based on that div as often as I like with:
$('#dlgQuestion').dialog();
And if I close it using the escape key or a close button in the dialog, I can re-open it the same way without issues, the dom has not had the div removed.
I've successfully figured out how to show a kendo window wiith similar code:
but, once I close it I cannot show it again.
I've read through a lot of the documentation, but this is eluding me. I probably need to use a destroy function somehow before attempting to re-show it, but maybe someone could give me more precise guidance.
Side question, is coming from JQuery UI an advantage or a hindrance due to having to "un-learn" old habits?
Thanks, Bob Graham
With JQuery UI, I just create a div like so: <div id="dlgQuestion" style="display: none;"></div>
Then I can show a dialog based on that div as often as I like with:
$('#dlgQuestion').dialog();
And if I close it using the escape key or a close button in the dialog, I can re-open it the same way without issues, the dom has not had the div removed.
I've successfully figured out how to show a kendo window wiith similar code:
$("#dlgQuestion").kendoWindow({ actions: ["Minimize", "Maximize", "Close"], height: 500, width: 500, visible: true, position: { top: 100, left: 300 } });but, once I close it I cannot show it again.
I've read through a lot of the documentation, but this is eluding me. I probably need to use a destroy function somehow before attempting to re-show it, but maybe someone could give me more precise guidance.
Side question, is coming from JQuery UI an advantage or a hindrance due to having to "un-learn" old habits?
Thanks, Bob Graham