At what time declarative columns are created ?

2 posts, 1 answers
  1. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 12 Jan 2010 Link to this post

    Hello,

    Are declarative columns already created and accessible in:
    - OnPreInit
    - OnInit
    or later.

    Could I set the visible attribute for a column in OnInit ?
    And the default Grid sort Order ?

    If it can't be done here, where to set this to avoid a Rebind (assumed in OnpreRender.) ?

    Thanks

    CS
  2. Answer
    Veli
    Admin
    Veli avatar
    2002 posts

    Posted 12 Jan 2010 Link to this post

    Hello Christian,

    The earliest you can access declarative colums is OnInit, following the general MSDN guidelines on when control properties are available and can be modified:

    MSDN: ASP.NET Page Life Cycle Overview

    Best wishes,
    Veli
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top