|
Home > Archive > Microsoft Content Management Server > October 2005 > Problem when using Flash Placeholder Control
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 |
Problem when using Flash Placeholder Control
|
|
| Nicole 2005-10-26, 7:49 am |
| Hi,
In the forum I'd read about a Flashplaceholdercontrol:
http://www.gotdotnet.com/Community/...A9-B07305C10CD2
and desided to use it.
I try to use the Flash-control in a template to create a new posting,
but I get the following error when I click on the "attachment"-button
of the Flash-control:
code:0
object expected.
I'm using Visual studio.net
I have added the Flash-control as a custom server control in a web
control library-project. I have customized the toolbox, and made the
Flash-control show up under the "content management server"-tab.
To add the control I simply drag and drop it on a template.
Anyone has an idea of why this error occurs?
| |
| Mei Ying [MVP] 2005-10-26, 8:49 pm |
| Hi
Do you get the same error with a regular Single Attachment Placeholder
Control?
See if the tips here help:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30
regards
Mei Ying
"Nicole" <nicole.zoger@lorensbergs.com> wrote in message
news:1130329319.727472.204920@g14g2000cwa.googlegroups.com...
> Hi,
>
> In the forum I'd read about a Flashplaceholdercontrol:
>
http://www.gotdotnet.com/Community/...A9-B07305C10CD2
>
> and desided to use it.
>
> I try to use the Flash-control in a template to create a new posting,
> but I get the following error when I click on the "attachment"-button
> of the Flash-control:
>
> code:0
> object expected.
>
> I'm using Visual studio.net
>
> I have added the Flash-control as a custom server control in a web
> control library-project. I have customized the toolbox, and made the
> Flash-control show up under the "content management server"-tab.
>
> To add the control I simply drag and drop it on a template.
>
> Anyone has an idea of why this error occurs?
>
| |
| Nicole 2005-10-27, 2:47 am |
| Hi Mei Ying,
Thanks for your fast reply!
Yes, I get the same error when I use a regular Single Attachment
Placeholder
Control.
Thanks for the link, I didn't find the solution to the problem there,
I will read it again, more closely.
Best Regards,
Nicole
| |
| Nicole 2005-10-28, 4:58 pm |
| Hi Mei Ying,
Now I have checked the whole FAQ very closely but I still don't have a
solution to the problem.
However, I could attach the file after I saved the posting.
Do I always have to save postings with attachmentplaceholders before I
can use them?
The code below is where the error occured.
Thanks for your time and help.
Best regards,
Nicole
<td rowspan="2" valign="bottom" nowrap><a href="#"
id="NCPHIconA_AttachmentPhDDummy_Btn"
name="NCPHIconA_AttachmentPhDDummy_Btn" target="_self"
onclick=" WBC_launchAttachmentGallery('NRMODE=Unpu
blished&NRCHANNELGUID=%7b19AADF00-4E61-4D1F-B8C2
90A024F0292F%7d&FRAMELESS=true&NRNODEGUID=%7b929FBA75-9E33-48F7-8510-6A9874BBC332%7d',
'AttachmentPhDDummy', 'SingleAttachment', true, true, false);return
false"
onmousedown=" WBC_changeImgSafe('NCPHIconA_AttachmentP
hDDummy',
'/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/Attachment.gif')"
onmouseup=" WBC_changeImgSafe('NCPHIconA_AttachmentP
hDDummy',
'/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/AttachmentDown.gif')"><img
name="NCPHIconA_AttachmentPhDDummy"
src="/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/Attachment.gif"
| |
| Stefan [MSFT] 2005-10-28, 4:58 pm |
| Hi Nicole,
no this should not be necessary.
Do you have any custom workflow events or custom console actions in place?
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Nicole" <nicole.zoger@lorensbergs.com> wrote in message
news:1130401803.577816.166210@g14g2000cwa.googlegroups.com...
> Hi Mei Ying,
>
> Now I have checked the whole FAQ very closely but I still don't have a
> solution to the problem.
>
> However, I could attach the file after I saved the posting.
>
> Do I always have to save postings with attachmentplaceholders before I
> can use them?
>
> The code below is where the error occured.
>
> Thanks for your time and help.
>
> Best regards,
> Nicole
>
> <td rowspan="2" valign="bottom" nowrap><a href="#"
> id="NCPHIconA_AttachmentPhDDummy_Btn"
> name="NCPHIconA_AttachmentPhDDummy_Btn" target="_self"
>
> onclick=" WBC_launchAttachmentGallery('NRMODE=Unpu
blished&NRCHANNELGUID=%7b19AADF00-4E61-4D1F-B8C2
> 90A024F0292F%7d&FRAMELESS=true&NRNODEGUID=%7b929FBA75-9E33-48F7-8510-6A9874BBC332%7d',
>
> 'AttachmentPhDDummy', 'SingleAttachment', true, true, false);return
> false"
>
> onmousedown=" WBC_changeImgSafe('NCPHIconA_AttachmentP
hDDummy',
> '/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/Attachment.gif')"
>
> onmouseup=" WBC_changeImgSafe('NCPHIconA_AttachmentP
hDDummy',
> '/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/AttachmentDown.gif')"><img
> name="NCPHIconA_AttachmentPhDDummy"
> src="/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/Attachment.gif"
>
|
|
|
|
|