All about SharePoint and around its technologies.
With following condition, you can check in which mode you are in:
if (SPContext.Current.FormContext.FormMode == Microsoft.SharePoint.WebControls.SPControlMode.Display){// you are in display mode}
Post a Comment
No comments:
Post a Comment