Sharepoint Edit mode catch PostBack type (save, publish, ect.)
PageStateGroupSaveAndStop: means the user clicked "Save"
PageStateGroupSave: means the user clicked "Save and keep editing"
PageStateGroupPublish: means the user clicked "Save and keep editing"
PageStateGroupSave: means the user clicked "Save and keep editing"
PageStateGroupPublish: means the user clicked "Save and keep editing"
if ( Page.Request.Params["__EVENTARGUMENT"] == "PageStateGroupSaveAndStop" // שמור
|| Page.Request.Params["__EVENTARGUMENT"] == "PageStateGroupSave" // שמור והמשך עריכה
|| Page.Request.Params["__EVENTARGUMENT"] == "PageStateGroupPublish") // פרסם
{
Comments
Post a Comment