RadGrid NestedViewTemplate Hierarchy with Programmatic Binding and Accessing Controls

1 posts, 0 answers
  1. Eyup
    Eyup avatar
    11 posts
    Member since:
    Oct 2012

    Posted 01 Oct 2018 Link to this post

    Requirements


    Telerik Product and Version

    3.5+

    Supported Browsers and Platforms

    All browsers supported by Telerik UI for ASP .NET AJAX

    Programming language

    C#, JavaScript

    PROJECT DESCRIPTION

    This sample demonstrates the proper way of programmatic binding of RadGrid hierarchy with NestedViewTemplate. The difference with standard NeedDataSource event handler binding is that the inner grid also requires the DataBinding event. This sample actually demonstrates a lot more to be fair, one of the main things being accessing controls which are residing inside the nested template. Here is a list of the demonstrated implementations:

    1. Grid - Hierarchy with Templates
    2. How to bind RadGrid properly on server-side
    3. Access Telerik Controls on Client-Side
    4. Server-side item.GetDataKeyValue() and Client-side item.getDataKeyValue()
    5. GetItem() method
    6. Registering script from server-side like in Opening RadWindow from the Server


     


Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.