All About SharePoint

Liedong(Ken) Zheng,SharePoint Leader at SIMPLOT

Posts Tagged ‘Custom Action’

Passing Values from a List Custom Action to Server Code

Posted by ken zheng on November 8, 2010

I followed this tutorial to create a action which pass value to the dialog windows then execute the server side code.

It all works but the problem is user has to click a button or something to trigger a post back. then the arg value can be loaded because the js code is executed after server side code.

I then read this postback tutorial

Doing or Raising Postback using __doPostBack() function from Javascript in Asp.Net

so that I add a self postback in the js.

Posted in JavaScript, Sharepoint | Tagged: | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 28 other followers