你好:
<script type="text/javascript">
function TabSelect() {
var returnsValue; // Type: wijtabs
$(".TabsExtender1").wijtabs({
select: function (e, args) {
alert(args.toString());
}
});
// Parameters
var index; // Type: undefined
returnsValue = $(".TabsExtender1").wijtabs("select", index);
}
</script>
...
<wijmo:C1TabsExtender ID="TabsExtender1" runat="server" TargetControlID="anelFee" OnClientSelect="TabSelect" />
<aspanel ID="anelFee" runat="server">
...
增加javascript code想先取得用戶選取頁面,再控制載入時保留原頁面,用alert攔截不到select event,看來我不了解如何運作
再麻煩補充示例
Thanks |