Can code and action execute at the same time?

L

Lin

Hi

Is it possible to create a button with custom submit code along with switch
view action perform the task of sumbitting to a sharepoint website and switch
to a different view when you click it, or do you need 2 buttons and
additional coding?
 
S

Steve van Dongen [MSFT]

Hi

Is it possible to create a button with custom submit code along with switch
view action perform the task of sumbitting to a sharepoint website and switch
to a different view when you click it, or do you need 2 buttons and
additional coding?

Switch the view using code instead of actions.
XDocument.View.SwitchView(viewName)

Regards,
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top