Click here to Skip to main content
15,921,028 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
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
Posted
Comments
Suvendu Shekhar Giri 15-Dec-15 1:09am    
Make all the controls except those required to be editable to readonly.

1 solution

According to your description i assume its based on the role
Your statement
C#
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900