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 am seeing this exact same behavior. When in a GridView clicking a Select button (CommandName='Select'), and before the server side event OnSelectedIndexChanged for the GridView fires, the TabContainer fires the ActiveTabChanged event on its own. This appears to be a bug with the updated Nov2011 release (4.1.51116.0). This is a major problem, as I have some DataBind() statements for the GridView depending on the ActiveTab. This generates an Invalid Postback Event Validation Error. Please assist.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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