We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Grid not show any data inside partial view

i call the partial view by Jquery.load 
but the grid show a strage string message  "Grouping_JSONTemplateGrouping_JSONTemplate"

is there any script or javascript can help me to solve this ? 

7 Replies

SA Saravanan Arunachalam Syncfusion Team October 19, 2015 01:51 PM UTC

Hi Mahmoud Salem,

Thanks for contacting Syncfusion Support

We have analyzed the reported query and we are sorry to let you know that we are unable to reproduce the reported issue and hence could you please share the following details?

1.     Share your console page if any script throws.

2.     Share your view page code.

3.     Reproduce the issue in the below sample.

We have created sample that can be downloaded from the below link:

Sample Location: https://www.syncfusion.com/downloads/support/forum/120816/ze/F1208161814993966

Please refer to the following online UG documents for the grid dependencies.

https://help.syncfusion.com/js/dependencies

https://help.syncfusion.com/js/grid/grid-dependencies


Regards,

Saravanan A.



MS mahmoud salem October 20, 2015 07:41 PM UTC

Hello Saravanan Arunachalam,


i make a demo for the issue, i think there are missing js or somethig , please help me 

Regards, 
Mahmoud salem 

Attachment: SyncfusionMvcApplication1_ba3c6631.zip


GV Gowthami V Syncfusion Team October 21, 2015 10:10 AM UTC

Hi Mahmoud,

Thanks for using Syncfusion products.

We have checked your demo and there the database file not loaded properly in AppData folder. So we have changed the datasource and run the sample.

But we are unable to reproduce the issue in your sample also.

We have attached the video file below for more clarification,

Video File: http://www.syncfusion.com/downloads/support/forum/120819/ze/sample-320223732

We have attached the sample with modified datasource below,

Sample Link: http://www.syncfusion.com/downloads/support/forum/120816/SY5B69~1593694046.ZIP

If we misunderstood your requirement, please provide below details,

1.       Did you faced sample issue while grouping or any other issue.

2.       Share the details of the issue if it is other issue.


Regards,
Gowthami V.



MS mahmoud salem October 21, 2015 04:27 PM UTC

Hello Gowthami,

thank you for fast reply and sorry for missed db file, i downloaded your updates but you remove my script and the same issue still exist, let me explain again:
- partial page is working perfect in browser "\home\data"
- i try to render that partial view inside home page "using Jquery.Load" and it get me that error.
- when remove the grouping it will show the data and every thing is okay, once add any column to group it show {Grouping_JSONTemplate}
1st image after remove grouping 

2nd one when add grouping 

and sorry for bad English.
Regards, 
Mahmoud Salem 

Attachment: SyncfusionMvcApplication3_bc9cf925.rar


GV Gowthami V Syncfusion Team October 22, 2015 01:48 PM UTC

Hi Mahmoud,

We can resolve your issue by removing the script files which are referred in both “Layout.cshtml” and “data.cshtml” files.

Refer to the below code example,

@using SyncfusionMvcApplication3.Models

@model IEnumerable<Table>

@{

    ViewBag.Title = "data";

    Layout = null;

}


<h2>data</h2>



@(Html.EJ().Grid<SyncfusionMvcApplication3.Models.Table>("Grouping")
. . . .
. . . .

)


@Html.EJ().ScriptManager()


As in the above code example, we can call the ScriptManager method alone instead of referring all the scripts and css files again.

We have modified your sample and attached below,

Sample Link: https://www.syncfusion.com/downloads/support/forum/120816/SYAF9D~1-863260348.ZIP

Regards,
Gowthami V.


MS mahmoud salem October 22, 2015 04:01 PM UTC

Thank you very much that working fine, 
you save me thanks you, 

Regards, 
Mahmoud Salem 


GV Gowthami V Syncfusion Team October 23, 2015 04:43 AM UTC

Hi Mahmoud,
 
We are happy to hear that your issue has been resolved.
 
Get back to us if you need further assistance.
 
Thanks & Regards,
 
Gowthami V.

Loader.
Live Chat Icon For mobile
Up arrow icon