|
Home > Archive > Microsoft Content Management Server > May 2005 > SaveAction Problem
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 |
SaveAction Problem
|
|
| David Perez 2005-05-12, 7:51 am |
| Hi all,
I have a little problem. When we create a new Page in CMS templates, if we
"Save" the page create we want that the page only be saved if all the
placeholders in the page are filled with info. We use a CmsConsole
(DefaultConsole.ascx), and this console is included in our tmeplte file
(FormalTemplate.aspx) with this code:
<%@ Register TagPrefix="uc1" TagName="DefaultConsole"
Src="../../../Console/DefaultConsole.ascx" %>
The problem is that when you save the page, some placeholders of the page
can be empty; but we want that the page only can be saved if all tha
placeholders have info. We want to show a message (i.e. a dialog), to inform
the user that must fill all the placeholders before save page.
Has anyone a good idea for this issue?
Thanks.......
David.
| |
| Angus Logan [MVP] 2005-05-12, 7:51 am |
| Hi,
See "Client-Side validated Placeholder Control with enhanced Console
Actions" by stefan:
http://www.gotdotnet.com/Community/...4F-2CCA72FF4704
Regards
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
"David Perez" <DavidPerez@discussions.microsoft.com> wrote in message
news:CAD67E6C-AA52-4727-BE24-D7331E7F510B@microsoft.com...
> Hi all,
>
> I have a little problem. When we create a new Page in CMS templates, if we
> "Save" the page create we want that the page only be saved if all the
> placeholders in the page are filled with info. We use a CmsConsole
> (DefaultConsole.ascx), and this console is included in our tmeplte file
> (FormalTemplate.aspx) with this code:
> <%@ Register TagPrefix="uc1" TagName="DefaultConsole"
> Src="../../../Console/DefaultConsole.ascx" %>
>
> The problem is that when you save the page, some placeholders of the page
> can be empty; but we want that the page only can be saved if all tha
> placeholders have info. We want to show a message (i.e. a dialog), to
> inform
> the user that must fill all the placeholders before save page.
>
> Has anyone a good idea for this issue?
>
> Thanks.......
>
> David.
|
|
|
|
|