I am a new user to Publisher. I am a ASP.NETdeveloper and I have a client who
has many individual htm pages produced in Publisher. I have ASP.NET pages
that provide search of these pages. This all works.
Except, on each Publisher page I need to implement navigation links on the
bottom of the page. The location of the links needs to be controlled
dynamically.
I have a navigation control DLL that can manage the dynamic address
locations, but how do I get the hyperlinks to call the DLL and set the href?
Or is there a better way?
Any advice is most appreciated.
With Publisher, since it is not a web design tool, the html is not editable
and in fact doesn't even exist until the publication is "published". You
can however add snippets of html into the publication using Insert, html
code fragment. Perhaps you would write the html for the hyperlinks thru
that. (see http://www.publishermvps.com/Default.aspx?tabid=110 ) Also under
the hyperlinking dialog there are two options, 1 is to browse to a file or
use an existing page, whereby Publisher writes the link and does it
relatively. The 2nd is an option to link to an existing web address whereby
you enter the URL you want used. If the dll is part of a URL then you should
be able to just manually enter the address there.
David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
>I am a new user to Publisher. I am a ASP.NETdeveloper and I have a client
>who
[quoted text clipped - 11 lines]
>
> Any advice is most appreciated.
briand - 30 May 2005 06:53 GMT
Thanks David, and I take your point that Publisher is not a web design tool.
However, I have a client that is insistant on using his existing Publisher
pages.
How do I call the DLL as part of the URL. The purpose of the DLL is to
return the URL that the typerlink should use. I have always down this within
ASP.NET code.

Signature
Thanks Brian
> With Publisher, since it is not a web design tool, the html is not editable
> and in fact doesn't even exist until the publication is "published". You
[quoted text clipped - 26 lines]
> >
> > Any advice is most appreciated.
David Bartosik [MSFT MVP] - 31 May 2005 15:04 GMT
I said "if", not knowing what you were doing.
The only idea that comes to mind is that you retain your asp.net page and
your dll logic within and just pull his Publisher page into the aspx page.
You can in asp.net in the code behind logic pull in the html of a web page
and display it in the aspx page. I've done it before but the class to use
doesn't come to mind. It's pretty sweet, it is easy to do and renders it
perfectly no frames or anything, just an exact duplicate of the page.
How involved is that get url process you are using the dll for? Reason I ask
is have you looked at the httpmodule class? You can process before the
request hits the page and it's page load using that. I cover an
implementation in the article
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=224
I would think that would be less of a performance hit then a dll.
If you need anything further I recommend you hit the asp.net forums as this
thread is moving OT for Publisher.
David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
> Thanks David, and I take your point that Publisher is not a web design
> tool.
[quoted text clipped - 5 lines]
> within
> ASP.NET code.