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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid not show any data inside partial view

Thread ID:

Created:

Updated:

Platform:

Replies:

120816 Oct 18,2015 11:16 AM UTC Oct 23,2015 04:43 AM UTC ASP.NET MVC 7
loading
Tags: Grid
mahmoud salem
Asked On October 18, 2015 11:16 AM UTC

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 ? 

Saravanan Arunachalam [Syncfusion]
Replied On 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: http://www.syncfusion.com/downloads/support/forum/120816/ze/F1208161814993966

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

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

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


Regards,

Saravanan A.


mahmoud salem
Replied On 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

Gowthami V [Syncfusion]
Replied On 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.


mahmoud salem
Replied On 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

Gowthami V [Syncfusion]
Replied On 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: http://www.syncfusion.com/downloads/support/forum/120816/SYAF9D~1-863260348.ZIP

Regards,
Gowthami V.

mahmoud salem
Replied On October 22, 2015 04:01 PM UTC

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

Regards, 
Mahmoud Salem 

Gowthami V [Syncfusion]
Replied On 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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;