A quick tip - If you're are looking for a way to find out the current state of your form for e.g. if its a Edit, New or Display form you can do this simply by using the following line
SPContext.Current.FormContext.FormMode
Return values -
Display
Edit
Invalid
New
No comments:
Post a Comment