English 中文(简体)
为什么不控制Asp.Net,就会发现与......相同的事件?
原标题:Why don’t Asp.Net controls expose the same events as…?

www.un.org/Depts/DGACM/index_spanish.htm

用户控制也收到与页标相同的事件,同样也与页标语一样,也暴露了申请、开庭、请求和反应物体。 我认识到,用户组和页数都从相同的温度组继承,因此也分享了这么多相同的方法和活动。

但是,为什么不控制文本Box、Label、GredView等同页和用户组别一样的类别——换言之,为什么像文本Box这样的控制活动(Load等)与用户组和页级相同,会成为一种坏的想法?

www.un.org/Depts/DGACM/index_spanish.htm

谢谢。

问题回答

造成这种情况的唯一最可能原因是将自动通风网封顶的序列化规模减少到最低限度。 每当你在网上插播一个手节目时,都会通过将节目集到头上来,坚持要求各页。 只有通过暴露方法(以树木为时装)才能被压倒,否则,你就不必将这种方法的电话序列化。





相关问题
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!

热门标签