编译文件dll时如何附加文件javascript并使用它们 [英] how to attach file javascript when compiler file dll and use them
本文介绍了编译文件dll时如何附加文件javascript并使用它们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好.我有一个问题
我有1个文件javascrit包含一些功能.现在,我想让我的库包含库javascript,并在添加库以使用库时使用它们.你能告诉我知道我怎么做吗?
谢谢大家
Hi everybody. i have one question
i have 1 file javascrit contain some function. Now i want compier my library contain file javascript and use them when a add acssembly to use library. could you show me to know how i do ?
thank everyone
推荐答案
非常感谢,我会尝试
当我设计一个控件时
公共类xTextBox:TextBox
{
this.Attributes.Add("onclick","test()");
}
我用JavaScript编写的功能测试.然后我建立了它.但是当我使用xTextBox时,出现1错误无法找到功能测试javascript.
我不知道该怎么办.请帮助我.
when i design one control
public class xTextBox:TextBox
{
this.Attributes.Add("onclick","test()");
}
the function test i wrote in javascript. then i built it. but when i use xTextBox the have 1 error can not find function test javascript.
i dont know what to do. plesse help me.
这篇关于编译文件dll时如何附加文件javascript并使用它们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文