Jan 13, 2012, 8:40 PM
[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
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]