[CLOSED] Show notification pop-on on the master page from another view

  1. #1

    [CLOSED] Show notification pop-on on the master page from another view

    We have a web-based application that uses a master page like the one on your MVC demo center.
    Actually, we would like to display ext js notification pop-on on the master page from another view.
    Example: From a page 'X' an event is fired to show a popon on the master page.

    Is this possible?
    Last edited by Daniil; Apr 04, 2012 at 8:35 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Are there iframes?

    If so, you can access a parent page via "parent" reference:
    parent.Ext.net.Notification.show({
        title : 'Title'
        html  : "Hello World"
    });
    The JavaScript code above will show a notification on a parent page.

    Please note that there is no way to access another page in code behind.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Are there iframes?

    If so, you can access a parent page via "parent" reference:
    parent.Ext.net.Notification.show({
        title : 'Title'
        html  : "Hello World"
    });
    The JavaScript code above will show a notification on a parent page.

    Please note that there is no way to access another page in code behind.
    Thks it works

Similar Threads

  1. Replies: 1
    Last Post: Sep 08, 2013, 5:10 AM
  2. Replies: 0
    Last Post: Jul 30, 2012, 10:39 AM
  3. Replies: 2
    Last Post: Feb 29, 2012, 6:26 PM
  4. Replies: 4
    Last Post: Feb 13, 2012, 2:21 PM
  5. Replies: 2
    Last Post: May 05, 2010, 10:23 AM

Posting Permissions