This is more of a "when to do it" rather than a "how to do it" type of question.
I've got some great things going on with the RadGrid control in a SharePoint Application Page. Being that it's in a SharePoint environment, I'm going to leverage SharePoint Security to show/hide ASP Buttons and ASP LinkButtons within the grid. When would be the best time to do this? I'm thinking it would make sense to do this in the PreRender method of the grid. In PreRender, I'd check what SharePoint groups the currently logged-in user is a member of and then set the Visible property of the corresponding buttons based on that. Is that the best time to do this?
Thanks,
Eric Skaggs
I've got some great things going on with the RadGrid control in a SharePoint Application Page. Being that it's in a SharePoint environment, I'm going to leverage SharePoint Security to show/hide ASP Buttons and ASP LinkButtons within the grid. When would be the best time to do this? I'm thinking it would make sense to do this in the PreRender method of the grid. In PreRender, I'd check what SharePoint groups the currently logged-in user is a member of and then set the Visible property of the corresponding buttons based on that. Is that the best time to do this?
Thanks,
Eric Skaggs