Microsoft Content Management Server - Image without paragraph

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > May 2004 > Image without paragraph





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 Image without paragraph
Mei Ying

2004-05-20, 5:41 am

Hi

I don't see that hapening on our setups. Images are added
and saved even without the existence of a parent paragraph
tag.

Just to ensure that this is not the culprit - have you
allowed images in the Placeholder by setting the
AllowImages property of the HtmlPlaceholderDefinition to
true?

Then again, I guess that you must have or the "Insert
Image" button would be disabled.

And to understand a little more about how the content of
the Placeholder being retrieved and displayed. Are you
using the API to do so or using the default behaviour of
the Html Placeholder Control?

Mei Ying

>-----Original Message-----
>Hi,
>
>I noticed something odd when saving HtmlPlaceholder

contents. It seems that
>if you insert a single image in an empty

HtmlPlaceholderControl (completely
>empty, one that contains no paragraphs --- can be

obtained by creating a new
>page, for example) the inserted image tag will be

stripped during the save.
>
>Is that so, that an image tag can not exist without a

paragraph? If so,
>where do I replace the functionality of the 'Insert

image' toolbar button so
>that it, when inserting the image tag, looks for a parent

paragraph and
>creates one if necessary?
>
>Lasse
>
>
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com