Cancelling the Save and Exit Action
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 > Cancelling the Save and Exit Action




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

    Cancelling the Save and Exit Action  
Arjuna


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


 
04-16-07 06:17 AM

Hi,

In our MCMS scenario whe have some Templates that require mandatory fields.
If these mandatory fields are not entered we display an error message to the
user on that page itself asking the user to enter mandatory fields. The
problem is that when the user clicks Save and Exit the error message
displays, but in a few seconds MCMS does the save anyway and takes the user
out of the Editing mode.  Is there anyway in which I can cancel the Save and
Exit if the validation fails.

Thanks
Arjuna.





[ Post a follow-up to this message ]



    Re: Cancelling the Save and Exit Action  
Stefan Goßner [MSFT]


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


 
04-16-07 12:16 PM

Hi Arjuna,

you need to implement validation controls to achieve this.
The out-of-the-box ASP.NET controls cannot be used with MCMS placeholders.

We have covered the details about what to do in chapter 9 of the following
book:
http://tinyurl.com/8ugwj

Cheers,
Stefan

"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:730EB6F2-9888-4F5B-8F7F-742724864067@microsoft.com...
> Hi,
>
> In our MCMS scenario whe have some Templates that require mandatory
> fields.
> If these mandatory fields are not entered we display an error message to
> the
> user on that page itself asking the user to enter mandatory fields. The
> problem is that when the user clicks Save and Exit the error message
> displays, but in a few seconds MCMS does the save anyway and takes the
> user
> out of the Editing mode.  Is there anyway in which I can cancel the Save
> and
> Exit if the validation fails.
>
> Thanks
> Arjuna.







[ Post a follow-up to this message ]



    Re: Cancelling the Save and Exit Action  
Arjuna


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


 
04-16-07 12:16 PM

Hi Stefan,

Thanks for the pointer, but I dont think I can buy the book, is there any
other article or anything else that you can point me at.

Thanks
Arjuna.

"Stefan Goßner [MSFT]" wrote:

> Hi Arjuna,
>
> you need to implement validation controls to achieve this.
> The out-of-the-box ASP.NET controls cannot be used with MCMS placeholders.
>
> We have covered the details about what to do in chapter 9 of the following
> book:
> http://tinyurl.com/8ugwj
>
> Cheers,
> Stefan
>
> "Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
> news:730EB6F2-9888-4F5B-8F7F-742724864067@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: Cancelling the Save and Exit Action  
Stefan Goßner [MSFT]


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


 
04-16-07 12:16 PM

Hi Arjuna,

currently not.

Cheers,
Stefan


"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:F3424D7A-F437-4E26-A16A-FC9D68873024@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> Thanks for the pointer, but I dont think I can buy the book, is there any
> other article or anything else that you can point me at.
>
> Thanks
> Arjuna.
>
> "Stefan Goßner [MSFT]" wrote:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:55 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