Set WidgetBuilderBase ToHtmlString method as virtual?

2 posts, 0 answers
  1. dmorgan
    dmorgan avatar
    5 posts
    Member since:
    Oct 2012

    Posted 22 Aug 2014 Link to this post

    Hi I would like to suggest to set the ToHtmlString method in the  WidgetBuilderBase class as virtual so it can be used as an extensibility point.
    I wanted to add some logic before the call ToHtmlString using dynamic proxies on the builders and at the end it wasn't as straight forward as I would wanted it to be.
    I would have been a lot easier if the method was virtual and I think it is a harmless change.
  2. T. Tsonev
    T. Tsonev avatar
    2794 posts

    Posted 26 Aug 2014 Link to this post


    I fully agree. We'll make the ToHtmlString virtual for the next internal build, no worries.

    T. Tsonev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top