ASP.NET
文章平均质量分 90
sunlovesusu
这个作者很懒,什么都没留下…
展开
-
Handle UserControl raised event (2): Raising Timing
Following the last post: Handle UserControl raised event. We will have a look at the timing of such event raised.The UserControl event raise timing depends how the event is implemented in the UserControl. In the last post, we have a UserControl event “Text原创 2010-11-19 20:44:00 · 580 阅读 · 0 评论 -
Handle UserControl raised event
What is the need?The scenario is I have a user control which contains a set of textboxes. When the text of a textbox is changed, I want handle this event in the page which contains the user control.How to do this?This could be done in 4 steps. 2 in the use原创 2010-11-17 08:29:00 · 780 阅读 · 0 评论 -
How to get DataKey, RowIndex or Row from a GridView row event
When using a GridView, it's very common to raise an event from a control inside the GridView and then handle it in the code behind file. In most cases, we need know which row that control is in and what is the row index or the values of DataKey in that row原创 2010-11-07 01:13:00 · 1026 阅读 · 0 评论