|
Home > Archive > Microsoft Content Management Server > October 2004 > CmsContext.AcceptBinaryFile Method Doesn't Work
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 |
CmsContext.AcceptBinaryFile Method Doesn't Work
|
|
| Cynthia 2004-10-15, 9:13 pm |
| Hi All,
I tried to use CmsContext.AcceptBinaryFile to upload a local file to an
image placeholder. This function executed completely, however, the image
placeholder does not hold the image. I dont know what's going wrong. Would
anyone have any idea ?
BTW, I checked the permission of the image file. It is everyone full-control
(which is readable)
Best Regards,
Cynthia
| |
| Justin 2004-10-15, 9:13 pm |
| Hi,
Did you try to set the src property of the image placeholder control to the
string returned by AcceptBinaryFile in the PAPI?
Justin
"Cynthia" <¢I.,¢I> wrote in message
news:%23nafmkBsEHA.868@TK2MSFTNGP10.phx.gbl...
> Hi All,
>
> I tried to use CmsContext.AcceptBinaryFile to upload a local file to
an
> image placeholder. This function executed completely, however, the image
> placeholder does not hold the image. I dont know what's going wrong. Would
> anyone have any idea ?
>
> BTW, I checked the permission of the image file. It is everyone
full-control
> (which is readable)
>
> Best Regards,
> Cynthia
>
>
| |
| Angus Logan [MVP] 2004-10-15, 9:13 pm |
| Hi Cynthia,
Are you committing the transaction?
Also, Can you post your code?
Regards
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
"Cynthia" <¢I.,¢I> wrote in message
news:#nafmkBsEHA.868@TK2MSFTNGP10.phx.gbl...
> Hi All,
>
> I tried to use CmsContext.AcceptBinaryFile to upload a local file to
an
> image placeholder. This function executed completely, however, the image
> placeholder does not hold the image. I dont know what's going wrong. Would
> anyone have any idea ?
>
> BTW, I checked the permission of the image file. It is everyone
full-control
> (which is readable)
>
> Best Regards,
> Cynthia
>
>
| |
| Stefan [MSFT] 2004-10-15, 9:13 pm |
| Cynthia,
please show us your code.
Thanks,
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
--------------------------------
"Cynthia" <¢I.,¢I> wrote in message
news:#nafmkBsEHA.868@TK2MSFTNGP10.phx.gbl...
> Hi All,
>
> I tried to use CmsContext.AcceptBinaryFile to upload a local file to
an
> image placeholder. This function executed completely, however, the image
> placeholder does not hold the image. I dont know what's going wrong. Would
> anyone have any idea ?
>
> BTW, I checked the permission of the image file. It is everyone
full-control
> (which is readable)
>
> Best Regards,
> Cynthia
>
>
|
|
|
|
|