阅读背景:

在EventHandler中访问RepeaterItem控件

来源:互联网 

I have a page with a repeater in it. I'm writing an event handler so that when the user clicks my WebControl button, the event handler for said button iterates through the items in the repeater using FindControl, then uses some of the controls' values. It seems though, that after the page is loaded, the repeater items populate, but when the button is clicked to post this back, as I iterate through the repeater items, I'm seeing that they're all empty. I don't completely understand the sequencing, but I'm assuming it's because my iteration code is trying to access RepeaterItems that haven't been set yet.I have a page with a repeater in it. I'm writin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: