I have multiple ajaxsettings where I want certain items to be updated, but it appears that items I haven't specified to be updated are being updated.
Here is an example:
var designSetting = new AjaxSetting(SelectDesignControl.ListControl.UniqueID);
designSetting.UpdatedControls.Add(new AjaxUpdatedControl(SelectProductControl.UniqueID, string.Empty));
designSetting.UpdatedControls.Add(new AjaxUpdatedControl(SelectInsertControl.UniqueID, string.Empty));
designSetting.UpdatedControls.Add(new AjaxUpdatedControl(HeroPanel.UniqueID, string.Empty));
designSetting.UpdatedControls.Add(new AjaxUpdatedControl(AddToBagControl.UniqueID, string.Empty));
ajaxManager.AjaxSettings.Add(designSetting);
var productSetting = new AjaxSetting(SelectProductControl.ListControl.UniqueID);
productSetting.UpdatedControls.Add(new AjaxUpdatedControl(SelectInsertControl.UniqueID, string.Empty));
productSetting.UpdatedControls.Add(new AjaxUpdatedControl(HeroPanel.UniqueID, string.Empty));
productSetting.UpdatedControls.Add(new AjaxUpdatedControl(AddToBagControl.UniqueID, string.Empty));
ajaxManager.AjaxSettings.Add(productSetting);
When selectproductcontrol.listcontrol is fired I don't want it to update itself, but it does. If i comment it out of the designsetting then it doesn't update. I need to have it included in that setting though.
I believe this is because the selectproductcontrol is wrapped in an updatecontrol since it is part of the previous setting. Is there anyway to make it so the selectproductcontrol is not updated when an event in it is fired?
Here is an example:
var designSetting = new AjaxSetting(SelectDesignControl.ListControl.UniqueID);
designSetting.UpdatedControls.Add(new AjaxUpdatedControl(SelectProductControl.UniqueID, string.Empty));
designSetting.UpdatedControls.Add(new AjaxUpdatedControl(SelectInsertControl.UniqueID, string.Empty));
designSetting.UpdatedControls.Add(new AjaxUpdatedControl(HeroPanel.UniqueID, string.Empty));
designSetting.UpdatedControls.Add(new AjaxUpdatedControl(AddToBagControl.UniqueID, string.Empty));
ajaxManager.AjaxSettings.Add(designSetting);
var productSetting = new AjaxSetting(SelectProductControl.ListControl.UniqueID);
productSetting.UpdatedControls.Add(new AjaxUpdatedControl(SelectInsertControl.UniqueID, string.Empty));
productSetting.UpdatedControls.Add(new AjaxUpdatedControl(HeroPanel.UniqueID, string.Empty));
productSetting.UpdatedControls.Add(new AjaxUpdatedControl(AddToBagControl.UniqueID, string.Empty));
ajaxManager.AjaxSettings.Add(productSetting);
When selectproductcontrol.listcontrol is fired I don't want it to update itself, but it does. If i comment it out of the designsetting then it doesn't update. I need to have it included in that setting though.
I believe this is because the selectproductcontrol is wrapped in an updatecontrol since it is part of the previous setting. Is there anyway to make it so the selectproductcontrol is not updated when an event in it is fired?