English 中文(简体)
为执行《章程》增加文字/网络资源
原标题:Adding script/web resources for ScriptControl implementation

我不熟悉像样子,因此,我的问题可能是sil笑的。

为自我教育的目的,我在Ap.net ajax控制图书馆工作,我不清楚如何为我的班级图书馆项目增加文字/网络资源。

我在AsenblyInfo.cs上增加了以下线。

[assembly: WebResource("BlackGoat.UI.Controls.TooltipControl.Tooltip.js","text/javascript")]
[assembly: ScriptResource("BlackGoat.UI.Controls.TooltipControl.Tooltip.js","BlackGoat.UI.Tooltip", "BlackGoat.UI.Resource")]

The relative path to the javascript file is ControlsTooltipControlTooltip.js ,然而,名录ControlTooltipControl。 不是航天供应商,因此我不敢确定我应如何具体指明议会名称空间。

Any clarification would be appreciated. Thanks in advance.

最佳回答

床位的资源确实使用记号作为名称空间,如果你的缺名空间是<代码>的话。 BlackGoat.UI, 和 倍数为ControlsTooltipControl。 BlackGoat.UI.Controls.TooltipControl. that s how the framework do it within.

查阅:

在您的日本宇宙航空研究开发机构控制下,将“全称”改为“全称”和“大会”的名称(而不是“选择”)。

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签