如何键入强制转换的ASPX ......._ ascx控件. [英] How to type cast ASPX......._ascx controls.
问题描述
您好,
目前,我正在研究解决方案中网站的要求.我在文件夹"app/taxonomy/learnerSearch"中编写了用户控件.关于虚拟目录.用户控件名称是ToggableCheckList.为此创建的类是文件夹名称和控件名称与文件夹名称中带有"_"的连接.作为分隔符.它是从System.Web.UI.UserControl继承的,如下所示.
app_taxonomy_learnerSearch_ToggableCheckList:System.Web.UI.UserControl
类似地,我还编写了一个用户控件
app_taxonomy_learnerSearch_ToggableFilterItem:System.Web.UI.UserControl
在主页中,我包括了两个用户控件.
Hi,
Currently I am working on requirement where in the solution is web site. I have written user controls in the folder "app/taxonomy/learnerSearch" with respect to virtual directory. The user control name is ToggableCheckList. The class created for this is concatenation of folder names and control name with folder names with "_" as seperator. It was inherited from System.Web.UI.UserControl, as shown below.
app_taxonomy_learnerSearch_ToggableCheckList : System.Web.UI.UserControl
Similarly I have written one more user control
app_taxonomy_learnerSearch_ToggableFilterItem : System.Web.UI.UserControl
In the main page I have included two user controls.
<TFI:ToggableCheckList ID="tclActivityType" runat="server" />
< TFI : ToggableFilterItem ID =" tfiActivityType" runat =服务器" />
<TFI:ToggableFilterItem ID="tfiActivityType" runat="server" />
推荐答案
Thank you for your post! I would suggest posting your question in one of the Home ›
这篇关于如何键入强制转换的ASPX ......._ ascx控件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!