【问题标题】:Blue Dot Menu MVC - Use Server Control in MVC蓝点菜单 MVC - 在 MVC 中使用服务器控制
【发布时间】:2013-01-31 21:55:29
【问题描述】:

我正在使用 MVC 应用程序来集成 Intuit Anywhere 和 MVC 应用程序。我看到蓝点菜单有一个服务器控件:

            <!-- Blue Dot Menu -->
            <div runat="server" id="blueDotDiv">
                <ipp:bluedot></ipp:bluedot>
            </div>

如何将此服务器控件集成到 MVC 站点中?

【问题讨论】:

    标签: model-view-controller intuit-partner-platform


    【解决方案1】:

    有一个 Azure MVC Web 角色模板可以用作参考:

    https://ipp.developer.intuit.com/0010_Intuit_Partner_Platform/0200_DevKits_for_Intuit_Partner_Platform/0300_Windows_Azure_Program_for_Intuit_Anywhere/0003_Intuit_Anywhere_Azure_Web_Role_Templates

    在 ASP.NET WebForms 示例项目中包装蓝点菜单的 div 用于控制其在服务器端的可见性(在用户连接时隐藏),但您可以以任何方式实现隐藏控件。

    当按钮被点击时,它会调用你在 intuit.ipp.anywhere.setup javascript 函数中指定的服务器端资源,然后调用 AppMenu API 来检索菜单的内容:

    https://ipp.developer.intuit.com/0010_Intuit_Partner_Platform/0025_Intuit_Anywhere/0020_Connect/0010_From_Within_Your_App/Add_the_Connect_Button

    https://ipp.developer.intuit.com/0010_Intuit_Partner_Platform/0025_Intuit_Anywhere/0060_Reference/0010_AppMenu_API

    猜你喜欢
    • 2012-01-14
    • 1970-01-01
    • 2013-04-20
    • 2013-07-06
    • 2012-01-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-07
    相关资源
    最近更新 更多