日期:2014-05-17  浏览次数:20371 次

Repeater1嵌套Repeater2
怎么获取Repeater2中文本框的值

------解决方案--------------------
怎么获取Repeater2中文本框的值 js?,cs?
------解决方案--------------------
给截个图,问题会比较明白,
取单个的就用 (rpt1.findcontrol("rpt2").findcontrol("文本框ID") as TextBox).text

rep2中如果有多个id相同的textbox,我觉得可以使用rept2的 itemdatabinding 事件
(sender as textbox)。text