May 26, 2013, 4:23 PM
Multiple Task Managers in a single page
Hi!
I was trying to edit the MVC Example Explorer
What I was trying is with Home.cshtml, putting a Label control named Label1 and and a task manager which contains a task to execute every 5 seconds to update this label.
Now with _West.cshtml view, I added bottombar to the treepanel, and then a toolbar to the bottombar, and then a Label control names Label2
Its like Treepanel > BottomBar > ToolBar > Label("Label2")
Then I added a task manager to it and a task which execute every 5 seconds to update this Label 2.
However, I am unable to get it working, its not showing any error, just not working.
Under MainController.cs
I added two [DirectMethod]
public DirectResult UpdateLabel1()
and public DirectResult UpdateLabel2()
both of them return this.Direct();
Now Home.cshtml view is working fine, and _West.cshtml view is not working
Can any one help me on this ?
Everything is okay i.e. AutoRun, interval, WaitPreviousRequest, TaskID are different, directevents called using same pattern.
Hope to get some help on this
I was trying to edit the MVC Example Explorer
What I was trying is with Home.cshtml, putting a Label control named Label1 and and a task manager which contains a task to execute every 5 seconds to update this label.
Now with _West.cshtml view, I added bottombar to the treepanel, and then a toolbar to the bottombar, and then a Label control names Label2
Its like Treepanel > BottomBar > ToolBar > Label("Label2")
Then I added a task manager to it and a task which execute every 5 seconds to update this Label 2.
However, I am unable to get it working, its not showing any error, just not working.
Under MainController.cs
I added two [DirectMethod]
public DirectResult UpdateLabel1()
and public DirectResult UpdateLabel2()
both of them return this.Direct();
Now Home.cshtml view is working fine, and _West.cshtml view is not working
Can any one help me on this ?
Everything is okay i.e. AutoRun, interval, WaitPreviousRequest, TaskID are different, directevents called using same pattern.
I am not sure, but I guess, if I can somehow, run the TaskManager from Home view and call the control of _West view, then it might work.