Q3 2011GroupByFields Medium Trust

3 posts, 0 answers
  1. Juan Carlos
    Juan Carlos avatar
    17 posts
    Member since:
    Feb 2011

    Posted 18 Nov 2011 Link to this post

    Hi,
    I´m getting a System.Security.SecurityException when I use GroupByFields in the GridGroupByExpression section in the RadGrid.
    It seems this property can not be used under medium trust with Q3 2011.
    There is any workaround?
    Best regards.
    Juan Carlos.
  2. Juan Carlos
    Juan Carlos avatar
    17 posts
    Member since:
    Feb 2011

    Posted 21 Nov 2011 Link to this post

    Hi,
    If you set  EnableLinqGrouping="False" in the MasterTableView, the RadGrid is Medium Trust compatible.
    Best regards.
    Juan Carlos.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 23 Nov 2011 Link to this post

    Hi Juan,

    Indeed I verified that the described issue exists in our latest version of the controls. It seems that the problem is related with the new grouping mechanism introduced with the latest version of the controls. However our developers are aware and they will start working on the resolution of this issue. To avoid the exception you could setting the RadGrid.MasterTableView.EnableLinqGrouping property to "false".

    In Q3 2011 release we have a new Linq based grouping which is turned on by default. This type of grouping has a huge performance optimization and internally uses Dynamic Linq for grouping. Also this grouping is controlled by the MasterTableView.EnableLinqGrouping property(default value is "true"). More information you could find here:
    http://blogs.telerik.com/aspnet-ajax/posts/11-11-08/super-charged-performance-optimizations-for-telerik-s-asp-net-ajax-grid-in-q3-2011.aspx

    Regards,
    Radoslav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top