FineUI 官方论坛

标题: 【经验分享】动态增加的标签页不会触发选项卡控件的OnTab... [打印本页]

作者: sanshi    时间: 2020-2-4 12:30
标题: 【经验分享】动态增加的标签页不会触发选项卡控件的OnTab...
这是一个来自美国客户的提问:

I tried with postback event but the problem is that the event is not working with dynamically added tabs. My use case is that the page with the timer is opened when the user clicks on the left navigation bar (like the menu on the index.aspxpage), and I want to fire this tabchange event on the dynamically added tabs too.

I provided also an example to reproduce the issue: tabstrip_dynamicpage_autopostback.zip. The autopostback event will not fire for the dynamically added tabs.

[attach]12209[/attach]





欢迎光临 FineUI 官方论坛 (https://www.fineui.com/bbs/) Powered by Discuz! X3.4