在用户控件中找到控件 [英] finding control inside the user control

查看:68
本文介绍了在用户控件中找到控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我该如何找到用户控件内的控件(findcontrol)

how can i find out the control(findcontrol) inside the user control
that is added to page(rendered in master page) at runtime.

推荐答案

看看方法 [
Have a look at http://weblogs.asp.net/dwahlin/archive/2006/08/25/Finding-ASP.NET-Child-Controls_2E002E002E002E00_The-Simple-Way.aspx[^].

You can also check out Control.FindControl method[^].


这篇关于在用户控件中找到控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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