开发者

How To create Custom Action

I want to create one custom action such that on that custom action page one button is available,on开发者_运维技巧 that button event i want to show hello word on same custom page


Custom Actions generally are used to link to Application Pages which will do the work.

You can include customactions to the Ribbon, to context menus (ECB), or to the Site Settings pages (as well as Central Administration).

The custom action will typically be a custom section with a link to an application page, and within that page you will perform whatever logic you require. You can pass tokens through to the querystring by enclosing them in parenthesis { } such as <UrlAction Url="/_layouts/MyApplicationPage.aspx?ListItem={ItemId}" />

Here's a link to a tutorial on how to create a custom action to appear in the Site Settings page. Google around for simliar tutorials on how to get a custom action to appear in other areas, such as the Ribbon or the ECB.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜