hi,
i have a usercontrol with radgrid that have a RadTabStrip in its nestedviewtemplet and in tab there is usercontrols and each control has it's
i am using this code to update radgrids in all controls even the parent control
Dim ParentPageAjaxManager As RadAjaxManager = RadAjaxManager.GetCurrent(Page)
ParentPageAjaxManager.AjaxSettings.AddAjaxSetting(ParentPageAjaxManager,
Me.StudentsMasterProgramsListRadGrid)AddHandler ParentPageAjaxManager.AjaxRequest, AddressOf ParentPageAjaxManager_AjaxRequestwhen compile i get this error "Collection was modified; enumeration operation may not execute."
so i tried to remove this line
ParentPageAjaxManager.AjaxSettings.AddAjaxSetting(ParentPageAjaxManager, Me.StudentsMasterProgramsListRadGrid)from all child controls and leave it in the parent control and it worked!!
and rad grids in controls in nestedtemplete update like i want
but the problem when i want to use those child controls ((not in a rad grid))) then radgrids in child controls won't update by ajaxmanger .
could someone please explain this to me and gave me a solution .