如何覆盖项目服务器提交按钮 [英] How to override project server submit button

查看:81
本文介绍了如何覆盖项目服务器提交按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要先验证PDP(项目详细信息页面)上的某些字段,然后再将其提交给工作流程。例如,我有几个货币字段需要在提交之前填写。总字段的总和应为100美元,能够通过javascript捕获用户输入的
并在标签上显示信息,但我需要限制用户在输入正确信息或从提交按钮单击事件。我希望你理解我的问题。任何建议??

解决方案

HI那里,



以下是示例代码没有 覆盖保存按钮功能。希望对您有用。

http:/ /blogs.msdn.com/b/husainzgh/archive/2011/08/01/hooking-into-the-project-detail-page-ribbon-save-button-without-overriding-out-of-box-functionality-in -project-web接入换项目服务器2010.aspx

Hi,

I need to validate some fields on a PDP (project detail page) before user submit it to the workflow. For instance i have couple of currency fields which need to be filled before submit. The sum of the total fields should be $100, am able to capture the user's input through javascript and show the information on a label but I need to restrict user to not submit until they enter correct information or to revert back from the submit button click event. I hope you understand my problem. Any suggestions??

解决方案

HI there,

Here is the sample code for without overriding the save button functionality. Hope that will be useful for you.
http://blogs.msdn.com/b/husainzgh/archive/2011/08/01/hooking-into-the-project-detail-page-ribbon-save-button-without-overriding-out-of-box-functionality-in-project-web-access-for-project-server-2010.aspx


这篇关于如何覆盖项目服务器提交按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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