Problem when using Flash Placeholder Control
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Problem when using Flash Placeholder Control

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Nicole
Guest





Posted: Wed Oct 26, 2005 12:50 pm    Post subject: Problem when using Flash Placeholder Control Reply with quote

Hi,

In the forum I'd read about a Flashplaceholdercontrol:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=0AE7CD92-79EC-4F9F-9BA9-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?
Back to top
Mei Ying [MVP]
Guest





Posted: Wed Oct 26, 2005 4:51 pm    Post subject: Re: Problem when using Flash Placeholder Control Reply with quote

Hi

Do you get the same error with a regular Single Attachment Placeholder
Control?

See if the tips here help:
http://download.microsoft.com/download/4/2/5/4250f79a-c3a1-4003-9272-2404e92bb76a/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...
Quote:
Hi,

In the forum I'd read about a Flashplaceholdercontrol:

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=0AE7CD92-79EC-4F9F-9BA9-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?
Back to top
Nicole
Guest





Posted: Thu Oct 27, 2005 8:51 am    Post subject: Re: Problem when using Flash Placeholder Control Reply with quote

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=Unpublished&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_AttachmentPhDDummy',
'/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/Attachment.gif')"

onmouseup="WBC_changeImgSafe('NCPHIconA_AttachmentPhDDummy',
'/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/AttachmentDown.gif')"><img
name="NCPHIconA_AttachmentPhDDummy"
src="/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/Attachment.gif"
Back to top
Nicole
Guest





Posted: Thu Oct 27, 2005 8:51 am    Post subject: Re: Problem when using Flash Placeholder Control Reply with quote

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
Back to top
Stefan [MSFT]
Guest





Posted: Thu Oct 27, 2005 8:51 am    Post subject: Re: Problem when using Flash Placeholder Control Reply with quote

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...
Quote:
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=Unpublished&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_AttachmentPhDDummy',
'/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/Attachment.gif')"

onmouseup="WBC_changeImgSafe('NCPHIconA_AttachmentPhDDummy',
'/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/AttachmentDown.gif')"><img
name="NCPHIconA_AttachmentPhDDummy"
src="/lor/CMS/WebAuthor/Client/PlaceholderControlSupport/Images/Attachment.gif"
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB