Are there any issues with using IronPython and nested master pages?
I tried the following:
Create a simple master page ('ParentMP') with a header/footer/main content content place holders.
Create another master page ('ChildMP') inheriting from the first that provides content for the header and footer, then adds two more content place holders inside the 'main content' place holder from the master.
Create a simple aspx that inherits from puts a label ('Label1') in one of the ChildMP content areas.
Attempt to reference "Label1.Text = 'something'" from the Page_Load event. I get an error claiming that there is
no object reference for Label1.
If I set the aspx to use ParentMP as my master page, then the same code compiles just fine.
We investigated and this is indeed a bug in the CTP. We have a fix for it, so it should work in our next release (probably around late April or so). Thanks for reporting this!
David
Marked as answer by davidebb on Mar 12, 2007 01:45 AM
ChrisJAndrew...
0 Points
2 Posts
IronPyton and Nested Master Pages?
Mar 07, 2007 04:57 PM|LINK
Hi,
Are there any issues with using IronPython and nested master pages?
I tried the following:
If I set the aspx to use ParentMP as my master page, then the same code compiles just fine.
Any ideas?
Thanks,
Chris
davidebb
Contributor
7006 Points
1366 Posts
Microsoft
Re: IronPyton and Nested Master Pages?
Mar 12, 2007 01:44 AM|LINK
Hi Chris,
We investigated and this is indeed a bug in the CTP. We have a fix for it, so it should work in our next release (probably around late April or so). Thanks for reporting this!
David
ChrisJAndrew...
0 Points
2 Posts
Re: IronPyton and Nested Master Pages?
Mar 13, 2007 10:46 PM|LINK
Chris