cs中的菜单

1.

<cs:contextmenu id="MemberContextMenu" runat="server" filename="~/Crm/Membership/MemberSearchContextMenu.config" />
<SCRIPT type="text/javascript">
<!--
function popupMenu(item, e, UserID, SearchPostsUrl)
{
window.<%=MemberContextMenu.ClientID%>.ShowContextMenu(item, e, UserID, SearchPostsUrl);
}
var actionsName = '<cp:resourcecontrol runat="server" resourcename="CP_MemberSearch_GridCol_Actions" />';
-->
</SCRIPT>

 

<a href="#" oncontextmenu="popupMenu(this, event, '## DataItem.GetMember("UserID").Text ##', '## DataItem.GetMember("SearchPostsUrl").Text ##');" onclick="popupMenu(this, event, '## DataItem.GetMember("UserID").Text ##', '## DataItem.GetMember("SearchPostsUrl").Text ##'); return false" class="CommonTextButton">##actionsName##</a>

2.
ClientPopulatedPopupMenu

3.ServerPopulatedPopupMenu

你可能感兴趣的:(菜单)