asp.net页面处理Web用户控件的错误 [英] Handling Web User Control error on asp.net page

查看:121
本文介绍了asp.net页面处理Web用户控件的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你是如何处理的Web用户控件的事件?我注意到我的自定义Web用户控件有一个事件调用的OnError但是当我调整控制失败就永远不会触发。控制基本上是一个自定义的GridView控件。我搜索web用户控件的事件处理过网,但我还没有找到一个文章,解决了我寻找。有人可以做一个快速的解释或我指向正确的方向?

How do you handle the Web User Control event? I notice my custom web user control have a event call OnError but it never fire when i tweak the control to fail. The control is basically a custom gridview control. I search for web user control event handling over the net but i haven't find a article that address what i looking for. Can someone do a quick explanation or point me to the right direction?

感谢

推荐答案

我想我找到我的答案。 http://msdn.microsoft.com/en-us/library/ms972975 #的.aspx usercontrols_topic5

I think i find my answers. http://msdn.microsoft.com/en-us/library/ms972975.aspx#usercontrols_topic5

我花了一段时间,但我认为这篇文章就是我要找的。我希望它可以帮助别人也是如此。

It took me a while but i think this article is what i'm looking for. I hope it can help someone else as well.

这篇关于asp.net页面处理Web用户控件的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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