[CLOSED] Menu.ToConfig() fails in a service

  1. #1

    [CLOSED] Menu.ToConfig() fails in a service

    I am trying to generate a menu dynamically in a service. I was hopping to build the Menu in codebehind, and then call Menu.ToConfig() to get the config string, pass that string to the client and create the menu.

    My problem is that when I call .ToConfig() in the service it throws an exception 'no Resource Manager on the page'. Of course, if I call .ToConfig() in the context of page it works.

    How can I generate the rendered JS or config object from the Ext.Net.Menu object in a way that does not depend on the Resource Manager?

    -Randy
    Last edited by Daniil; Jan 14, 2012 at 8:40 AM. Reason: [CLOSED]
  2. #2
    Never mind. Menu.ToScript() does not fail under a service, and I can get what I need from that.

    Mark Closed

Similar Threads

  1. Replies: 2
    Last Post: Apr 02, 2012, 7:48 AM
  2. DirectMethod request fails in hosting service
    By chezinho in forum 1.x Help
    Replies: 6
    Last Post: Feb 20, 2012, 9:36 PM
  3. [CLOSED] [1.0 RC1] PagingToolbar fails with HttpProxy.
    By capecod in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 22, 2010, 11:02 AM
  4. [CLOSED] Latest build from SVN fails
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 03, 2008, 10:45 PM

Posting Permissions