SP 4.1 SP1: Controls on Template Page Don't Show Through
I'm just going to cut to the chase cause i am beyond frustrated with this platform.
I upgraded from 4.0 SP1 to 4.1 SP1 and are now all the controls that are on a Page Template do not show up on any of the pages that use that Page Template. I'm not about to add the controls to over 200 pages on the site. That is the point of masterpages. The controls show up and render fine when viewing the page template in the backend. They even show up when u view a page, in the backend but when you view it on the frontend you get nothing regardless if you are logged in or not to the backend.
Fix this!
Hi Michael,
Do you use nested master pages? I saw similar problem when there are nested master pages and the IDs of the controls get lost if content placeholders in the child master are not valid. his results in placeholders displaying fine in Sitefinity backend, you are able to drag and drop content in them, but on the frontend version of the page the controls are not rendered.
sample
<
asp:Content
ContentPlaceHolderID
=
"ContentPlaceHolderHeader1"
runat
=
"server"
>
<
asp:Contentplaceholder
id
=
"ContentPlaceHolderHeader1
"
runat
=
"server"
/>
</
asp:Content
>
yes there are nested masterpages, but the names are unique. This worked perfectly fine in 4.0. Now i have to change everything just to make it work in 4.1?
i have the exact same behaviour. But the difference is, i dont use nested masterpages!
i can see my page template controls in the edit and preview mode, but not in live mode.
Strange!
Hello Dave,
1. Check whether you have needed permissions. It is better to test with an administrator
2. You can try to move the controls between the placeholder and publish the page to see if the controls will appear.
3. If the problem persists, open a support request and send FTP credentials from where we can get the project and set it locally.
Best wishes,
Ivan Dimitrov
the Telerik team
Hi Ivan
Thanks for your response
Well the first two steps didn't work.
But what did work is this:
In the LayoutControls i had div tags like this:
<
div
class
=
"someclass someotherclass sf_cols"
>
<
div
class
=
"someclass someotherclass sf_colsOut"
>
<
div
class
=
"someclass someotherclass sf_colsIn"
>
</
div
</
div
>
</
div
>
Then i made these changes and all worked again:
<
div
class
=
"someclass someotherclass"
>
<
div
class
=
"someclass someotherclass"
>
<
div
class
=
"someclass someotherclass"
>
<div class="sf_cols">
<div class="sf_colsOut">
<div class="sf_colsIn">
</div>
</div>
</div>
</
div
</
div
>
</
div
>
Strange isn't it? I had to change my CSS Files some but it works for now.
Hello Tudor,
I have followed the scenario you described, and still the issue does not reproduce. Here's what I did
1. Create a master page with 3 content placeholders
2. Create a template in Sitefinity, called "master" that's using the master page as template
3. Create a template in Sitefinity called "inner" based on "master"
4. Inside "inner" I have the 3 placeholders by default. I have placed a layout element in one of them and placed the TabStripTest control (the one I have shown you in a video form the there thread you had open on this topic).
5. For the sake of complete testing I have also tried these scenarios:
a) TabStripTest placed outside of the placeholders
b) TabStripTest placed in a layout element added to the "inner" template
In all the above scenarios the control is showing up in both design, preview, and live mode. I have also experimented with having multiple instances of the control on my page, which all worked fine (tab switching)/ Please let me know if the steps I've taken differ from what I've done, please let me know, so I can inspect this issue further.
Greetings,
Boyan Barnev
the Telerik team
Hello again,
I found the source of the problem, it wasn't the layout but another widget that was on the same page, widget that apparently was working fine.
Thanks for testing it anyway.