This question is locked. New answers and comments are not allowed.
Hi,
I have used Server Hierarchy of grid.
In that, I have displayed "No Record Found" message instead of empty grid if child list is null.
Code is as follows:
Please see attached image for the given view.
Now I want to do this by using Ajax Hierarchy of grid.
Is it possible?
If yes please tell me how is it possible?
Thanks & Regards,
Chandran
I have used Server Hierarchy of grid.
In that, I have displayed "No Record Found" message instead of empty grid if child list is null.
Code is as follows:
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="MvcApplication3.Views.Home.HierarchyServer" %> <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> HierarchyServer </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> <h2> HierarchyServer</h2> <%Html.Telerik().Grid(Model) .Name("Grid") .DetailView(detailView => detailView.Template(e => { if (e.dept != null) { %> <% Html.Telerik().Grid(e.dept) .Name("Child_" + e.empid) .Render(); } else { %> <div> No Record Found</div> <% } })) .Render();%> </asp:Content> Please see attached image for the given view.
Now I want to do this by using Ajax Hierarchy of grid.
Is it possible?
If yes please tell me how is it possible?
Thanks & Regards,
Chandran