This is a migrated thread and some comments may be shown as answers.

Ho to remove the <P> tag produced by the HtmlPlaceholder

2 Answers 49 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Francis Eric
Top achievements
Rank 1
Francis Eric asked on 19 Aug 2010, 02:59 AM
Hi guys,

I have a problem on our page, a <P> tag was produce by the HtmlPlaceholder when viewing it on the source code. And that <P> tag makes a white space on the page when viewing it on Firefox browser.

What am I going to do? I want that tag to be remove. Is there a way in removing it?

Below are my codes:

<TR style="MARGIN: -50px 0px 0px">
    <TD style="HEIGHT: 22px" colSpan="2">
        <cms:htmlplaceholdercontrol id="htmlCustomBanner" runat="server" PlaceholderToBind="htmlCustomBanner" EditControlHeight="100" EditControlWidth="533"></cms:htmlplaceholdercontrol>
       <%End If%>
   </TD>
</TR>

View Source Code:
A paragrapg tag will be inserted, please see the text in bold.

<TR style="MARGIN: -50px 0px 0px">
    <TD style="HEIGHT: 22px" colSpan="2">
        <P>
        <cms:htmlplaceholdercontrol id="htmlCustomBanner" runat="server" PlaceholderToBind="htmlCustomBanner" EditControlHeight="100" EditControlWidth="533"></cms:htmlplaceholdercontrol>
        <P>
   </TD>
</TR>


Hope you guys can help on how to remove that Paragraph tag.

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 24 Aug 2010, 01:49 PM
Hello Francis,

I see in your code that you are using the standard HTMLPlaceholder control for MCMS so I would suggest to check Microsoft's support about such problem. We've had our own RadEditorPlaceholderControl for MCMS, however this product was discontinued about 3 years ago and we don't support it for more than 2 years.


Regards,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Francis Eric
Top achievements
Rank 1
answered on 25 Aug 2010, 02:45 AM
Thanks George,

Actually this application is existing already. Well I guess I have to change that place holder into a new one. Thanks for your input.
Tags
HTMLPlaceHolder
Asked by
Francis Eric
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Francis Eric
Top achievements
Rank 1
Share this question
or