Multiple Task Managers in a single page

  1. #1

    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.

    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.
    Hope to get some help on this
  2. #2
    Hi @GKG4,

    Please provide a simplified test case to reproduce.

Similar Threads

  1. [CLOSED] Multiple partial views on single page
    By machinableed in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 03, 2012, 9:06 AM
  2. Multiple vType on a Single Control
    By huzzy143 in forum 1.x Help
    Replies: 2
    Last Post: Sep 09, 2011, 3:39 PM
  3. [CLOSED] multiple validations in single field
    By rnfigueira in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 23, 2011, 5:45 PM
  4. [CLOSED] [1.0]multiple validators on a single textfield
    By betamax in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 07, 2011, 7:32 PM
  5. Multiple ext controls in single anchor (or workaround)
    By dlouwers in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 04, 2008, 12:53 PM

Tags for this Thread

Posting Permissions