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

Syncfusion Grid didn't display any data.

hi,

  I created mvc project. In that i added syncfusion grid control. I bind the grid as per samples for syncfusion grid. It didn't display any error message, But i can't see the data. I attached my project in this thread. This project doesn't use any database, i am binding using static list. do you have any idea about this problem?


WLNTraderTool_POC_af7c7874.rar

3 Replies

ES Eswari S Syncfusion Team March 21, 2013 10:13 AM UTC

Hi Giri,

 

Thank you for using Syncfusion products.

 

The cause of the issue is , ScriptManager and Microsoft scripts are not added in the sample. Please refer to the following online UG link to resolve Grid Invisibility issues.

 

http://help.syncfusion.com/ug/asp.net%20mvc/grid/default.htm#!documents/520howtoavoidgridinvisibility.htm

 

Also , Please ensure to use same assembly version all over the sample. In your sample , assemblies and Hanlders version number are different. Please refer to the following code snippets:
 
 <system.web>
    <compilation debug="true" targetFramework="4.0">
      <assemblies> . ..         
        <add assembly="Syncfusion.Core, Version=11.104.0.21, Culture=neutral, PublicKeyToken=632609B4D040F6B4"/>
        <add assembly="Syncfusion.Shared.Mvc, Version=11.134.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>
        <add assembly="Syncfusion.Grid.Mvc, Version=11.134.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>
        <add assembly="Syncfusion.Linq.Base, Version=11.104.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>
        <add assembly="Syncfusion.Theme.Base, Version=11.104.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>
      </assemblies>
    </compilation>
. . . .  // Handlers
 
    <httpHandlers>
 
 <add verb="GET,HEAD" path="MvcResourceHandler.axd" type="Syncfusion.Mvc.Shared.MvcResourceHandler,
           Syncfusion.Shared.Mvc, Version=11.134.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" validate="false"/>
 
    </httpHandlers>
  </system.web> 
  <system.webServer>
    .. . . 
 <add verb="GET,HEAD" name="MvcResourceHandler" path="MvcResourceHandler.axd" type="Syncfusion.Mvc.Shared.MvcResourceHandler,
           Syncfusion.Shared.Mvc, Version=11.134.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>
    </handlers>
  </system.webServer>
 

We have modified the sample for your reference and the same can be downloaded from the following link:

 

http://www.syncfusion.com/downloads/Support/DirectTrac/105667/WLNTraderTool_POC985379076.zip

 

Please try this and let us know if you have any queries.

 

Regards,

Eswari S



GP Giri Prasad March 21, 2013 11:33 AM UTC

Thank you, its working


ES Eswari S Syncfusion Team March 22, 2013 04:52 AM UTC

Hi Giri,

Thanks for your update.

We are happy to hear that everything is working fine.

Please let us know if you have any other queries.

Regards,
Eswari S

Loader.
Live Chat Icon For mobile
Up arrow icon