您的位置:首页 > 其它

为什么LoadPostData 执行不了, why the LoadPostData method was not be implement

2008-04-22 18:37 423 查看
发现

没有post回来的没有机会执行。

多个name相同的也不行, More input element have one name ( the same name)

哪为什么radiobutton可以执行到这个方法呢。,but we can see the raidobutton have the same name also

原来是在 page哪边注册了回调事件, because the radiobutton control is register the event on OnPreRender method.

protected override void OnPreRender(EventArgs e)

{

{

this.Page.RegisterRequiresPostBack(this);

}

}

我们也注册一下这个事情就可以了

then we register the event also.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐