Как скрыть панель параметров для in-place Reports?

17 views
Skip to first unread message

Valeriy Osipov

unread,
May 27, 2019, 9:50:36 AM5/27/19
to Russian DevExpress XAF
Решение этой проблемы, описанное тут, вызывает ошибку

Type:       InvalidOperationException
Message:    Actions with the duplicate 'ShowInReportV2' identifier are detected in the 'DevExpress.ExpressApp.ReportsV2.Web.WebPrintSelectionController' and 'Energy.Module.Controllers.Activities.MyPrintSelectionController' controllers. For a solution, see http://www.devexpress.com/kb=T191034.
Data:       0 entries

Павел Олейник

unread,
May 30, 2019, 5:53:07 AM5/30/19
to Russian DevExpress XAF
Вы должны свой контроллер перенести в Module.Web и унаследоваться от  WebPrintSelectionController.

Причина в том, что стандартный WebPrintSelectionController унаследован от PrintSelectionBaseController и Вы свой контроллер наследуете от PrintSelectionBaseController. В итоге у вас 2 акшина с ИД ShowInReportV2

понедельник, 27 мая 2019 г., 16:50:36 UTC+3 пользователь Valeriy Osipov написал:
Reply all
Reply to author
Forward
0 new messages