problem with links in custom control
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > problem with links in custom control




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    problem with links in custom control  
scottrm38@yahoo.co.uk


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-25-06 06:22 PM

We have a custom hyperlink control which inherits from the html
placeholder control. We seem to be have a problem where we have a
number of placeholders on the page using this control, if someone edits
the link in one of the placeholders it seems to randomly break some the
of the other links on that page when they save and publish. What seems
to happen is that some of the other links end up pointing to the
read-write admin site rather than the read only public site (we have
the read-write and read only sites on different urls'). Any ideas

Thanks

Scott






[ Post a follow-up to this message ]



    Re: problem with links in custom control  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-25-06 06:22 PM

Hi Scott,

sounds like a bug in your custom placeholder control.

Cheers,
Stefan

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


<scottrm38@yahoo.co.uk> wrote in message
news:1159200842.446400.96290@m73g2000cwd.googlegroups.com...
> We have a custom hyperlink control which inherits from the html
> placeholder control. We seem to be have a problem where we have a
> number of placeholders on the page using this control, if someone edits
> the link in one of the placeholders it seems to randomly break some the
> of the other links on that page when they save and publish. What seems
> to happen is that some of the other links end up pointing to the
> read-write admin site rather than the read only public site (we have
> the read-write and read only sites on different urls'). Any ideas
>
> Thanks
>
> Scott
>







[ Post a follow-up to this message ]



    Re: problem with links in custom control  
scottrm38@yahoo.co.uk


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-25-06 06:22 PM



Thanks for your reply, just to clarify a bit more, we seem to end up
with links in the live site that are pointing to the unpublished links
like
http://www.mysite.com/NR/exeres/944...tionUnpublished

Any ideas what to look for in the custom control (I did not write it
myself)

We are using mcms 2002  with the latest service pack installed.

Stefan [MSFT] wrote:
[vbcol=seagreen]
> Hi Scott,
>
> sounds like a bug in your custom placeholder control.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> <scottrm38@yahoo.co.uk> wrote in message
> news:1159200842.446400.96290@m73g2000cwd.googlegroups.com... 






[ Post a follow-up to this message ]



    Re: problem with links in custom control  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-26-06 12:26 AM

Hi Scott,

yes. you need to ensure that the links are enclosed in double quotes.
Without double quotes around the URL they are treated as static text and not
as links.

Cheers,
Stefan

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


<scottrm38@yahoo.co.uk> wrote in message
news:1159205757.916531.179650@m7g2000cwm.googlegroups.com...
>
>
> Thanks for your reply, just to clarify a bit more, we seem to end up
> with links in the live site that are pointing to the unpublished links
> like
> http://www.mysite.com/NR/exeres/944...tionUnpublished
>
> Any ideas what to look for in the custom control (I did not write it
> myself)
>
> We are using mcms 2002  with the latest service pack installed.
>
> Stefan [MSFT] wrote:
> 
>







[ Post a follow-up to this message ]



    Re: problem with links in custom control  
scottrm38@yahoo.co.uk


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-26-06 12:24 PM

Thanks for your reply, just to clarify a bit more, it seems to be
happening on a production environment but not on a development
environment so I am not sure it is simply a straightforward coding
error.

Stefan [MSFT] wrote:[vbcol=seagreen]
> Hi Scott,
>
> yes. you need to ensure that the links are enclosed in double quotes.
> Without double quotes around the URL they are treated as static text and n
ot
> as links.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> <scottrm38@yahoo.co.uk> wrote in message
> news:1159205757.916531.179650@m7g2000cwm.googlegroups.com... 






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:28 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register