column header title from server

2 posts, 0 answers
  1. Pankaj
    Pankaj avatar
    10 posts
    Member since:
    Feb 2016

    Posted 21 Oct Link to this post

    i am building an asp.net MVC application. Requirement is to have kendo grid's header column titles coming from server and not hard coded. 

    how to achieve this using asp.net MVC. please guide.

     

     

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1798 posts

    Posted 25 Oct Link to this post

    Hi Pankaj,

    You can define the titles for your columns directly in the Model through the DisplayName attribute:
    [DisplayName("Product name")]
    public string ProductName

    You can also create your columns dynamically as shown in the following help topic:
    Hope this helps.


    Regards,
    Konstantin Dikov
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top