Microsoft Content Management Server - AllTagsHtmlPlaceholderControl

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > October 2006 > AllTagsHtmlPlaceholderControl





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author AllTagsHtmlPlaceholderControl
Arjuna

2006-10-19, 1:20 am

Hi Stefan,
This is to do with the AllTagsHtmlPlaceholderControl. Lets say you switch to
HTML view and insert the following into the HTML source of the
AllTagsHtmlPlaceholderControl

<INPUT id=Checkbox1 onclick=SetCheckedValue() type=checkbox>abcd <INPUT
id=Checkbox2 type=checkbox>
<SCRIPT language=javascript>
function SetCheckedValue()
{
alert('Hello World');
}
</SCRIPT>

This works fine on the same Posting. Now create a Connected Posting. You
will notice that once the Posting is rendered it shown the raw HTML in the
normal view of the Placeholder. Is there any fix to this.

Thanks
Arjuna.
Stefan [MSFT]

2006-10-19, 7:25 am

Hi Arjuna,

sounds as if you have a regulare html placeholder control on your connected
template and not the AllTagsPlaceholderControl.
You need to use the AllTagsPlaceholderControl also on your connected
template.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights


"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:A4D302C5-E561-4B2A-8704-8192D52EB050@microsoft.com...
> Hi Stefan,
> This is to do with the AllTagsHtmlPlaceholderControl. Lets say you switch
> to
> HTML view and insert the following into the HTML source of the
> AllTagsHtmlPlaceholderControl
>
> <INPUT id=Checkbox1 onclick=SetCheckedValue() type=checkbox>abcd <INPUT
> id=Checkbox2 type=checkbox>
> <SCRIPT language=javascript>
> function SetCheckedValue()
> {
> alert('Hello World');
> }
> </SCRIPT>
>
> This works fine on the same Posting. Now create a Connected Posting. You
> will notice that once the Posting is rendered it shown the raw HTML in the
> normal view of the Placeholder. Is there any fix to this.
>
> Thanks
> Arjuna.



Arjuna

2006-10-19, 7:25 am

Hi Stefan,

The connected template is the same template as the original one and it has
the AllTagsPlaceholderControl.

Thanks
Arjuna.

"Stefan [MSFT]" wrote:

> Hi Arjuna,
>
> sounds as if you have a regulare html placeholder control on your connected
> template and not the AllTagsPlaceholderControl.
> You need to use the AllTagsPlaceholderControl also on your connected
> template.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
> news:A4D302C5-E561-4B2A-8704-8192D52EB050@microsoft.com...
>
>
>

Stefan [MSFT]

2006-10-19, 7:25 am

Then it should not happen.
It show up identical in all connected pages as all use the same page object
as datasource.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights


"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:BE063A3F-48BC-4124-AD9C-3AAB6044BC11@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> The connected template is the same template as the original one and it has
> the AllTagsPlaceholderControl.
>
> Thanks
> Arjuna.
>
> "Stefan [MSFT]" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com