|
Home > Archive > Microsoft Content Management Server > November 2004 > URGenerationHooks for ASP.NET
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 |
URGenerationHooks for ASP.NET
|
|
| Joel Ward [MVP] 2004-11-23, 5:57 pm |
| Hi again!
Is there anything like
IIS_NR\System\WBC\Customizable\Hooks\URL
GenerationHooks
for MCMS using ASP.NET? We want to keep some custom querystring values when
switching between Edit and Live Site views. In the ASP version of MCMS, you
could use the URLGenerationHooks.
But in ASP.NET, that doesn't exist. Is there something else that is similar
and easy to configure? Or do we need to extend the
switchtopresentationpublishedaction and
switchtopresentationunpublishedaction actions in the console?
Joel
| |
| Stefan [MSFT] 2004-11-24, 2:47 am |
| Hi Joel,
please explain in more details. Or are you looking for PropagateParameter?
Cheers,
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
--------------------------------
"Joel Ward [MVP]" <joelw-nospam@nospam-mvps.org> wrote in message
news:#jMpfgb0EHA.3840@tk2msftngp13.phx.gbl...
> Hi again!
>
> Is there anything like
> IIS_NR\System\WBC\Customizable\Hooks\URL
GenerationHooks
> for MCMS using ASP.NET? We want to keep some custom querystring values
when
> switching between Edit and Live Site views. In the ASP version of MCMS,
you
> could use the URLGenerationHooks.
>
> But in ASP.NET, that doesn't exist. Is there something else that is
similar
> and easy to configure? Or do we need to extend the
> switchtopresentationpublishedaction and
> switchtopresentationunpublishedaction actions in the console?
>
> Joel
>
>
| |
| Joel Ward [MVP] 2004-11-24, 7:52 am |
| Ah, it may be CmsContext.PropagateParameter!
I am looking for a way to keep our own querystring field, "f", to persist
when the user clicks "Switch To Edit Site" or "Switch To Live Site". We use
the querystring value on some channel rendering script pages to aid with
pagination. For example, "f=21" means that the listing starts at item 21.
This was done in ASP using
IIS_NR\System\WBC\Customizable\Hooks\URL
GenerationHooks.
So we want to make sure that the "f" value is persisted when switching
between modes on the same page, so the user does not have to click "Next
Page" many times to find the same place in the listing.
I'll give PropagateParameter a try.
Thanks!
Joel
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:%23xxCMog0EHA.1264@TK2MSFTNGP12.phx.gbl...
> Hi Joel,
>
> please explain in more details. Or are you looking for PropagateParameter?
>
> Cheers,
> 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
> --------------------------------
>
>
> "Joel Ward [MVP]" <joelw-nospam@nospam-mvps.org> wrote in message
> news:#jMpfgb0EHA.3840@tk2msftngp13.phx.gbl...
> when
> you
> similar
>
>
| |
| Justin 2004-11-25, 2:48 am |
| I've had problems using PropagateParameter to persist querystyring fields
from edit mode to live mode. Live mode to edit mode works ok. Maybe it's not
a problem for your application... tell me if you can work around this...
I've had to resort to session state 
"Joel Ward [MVP]" <joelw-nospam@nospam-mvps.org> wrote in message
news:OzjeUvh0EHA.2688@TK2MSFTNGP09.phx.gbl...
> Ah, it may be CmsContext.PropagateParameter!
>
> I am looking for a way to keep our own querystring field, "f", to persist
> when the user clicks "Switch To Edit Site" or "Switch To Live Site". We
use
> the querystring value on some channel rendering script pages to aid with
> pagination. For example, "f=21" means that the listing starts at item 21.
>
> This was done in ASP using
> IIS_NR\System\WBC\Customizable\Hooks\URL
GenerationHooks.
>
> So we want to make sure that the "f" value is persisted when switching
> between modes on the same page, so the user does not have to click "Next
> Page" many times to find the same place in the listing.
>
> I'll give PropagateParameter a try.
>
> Thanks!
> Joel
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:%23xxCMog0EHA.1264@TK2MSFTNGP12.phx.gbl...
PropagateParameter?[vbcol=seagreen]
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm[vbcol=seagreen]
http://www.gotdotnet.com/community/...t+S
erver[vbcol=seagreen]
MCMS,[vbcol=seagreen]
>
>
|
|
|
|
|