I have a quite complex nested controls scenario so I wasn't sure to post here on in the RadGrid section anyway..
The control chain is this:
RadGrid (HierarchyLoadMode = "Conditional") > NestedViewTemplate > Panel > RadMultipage (RenderSelectedPageOnly = "false") > UserControl > FormView
Inside the FormView I have some RadScriptBlock that provide functions or some page load initialization.
Just to make an example (that I'm trying to use for debugging as well) let's say inside the ItemTemplate of the FormView I have
While inside the EditItemTemplate of the FormView I don't have this script.
I expand the RadGrid nested view of a row and initialize the FormView inside my User Control to FormViewMode = Edit.
So the script inside ItemTemplate it's not fired and that's correct.
Same thing of course apply if I expand the RadGrid NestedViewTemplate with FormView inside in FormViewMode = ReadOnly (script works) then after ajax postback I switch to FormViewMode = Edit (no script there it's ok) then after another ajax postback switch back to FormViewMode = ReadOnly (script doesn't work anymore)
I don't know where in the chain is the culprit if in Multipage rendering behaviour or in RadGrid or in ajax or it's not even tied to Telerik controls (in this case forgive me for the question and you can delete the topic).
Any hint? This is driving me crazy.. :)