页面加载事件不会在ASP.NET Web Control上触发 [英] Page Load Event doesnt trigger on ASP.NET Web Control
本文介绍了页面加载事件不会在ASP.NET Web Control上触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有这个单一的网页控件在页面加载事件的标签上设置一些字符串...
Hi,
I have this single web control setting some strings on labels at the page load event...
protected void Page_Load(object sender, EventArgs e)
{
Label1.Text = "SomeText here";
}
但是这个页面加载事件不会触发......可能的原因是什么,
我处于起始位置,目前我在页面上只有一个标签用于测试...
此控件正在DotnetNuke中使用....
But this page Load event doesnt trigger... Whats the possible reason,,
I am at the starting position, and currently I have only one label on the page for testing...
This control is being used in DotnetNuke....
推荐答案
谢谢大家,,,我弄错了...
我有将我项目的dll文件复制到dotnetnuke的bin文件夹,,,
我忘了这样做,,,
谢谢为了你的支持:)
Hi,
Thanks all,,, I get my mistake...
I had to copy the dll file of my project to the bin folder of dotnetnuke,,,
I forgot to do so,,,
Thanks for all your support :)
这篇关于页面加载事件不会在ASP.NET Web Control上触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文