用户可以看到这些部分但无法编辑 [英] user can see the sections but couldn't edit

查看:75
本文介绍了用户可以看到这些部分但无法编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在写一份申请表。申请表分为3部分。 A部分,B部分和C部分。部分请求者只能填写表格。请求者无法编辑或添加B或C部分中的任何值。



我只是执行隐藏代码。但我的经理说改变它可以让请求者看到完整的申请表。但是只是可以编辑他们的部分。如何做其他部分无法编辑。有人请给我建议。谢谢你

Hi, I'm writing an application form. The application form divided into 3 section. Section A, section B, and Section C. Section A requester only can fill up the form. requester couldn't edit or add any value in the section B or C.

I just do the code for hide. But my manager said change it to can the requester can see the full application form. But the just can edit their part only. How to do other sections can't be edited. someone please give me suggestionn. thank you

推荐答案

根据你的描述我假设它基于角色

你的陈述

According to your description i assume its based on the role
Your statement
But the just can edit their part only







如果您的要求基于角色,它易于使所需人员可编辑,如果该人不在角色中,您可以使特定控件只读/不可编辑。





设计:使所有控件只读,后面的代码使特定控件可编辑取决于角色。




If your requirement based on the role, its easy to make the editable for the required person, if the person is not in the role you can make the specific control read only /non editable.


design : make all control readonly, code behind make specific control editable depends on the role.


这篇关于用户可以看到这些部分但无法编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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