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

Unable to use Data Manager

Sir, I used   Data Manger to bind Grid view from Data base, but   Data is  not able to load on to Grid view, This problem occurs only when we use  Data Manger , But when we use  Data Source and bind the data, then data  load onto the grid view perfectly , But I am not able to Understand why it occurs only in  Data  manager control

1 Reply

RU Ragavee U S Syncfusion Team June 5, 2015 11:40 AM UTC

Hi Bhawesh,

Thanks for your interest in Syncfusion products.

DataManager is used to bind relational data to the grid dataSource. The required query operation performed on the data and thus the desired result is obtained.

Any adaptor type (such as webApi, OData, JSON and URL) can be set when dataManager is used for binding data to grid. For more information on DataManager, please refer the below online docmentation link.

Online Documentation Link: http://help.syncfusion.com/ug/js/index.html#!Documents/overview13.htm

Online Documentation Link for Data Adaptors: http://help.syncfusion.com/ug/js/index.html#!Documents/dataadaptors.htm

For your convenience, we have created a simple sample by binding dataSOurce to grid using Data Manager. The sample can be downloaded from the below location.

Sample Link: http://www.syncfusion.com/downloads/support/forum/119310/ze/Sample-391576421

In the above sample, we have used webServices and have used URLAdaptor in order to get the JSON data from the webservices. Please refer the below code snippet.

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">

    <ej:Grid ID="Grid" runat="server" AllowPaging="true">

        <DataManager Adaptor="UrlAdaptor" URL="Default.aspx/GetDataSource" />       

    </ej:Grid>

</asp:Content>


Please get back to us if you need any further assistance.

Regards
Ragavee U S

Loader.
Live Chat Icon For mobile
Up arrow icon