在SharePoint 2010列表OOTB中的“保存项目"之后显示成功消息 [英] Display a Success Message after Save Item in a SharePoint 2010 list OOTB

查看:94
本文介绍了在SharePoint 2010列表OOTB中的“保存项目"之后显示成功消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确实希望在用户单击SharePoint 2010新项目列表中的保存"按钮时显示成功消息.我可以使用一些JavaScript,但不能使用SharePoint Designer或任何类型的自定义.

I do want to show a success message when the user clicks on Save button in a SharePoint 2010 new item list. I am OK with using some JavaScript but not SharePoint Designer or any sort of customization.

任何OOTB方式都将有所帮助.

Any OOTB way would be helpful.

我看到以下内容可能有用,但由于某些原因它不起作用.

I see the following might be useful but for some reason its not working.

if (!PreSaveItem()) return false;
WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$m$g_6a9de16d_7741_44f8_a5ea_3018992b84e0$ctl00$toolBarTbltop$RightRptControls$ctl01$ctl00$diidIOSaveItem", "", true, "", "", false, true))
alert('Registration Succseeful!!');



K.V.N.PAVAN



K.V.N.PAVAN

推荐答案

在这里

https://sharepoint.stackexchange.com/questions/16832/how-to-display-a-popup-message-after-an-item-is-saved-from-a-custom-new-form

https://sharepoint.stackexchange.com/questions/16832/how-to-display-a-popup-message-after-an-item-is-saved-from-a-custom-new-form


这篇关于在SharePoint 2010列表OOTB中的“保存项目"之后显示成功消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆