Build a context menu programatically on the server?

Last post 03-17-2010, 10:29 PM by cutechat. 2 replies.
Sort Posts: Previous Next
  •  03-16-2010, 11:07 AM 59428

    Build a context menu programatically on the server?

    You've indicated in another thread that it is possible to build the toolbars programmatically. Is it possible to build a context menu in server-side code as well? If so what methods/properties do we need to call/set, and what are the values required?
  •  03-17-2010, 10:51 AM 59447 in reply to 59428

    Re: Build a context menu programatically on the server?

    It's also possible. But it needs you write a custom editor provider.
     
    We will post some example code soon.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-17-2010, 10:29 PM 59463 in reply to 59428

    Re: Build a context menu programatically on the server?

    Hi,
     
    You can intercept the CuteSoft_Client/CuteEditor/Load.ashx , to output your custom menu data.
     
    Here is the Load.ashx code :
     
     
    Here is the menu data sample (samplemenu.xml):
     
     
    Regards,
    Terry
View as RSS news feed in XML