1

I have a table with a list of records on the main landing page.

We can click records from the table to open a bootstrap modal for detail view.

I want to access the main landing page table to open another bootstrap modal, I mean opening and keeping two of them simultaneously.

8
  • Something wrong with window.open()? Commented Feb 4, 2016 at 15:23
  • @daniel I am using bootstrap modal window. not the new browser window popup. Commented Feb 4, 2016 at 15:33
  • You might want to mention that fact in the question, then. Commented Feb 4, 2016 at 15:37
  • updated the question Commented Feb 4, 2016 at 15:39
  • "popup window" does not mean "modal". They are different things. Edited for you. Commented Feb 4, 2016 at 15:44

1 Answer 1

0

I have achived this using angular-kendo window , Now able to open multiple popup.

http://plnkr.co/edit/BE6ADurYGqikkcNKQVl7?p=preview

var windowInstance = $kWindow.open({
                   options:{
                     modal: false,
                     title: "Window title",
                     height: 150,
                     width: 400,
                     visible: false
                   },
                    templateUrl: 'modal1.html',
                    controller: 'modalController',
                    resolve: {
                        parameter1: function () {
                            return "Test...";
                        }
                    }
                });
                windowInstance.result.then(function (result) {
                    // Here you can get result from the window
                });
Sign up to request clarification or add additional context in comments.

1 Comment

your solution doesn't seem to work in the way you mentioned, at least in the plunker example.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.