Exiting with and without saving posting in code
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 > Exiting with and without saving posting in code




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

    Exiting with and without saving posting in code  
Mei Ying \(MVP\)


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


 
09-23-04 02:47 AM

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]





[ Post a follow-up to this message ]



    RE: Exiting with and without saving posting in code  
Eric


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


 
09-24-04 10: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(); 
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:47 AM.      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