[CLOSED] popup window control from shared layout page

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] popup window control from shared layout page

    can anybody guide me on how to open window popup partial view on a menu item click from layout page?

    Window Control like this:

    X.Window().ID("TestPopUp").Width(500).Height(500).Modal(true).Items(....)
    I was able to do it by calling

    @HTML.Partial("TestPopUp")
    and then

    X.Menu().Items(
      X.MenuItem().Text("Test View").Listeners(l => l.Click.Handler = "App.TestPopUp.show()")
    )
    from my layout page, but I have many partial pop up window controls in my app, and I don't want to Render all of them across entire website. So, I was just wondering if there is any other approach of achieving this from my layout page?

    Thanks
    Last edited by fabricio.murta; Mar 03, 2017 at 6:37 PM.

Similar Threads

  1. Replies: 1
    Last Post: Jun 18, 2012, 3:41 PM
  2. Replies: 1
    Last Post: Feb 03, 2012, 2:36 PM
  3. Replies: 1
    Last Post: Jan 16, 2012, 5:00 PM
  4. Replies: 4
    Last Post: Feb 23, 2010, 7:38 AM
  5. [CLOSED] Window in a control is visible when page is rendered
    By gokcemutlu in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 15, 2010, 7:05 AM

Tags for this Thread

Posting Permissions