Microsoft Content Management Server - cannot retrive the imagePlaceholder.Src when the posting is not saved

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > September 2004 > cannot retrive the imagePlaceholder.Src when the posting is not saved





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 cannot retrive the imagePlaceholder.Src when the posting is not saved
Ching

2004-09-15, 10:20 am

Hi Stefan,

When the user inserted a image but not yet saved, the imagePlaceholder.Src
returns null;

However the placeholder does visually show the inserted image, how to get
the url of it?

Thanks!

Regards,
Ching


Angus Logan

2004-09-15, 10:20 am

Hi Ching,

Where are you trying to access this property from? (eg. when user selects
preview?; client side; ?)

Regards
--
________________________________________


Angus Logan (MCAD/MCDBA/MCP)
Lead Software Developer
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________


"Ching" <ching.siu@agenda-asia.com> wrote in message
news:#8dZ4VxmEHA.2764@TK2MSFTNGP11.phx.gbl...
> Hi Stefan,
>
> When the user inserted a image but not yet saved, the imagePlaceholder.Src
> returns null;
>
> However the placeholder does visually show the inserted image, how to get
> the url of it?
>
> Thanks!
>
> Regards,
> Ching
>
>



Stefan [MSFT]

2004-09-15, 10:20 am

Hi Ching,

when it is not saved, then the placeholder object does not contain this
value.
You need to check the ImageSrc value of the placeholder control because
before being saved the value is only available in the placeholder control.

Cheers,
Stefan.

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

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Ching" <ching.siu@agenda-asia.com> wrote in message
news:#8dZ4VxmEHA.2764@TK2MSFTNGP11.phx.gbl...
> Hi Stefan,
>
> When the user inserted a image but not yet saved, the imagePlaceholder.Src
> returns null;
>
> However the placeholder does visually show the inserted image, how to get
> the url of it?
>
> Thanks!
>
> Regards,
> Ching
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com