Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Disable a column in datagrid

  Asked By: Nicole    Date: Jan 02    Category: Sharepoint    Views: 872

a web part consisting a datagrid with Columns viz., A,B,C,D,E,F,G and H. in my
site.
consists of 20 users.

now my question is how to disable the column E for 5 users.(the rest 15 can see
that column)

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Maribel Todd     Answered On: Jan 02

If you're using the asp.net gridview, you can catch the RowCreated event
and hide that particular cell depending on the user. It's not really
specific to SharePoint. You might want to check out the Microsoft
ASP.Net group for more info or further questions.

 
Didn't find what you were looking for? Find more on Disable a column in datagrid Or get search suggestion and latest updates.




Tagged: