[CLOSED] [2.0] History

  1. #1

    [CLOSED] [2.0] History

    Hello,

    it would appear that the history control does not register a global accessible name in JavaScript. I can't access the following:

    @(Html.X().History()
        .ID("Path")
    )
    With the following JavaScript:

    ...
    alert(App.Path);
    ...
    Works for other controls, like tree panels etc.

    Cheers,
    Timothy
    Last edited by Daniil; May 30, 2012 at 1:04 PM. Reason: [CLOSED]
  2. #2
    History control is singleton therefore just use
    Ext.History
  3. #3
    In that case, would I even need to add a control to my page then?

    Cheers

    Quote Originally Posted by Vladimir View Post
    History control is singleton therefore just use
    Ext.History
  4. #4
    Yes, you have to add control to the page because in this case only the 'init' method of History control will be called (init method calling is required to activate History widget)
  5. #5
    Thanks! You can mark this one closed.

    Cheers,
    Timothy

Similar Threads

  1. [CLOSED] History - code behind
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 24, 2011, 10:41 AM
  2. [CLOSED] History - ready
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 0
    Last Post: Aug 24, 2011, 10:41 AM
  3. [CLOSED] History Example
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 24, 2011, 1:56 AM
  4. [CLOSED] History point
    By gokcemutlu in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 18, 2009, 11:44 AM
  5. [CLOSED] How to initiaize History
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 02, 2009, 4:30 AM

Posting Permissions