Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: TabContaner's ActiveTabChanged fires always with new release [27048]

$
0
0
Hello,

i've recently installed the november 2011 release of the AjaxControlToolkit.

Afterwards the ActiveTabChanged event of the TabContainer always fires even if it has not changed.
This causes several exceptions in my application.

I would assume that Request.Params("__EVENTTARGET") should be the TabContainer when this event is triggered but it's value is (correctly) a GridView that causes the page to reload via SelectedIndexChanged event.

Request.Params("__EVENTTARGET") = "ctl00$MainContent$TabContainer1$TabDeliveryControl$SVCSDeliveryControl$GrdCharge"
Request.Params("__EVENTARGUMENT") = "Select$0"

I'm adding a js-click event in RowCreated of the GridView, if that matters:
e.Row.Attributes("onclick") = Me.Page.ClientScript.GetPostBackClientHyperlink(Me.GrdCharge, "Select$" & e.Row.RowIndex)




Comments: I was able to get things to work by removing the autopostback from the tabcontainer and using this code to switch the tabs myself. http://stackoverflow.com/questions/5662802/ajax-toolkit-tabcontainer-can-i-capture-the-active-tab-panel-changing-event

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>