Microsoft Content Management Server - Exiting with and without saving posting in code

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > September 2004 > Exiting with and without saving posting in code





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 Exiting with and without saving posting in code
Mei Ying \(MVP\)

2004-09-22, 9:47 pm

Hi

Why not embed the console on the posting? Like the way the
default console works? You can customize that console to
get it to look like the rest of the page and add/remove
items from it.

I don't think the approach you are using would work as the
redirect will happen before there is any chance for the
contents to be saved.

regards
Mei Ying
>-----Original Message-----
>I have created a couple of links that takes the user to

either creating a new
>posting or editing the current posting being viewed. I

would like to add a
>cancel and finish button in the template that would

perform the same action
>as the console exit and save and exit functions. I've

tried the following and
>it doesn't works. It exits the posting, but do not save

the contents.
>
> AuthoringReeditSaveAndExitAction a = new

AuthoringReeditSaveAndExitAction();[vbco
l=seagreen]
> redirectUrl = action.UrlPostback;
>
>Any thoughts on how I can solve the problem?
>.
>[/vbcol]
Eric

2004-09-24, 5:49 pm

Thanks, your sugestion pointed me in the right direction.

"Mei Ying (MVP)" wrote:

> Hi
>
> Why not embed the console on the posting? Like the way the
> default console works? You can customize that console to
> get it to look like the rest of the page and add/remove
> items from it.
>
> I don't think the approach you are using would work as the
> redirect will happen before there is any chance for the
> contents to be saved.
>
> regards
> Mei Ying
> either creating a new
> would like to add a
> perform the same action
> tried the following and
> the contents.
> AuthoringReeditSaveAndExitAction();
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com