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

3 posts, 0 answers
  1. Francis Eric
    Francis Eric avatar
    2 posts
    Member since:
    Aug 2010

    Posted 18 Aug 2010 Link to this post

    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. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 24 Aug 2010 Link to this post

    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
  3. DevCraft banner
  4. Francis Eric
    Francis Eric avatar
    2 posts
    Member since:
    Aug 2010

    Posted 24 Aug 2010 Link to this post

    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.
Back to Top