在果园的WebForms主题 [英] Orchard Theme in WebForms

查看:119
本文介绍了在果园的WebForms主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一般在果园MVC,我们用它来装点[主题]属性为控制器上述主题。但在这里我使用ASP.NET的WebForms。我无法获得果园的主题。我装修的属性如下:

  [主题]
公共部分类EmployeeInfo:System.Web.UI.Page
{    保护无效的Page_Load(对象发件人,EventArgs的发送)
    {    }
}


解决方案

主题与否主题,WebForms的不果园支持。

Generally in Orchard MVC we use to decorate the [Themed] attribute for themes above the controller. But here I'm using ASP.NET WebForms. I'm unable to get the orchard theme. I had decorated the attribute as follows :

 [Themed]
public partial class EmployeeInfo : System.Web.UI.Page
{

    protected void Page_Load(object sender, EventArgs e)
    {

    }
}

解决方案

Themed or not themed, WebForms are not supported in Orchard.

这篇关于在果园的WebForms主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆