Hi Aaron Khan,
Thanks for your update.
Query1 : “I have tried this and it works only if the contentUrl I pass it is different from the current contentUrl.”
We have validated this scenario and hence it is the behavior our setmodel. As per our EJ core standards, our setmodel will not allow the same value to be used.(i.e same contentUrl value).
Query2:” What I am trying to do is have it reload from the same url.”
For this case we suggest you to use the simple direct AJAX call to get the data from our URL and on success event we can append the data using the setContent public method.
|
function onclick1(e) {
$.ajax({ // use jQuery AJAX
type: 'GET',
success: function (data) {
$("#createDialog").ejDialog("setContent", data); // set the content using setContent method
$("#createDialog").ejDialog("refresh"); // refresh the Dialog to render the scroller properly
},
});
}
|
We have also prepared a sample below for your reference.
Please let us know if you need any further assistance.
Regards,
Arun P.