I am using spgridview for showing listdata,also using spmenufield.
I need to perform approve operation on any selected/clicked item from spgridview.
Can you please help,how can i achieve this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are no options to directly Approve the items using the SPMenuField, what you can do is to write up a JavaScript call that will get the details of the Item and redirect to the default Approval Page.
By default SharePoint approval page will be of format
_layouts/approve.aspx?List={F723A0FD-9072-46C6-A4B6-BBB21538CB68}&ID=112
Refer to this link for more details on SPGridView