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.

Cannot DataBind a Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

118667 Mar 30,2015 11:56 PM Apr 2,2015 08:41 AM ASP.NET Web Forms 4
loading
Tags: Grid
Paul Yanzick
Asked On March 30, 2015 11:56 PM

Hello,

I am new to the control set... so please forgive me if this is obvious...

I decided I would try to start out easy and use the Grid control.  I replaced a grid I was using with the Grid control, and per the examples I should be able to use the DataSource and DataBind() property and method.. but they don't seem to exist.  I get the following error, for example:

'Syncfusion.JavaScript.Web.Grid' does not contain a definition for 'DataBind' and no extension method 'DataBind' accepting a first argument of type 'Syncfusion.JavaScript.Web.Grid' could be found.

It suggests maybe I am missing an assembly reference.. but not sure what I would be missing.  Any help would be greatly appreciated!

Thanks!

Paul Yanzick
Replied On March 31, 2015 12:45 AM

Figured this one out... grid still doesn't work (doesn't show up.. even using an example direct from documentation) but it compiles now.  Had to add a reference to Syncfusion.EJ as apparently that is not automatically added, and I didn't find this requirement in documentation anywhere.

Balaji Marimuthu [Syncfusion]
Replied On April 1, 2015 08:32 AM

Hi Paul,

Thanks for using Syncfusion Products.

Based on your requirement, we have created a simple sample. Please refer the sample for further details.
Sample: aspsample12.34.zip

We suspect that you have not referred the scripts and css files to the application. For creating the ASP.NET application, we should add the Syncfusion.EJ and Syncfusion.EJ.Web dll in the reference and scripts, CSS. Please refer the documentation in following links:
1. Documentation for how to create and add the dll’s, scripts, CSS in ASP.NET:
http://help.syncfusion.com/ug/js/default.htm#!documents/creatingyourfirstapp.htm

2. Documentation for creating the Grid in ASP.NET:
http://help.syncfusion.com/ug/js/default.htm#!documents/createyourfirstgridi2.htm
Please let us know if you have any queries.


Regards,
Balaji Marimuthu

Paul Yanzick
Replied On April 1, 2015 08:46 AM

Hello,

Thanks for your reply.  I have gotten past this point now, but am running into a CSS issue with the control... seems something is overriding some of its styles and not sure how to handle that yet.  I will look at the example you prepared a bit later today though.  Thanks!

Paul

Balaji Marimuthu [Syncfusion]
Replied On April 2, 2015 08:41 AM

Hi Paul,

Thanks for your update.

We will wait for your response. Please get back to us if you need any further assistance.

Thanks,
Balaji Marimuthu

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.

;