Binding of Data from Data table(asp.net data control) with grid

Thread is closed for posting
14 posts, 0 answers
  1. Chirag
    Chirag avatar
    5 posts
    Member since:
    Nov 2011

    Posted 28 Nov 2011 Link to this post

    I am trying to bind data from asp.net data control(data table) to Kendo UI Grid.
    but i don't know how to bind data in grid using datasource
    & what should i give input parameter to datasource method of Kendo UI Grid.

    Does we have any other way to bind data other than JSON ?

    Please explain me with example.
     
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 29 Nov 2011 Link to this post

    Hello Chirag,

     Could you please clarify what are you trying to achieve? What do you mean by "data control (data table)"? 

     The Kendo UI grid can be bound to a datasource or to extend an existing <table> element. If bound to a datasource it can get the data from a JavaScript array or from a remote service which returns JSON or XML.

    Regards,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Chirag
    Chirag avatar
    5 posts
    Member since:
    Nov 2011

    Posted 29 Nov 2011 Link to this post

    Thanks for reply,

    I’m trying to integrate ASP.Net GridView control with Kendo UI framework (Grid).
    How can I integrate ASP.Net GridView Template Columns with Kendo UI framework (Grid) and also, i'm not able to implement sorting functionality into ASP.Net GridView using Kendo UI framework (Grid).

    I’m not binding data into GridView using DataSource property of Kendo UI framework (Grid); I’m binding the data into ASP.Net GridView from asp.net code behind. 

    In link http://demos.kendoui.com/grid/index.html  given Grid view example with code,
     but I’m not using <table id="grid"> or <div id=”grid”>.
     I’m using <asp:GridView ID="GridV" runat="server"> Asp.Net control.


    Please explain with example.
  4. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 29 Nov 2011 Link to this post

    Hi Chirag,

    If you are creating the kendo grid from existing table element sorting will treat all columns as "strings". This means that sorting numbers will not work properly. We will look into implementing this in a future release.

    As for templated columns the grid is currently encoding any HTML found in the existing table cells. We have fixed that and it will work as expected when released officially.

    Regards,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  5. Mangesh
    Mangesh avatar
    16 posts
    Member since:
    Sep 2011

    Posted 04 Dec 2011 Link to this post

    hi,

    I am also having some doubts regarding datasource. As in ASP.NET we normally binds RadGrid(Or Any other control) from code behind. But in Kendo UI all it happens through Json/xml. Can you please provide example which is similar way to bind control through code behind functions or through web service in C#?

    Kind Regards,
    Mangesh
  6. Chirag
    Chirag avatar
    5 posts
    Member since:
    Nov 2011

    Posted 05 Dec 2011 Link to this post

    Hi Atanas,

    I have attended webinar conducted by Kendo UI.

    As per your below comments, problem of column sorting with asp.net gridview in kendo UI grid control will be solved in future releases.
    In webinar mentioned next kendo UI releases will be in Q1 2012,the above issue will solved in Q1 2012 release?
    Please let us know.

    Please let us know the exact release date when the above issue will solved, so we can plan accordingly to purchase kendo UI. 

    Thanks.
  7. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 05 Dec 2011 Link to this post

    Hi Chirag,

    Yes, this issue will be resolved in the Q1 2012 release at the latest. We will probably fix it earlier. There will be a document containing all fixes/changes once we release an update.

    Regards,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  8. Chirag
    Chirag avatar
    5 posts
    Member since:
    Nov 2011

    Posted 06 Dec 2011 Link to this post

    Hi,

    I want to implement the below functionality with the use of Kendo UI Grid and Asp.Net GridView.

    For an example, I have total 50 records and I want to display first time first 10 records only, but when user click on 2nd (from Paging) needs to display records 11 to 20... same go ahead till 41 to 50.

    As per my assumption, Kendo UI Grid will load the all (50) records first time and then it will handle the paging and other functionality by itself ? 

    Thanks.

  9. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 08 Dec 2011 Link to this post

    Hello Chirag,

     Yes, your assumption is correct. Here is a demo showing how to enable paging for a Kendo grid which is created from a HTML table:


    Kind regards,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  10. Chirag
    Chirag avatar
    5 posts
    Member since:
    Nov 2011

    Posted 09 Dec 2011 Link to this post

    Hi Atanas,

    Thanks for your reply,

    I have tried to use kendo UI control in  Microsoft .Net framework 3.5 and 4.0, In framework 3.5 it's working fine but with framework 4.0 it's not working.

    Can you please tell me does Kendo UI supports Microsoft .Net framework 4.0 and Microsoft visual studio 2010 with it’s all controls?

    Thanks in advance.
  11. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 09 Dec 2011 Link to this post

    Hello Chirag,

     Kendo UI is an HTML5 framework and does *not* have any .NET or Visual Studio dependency. This means that it would work with any .NET version. Perhaps you have not configured properly Kendo UI. It is hard to tell why because you have not provided any details.

    Regards,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  12. Raveendra
    Raveendra avatar
    3 posts
    Member since:
    Apr 2011

    Posted 18 Jan 2012 Link to this post

    Hi,

                Can u provide sample for dropdown binding from database.

    Regards
    Raveendra
  13. Ravideep
    Ravideep avatar
    1 posts
    Member since:
    Mar 2013

    Posted 21 Mar 2013 Link to this post

    Hi All,

    I want to access data from datatable and display it in to Kendo UI grid using server side code. Is any way to solve this problem. if yes then reply asap.




    Thanks & Regards
    Ravideep Bansal
  14. gowtham
    gowtham avatar
    1 posts
    Member since:
    Mar 2013

    Posted 01 Apr 2013 Link to this post

    Hi All,

    I want to access data from datatable and display it in to Kendo UI grid using server side code. Is any way to solve this problem. if yes then reply asap.




    Thanks & Regards
    vinay
Back to Top