I am using jQuery Mobile for the switching between pages, even though this is primarily a desktop application.
Thanks so much for any info you can provide!
- Chris
Hi Chris,
Thank you for using Syncfusion products.
Query : Loading grid through ajax request after page load?’
To achieve your requirement we suggest you to use $.ajax to load the grid after page load. While using Ajax post scripts will not be evaluated. To overcome this use $.fn.sfEvalScripts(data) function in success action. Please refer below code snippet for further details.
<script type="text/javascript">
$.ajax({
type: "GET",
url: "ServerMode",
data: "",
datatype: "html",
success: function (data) {
$("#Target")[0].innerHTML = data;
$.fn.sfEvalScripts(data);
}
});
</script>
For your convenience we have prepared a sample for the above scenario and it is attached below. Please refer to it.
Please let us know if you have any concerns.
Rakesh D
Hi John,
We regret for the inconvenience caused.
Could you please provide us the
Essential Studio Version you using at your end ? So that we can modify the sample and provide it in the Essential Studio Version you are using.
Please refer below our online documentation for “How to avoid Grid Invisibility”.
Please let us know if you have any concerns.
Regards,
Rakesh D
Hi John,
We are sorry for the inconvenience caused.
Please refer the below link instead of our previous update.
http://help.syncfusion.com/ug/asp.net%20mvc/grid/default.htm#!documents/howtoavoidgridinvisi.htm
Please let us know if you need any further assistance.
Regards,
Ajith R