1

Closed

InternalScriptManager cannot find the body element within nested Master Pages.

description

My proposed solution for this is to implement a "FindParentControlsByTagName" method in the AjaxControlUtils class to search up the server-side DOM for the <body> so that it can be found for N number of master page nestings. This fix will be made available within the next 24 hours.
Closed May 26, 2010 at 4:52 AM by peanutbutterlou
This has been fixed and is included in the 48819 changeset of the source code.

comments

peanutbutterlou wrote May 25, 2010 at 9:36 AM

I didn't think this through all the way at first. I will be solving this by implementing a "FindTopMostParent" method in the AjaxControlUtils class that will recursively find the top most parent of a Control. In most cases this utility method will return an instance of Page. Otherwise it will return an instance of MasterPage.

Many thanks to [url:GuillaumeNurdin|http://www.codeplex.com/site/users/view/GuillaumeNurdin] for experiencing and reporting this problem.

wrote May 26, 2010 at 4:52 AM

wrote Feb 13, 2013 at 2:48 AM

wrote May 15, 2013 at 11:25 PM