开发者

Events doesn't fire when using UpdatePanel

What I did is, I have made 2 user controls. One control is inside the other.

NoW one control has a buttton and a data grid and datalist in it. When pressing button I am filling datagrid while datalist visiblity false. This is working fine. But now when I press some link button in datalist data, i开发者_运维问答t should call item_command event but it is not calling.

I have also used a Updatepanel as a wrapper(all controls are inside it).

Please suggest what may be the reason for that.

Thanks


Set the enablePartialRendering to False of the ScriptManager like this

<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="false">

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜