When I enable the DynamicServicePath+DynamicMethod+DynamicContext key, the tabs are dynamically populated on every selection. This happens due to this behavior in Tabs.js:
if (!this._dynamicPopulateBehavior && this._dynamicServiceMethod) {
this._dynamicPopulateBehavior = $create(AjaxControlToolkit.DynamicPopulateBehavior,{"ContextKey":this._dynamicContextKey,"ServicePath":this._dynamicServicePath,"ServiceMethod":this._dynamicServiceMethod}, {"populated":this._dynamicPopulate_onpopulated$delegate}, null, this.get_element());
If instead the behavior was the two scenarios would be supported out of the box
if (!tabBinary._dynamicPopulateBehavior && tabBinary._dynamicServiceMethod) {
tabBinary._dynamicPopulateBehavior = $create(AjaxControlToolkit.DynamicPopulateBehavior,{"ContextKey":tabBinary._dynamicContextKey,"ServicePath":tabBinary._dynamicServicePath,"ServiceMethod":tabBinary._dynamicServiceMethod,"UpdatingCssClass":"dynamicPopulate_Updating","cacheDynamicResults":true}, {"populated":tabBinary._dynamicPopulate_onpopulated$delegate}, null, tabBinary);
Comments: This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please file a new issue.
if (!this._dynamicPopulateBehavior && this._dynamicServiceMethod) {
this._dynamicPopulateBehavior = $create(AjaxControlToolkit.DynamicPopulateBehavior,{"ContextKey":this._dynamicContextKey,"ServicePath":this._dynamicServicePath,"ServiceMethod":this._dynamicServiceMethod}, {"populated":this._dynamicPopulate_onpopulated$delegate}, null, this.get_element());
If instead the behavior was the two scenarios would be supported out of the box
if (!tabBinary._dynamicPopulateBehavior && tabBinary._dynamicServiceMethod) {
tabBinary._dynamicPopulateBehavior = $create(AjaxControlToolkit.DynamicPopulateBehavior,{"ContextKey":tabBinary._dynamicContextKey,"ServicePath":tabBinary._dynamicServicePath,"ServiceMethod":tabBinary._dynamicServiceMethod,"UpdatingCssClass":"dynamicPopulate_Updating","cacheDynamicResults":true}, {"populated":tabBinary._dynamicPopulate_onpopulated$delegate}, null, tabBinary);
Comments: This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please file a new issue.