2 posts, 0 answers
  1. Tyler
    Tyler avatar
    9 posts
    Member since:
    Jun 2016

    Posted 22 Aug Link to this post

    We are using a wrapper to set certain default behavior for the RadGridView.

    While debugging a feature we disabled that was not working it appears that the grid.MasterTemplate.EndInit() method is resetting some properties back to their default.

    We have also overriden the MasterGridViewTemplate per this article: (


    Current Issue and solution we have implemented:

    Some properties (namely EnableHotTracking) that we set in the MasterTemplateGridViewElement override, or the GridView wrapper are getting reset to their defaults.  (Even some properties that are set from the designer are getting reset back to their defaults)

    Our work around now is to override the EndInit() method and inside, after base.EndInit(), we re-set the properties there were not holding their value.


    Is there a different way to do this?  Are we missing something?

  2. Dimitar
    Dimitar avatar
    1321 posts

    Posted 23 Aug Link to this post

    Hello Tyler,

    Thank you for writing.

    At the point where the EndInit method is executed a new TableElement is created as well. This is why the properties are reset. Some TableEelemnt properties are exposed on the grid as well and currently these properties will be reset if they are set at design time. This is considered an issue which I have logged in our Feedback Portal. You can track the item for status changes and add your vote for it here.

    To workaround this you can continue using your solution and set the properties after the EndInit method call.

    Your Telerik Points have been updated for this report.

    Should you have any other questions do not hesitate to ask.
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top