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 previously using the April2011 version and upgraded to the November2011 release and encountered the same issue. In my case, the activeTabIndexChanged event fires on tab 0 only as a result of a dropdown list changing. My code handles the dropdown list change and then the activeTabIndexChanged event fires when no no tab was selected. What happens is that the code to handle the tab change resets everything back to the default values and one can never enter data. To summarize, I backed off to the September2011 version and it is ok, and the error was introduced in the November2011 release. If SVN was supported, I could easily load the source code and walk the versions to find what change introduced the issue, but SVN appears to no longer be supported. And I would like to use the November release for vertical tab support.
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 previously using the April2011 version and upgraded to the November2011 release and encountered the same issue. In my case, the activeTabIndexChanged event fires on tab 0 only as a result of a dropdown list changing. My code handles the dropdown list change and then the activeTabIndexChanged event fires when no no tab was selected. What happens is that the code to handle the tab change resets everything back to the default values and one can never enter data. To summarize, I backed off to the September2011 version and it is ok, and the error was introduced in the November2011 release. If SVN was supported, I could easily load the source code and walk the versions to find what change introduced the issue, but SVN appears to no longer be supported. And I would like to use the November release for vertical tab support.