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.
Unfortunately, activation email could not send to your email. Please try again.

Basic MVC3 DataTable bound Grid not appearing

Thread ID:

Created:

Updated:

Platform:

Replies:

104889 Aug 26,2012 09:58 PM Sep 3,2012 08:40 AM ASP.NET MVC (Classic) 5
loading
Tags: Grid
Avi
Asked On August 26, 2012 09:58 PM

Hi,
I've just downloaded Syncfusion evaluation copy and am trying to get my Syncfusion grid to show up.
My setup is a simple VS2010 MVC3 project and I'm referencing the Syncfusion dlls from the bin (not from GAC. This is important for us to keep the dlls in the BIN and not have them installed). 

Looking at all the examples online -  I think I've all the code pieces including the web.config as defined but I'm not sure what am I missing to get this to work.

I'm attaching the sample project for reference. Any help will be greatly appreciated.

Thanks



SyncfusionGrid_f61f383f.zip

Bala Murugan A.S [Syncfusion]
Replied On August 27, 2012 03:08 AM

Hi Avi,

Thanks for using Syncfusion Products.

We suggest you to include MicrosoftAjax.js and MicrosoftMvcAjax.js to resolve your issue. Please refer the below code snippet.

[_layout.cshtml]

 <script src="@Url.Content("~/Scripts/MicrosoftAjax.js")" type="text/javascript"></script>
 <script src="@Url.Content("~/Scripts/MicrosoftMvcAjax.js")" type="text/javascript"></script>

For your convenience, we have modified your sample and the same can be downloaded from the below link.

Sample: http://www.syncfusion.com/downloads/Support/DirectTrac/97917/SyncfusionGrid-1488167781.zip

Please try the above modified sample and let us know if you have any other concerns.

Regards,
Bala Murugan A.S

Avi
Replied On August 27, 2012 10:10 AM

Hi,
Thanks for the quick reply. I was able to download and see the changes.

Regards

Bala Murugan A.S [Syncfusion]
Replied On August 27, 2012 11:46 PM

Hi Avi,

Thanks for your update.

Please let us know if you have any further assistance.

Regards,
Bala Murugan A.S

Avi
Replied On August 28, 2012 11:50 AM

I've another quick question - (Sorry for using the same post):
Do I need to install 'SyncFusion' as part of my deployment or can I just use the dlls from the bin?

I'm asking this because when I published this project on one of our servers - it didn't work giving me "Object Reference...." error on the line where I was using syncfusion.

Then I un-installed SyncFusion on my local dev machine and received the same error from this project.

It is important for our deployment to not have to install SyncFusion. Can you please let us know if there is a way to achieve this?

Thanks

Rakesh D [Syncfusion]
Replied On September 3, 2012 08:40 AM

Hi Avi,

 

Thanks for using Syncfusion products.

 

You can use the “dll” from your bin folder and no need to install syncfusion as part of your deployment. To solve the object reference error which you mentioned, add “Syncfusion.Theme.Base.dll” to your bin folder and run the project. Even after adding,  if the errors persits, send us the snapshot of stack trace and other error details so that we can help you to solve the error.

 

 

 

Please let me know if you have any concerns.

 

Regards,

Rakesh D


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.

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.

;