How to create a popup / model window

Posted by anu31221@gmail.com on 14-Apr-2016 23:47

I want to create the popup / model window for a contact record. In the popup page, i want to capture communication log and todo detail. After submitting the popup form, it should create the communication log record and todo record.

Any one knows how to it?

Do we have to create portal page then iframe or something else?

All Replies

Posted by Thierry Ciot on 16-Apr-2016 14:10

you can use kendo ui window and populate the fields you want by making api call.

Posted by anu31221@gmail.com on 19-Apr-2016 16:51

Do y have example how to open the popup?

Posted by Karthikeyan Bhaskaran on 19-Apr-2016 22:47

Hello Anu,

Kendo UI window can be attached through onclick of the button like you described the other day as follows:

<button type="button" label="callbutton" onclick="newpopupFunction()">Call</button>
<div id="dialog"> </div>

<script>
function newpopupFunction() {

    var dialog = $("#dialog").kendoWindow(

    {
        height: 600,
        width: 800,
        content: "http://localhost:<port_if_any>/master/m/popup.jsp?pageId=1655"
    });

}

</script>


I am still looking into adding both Communication Log and the To-Do to the single popup. But this should get you started, I hope.

Some documentation you may find useful:

demos.telerik.com/.../index    (demo of the Kendo UI Window)

docs.telerik.com/.../window   (documentation for Kendo Window)

Regards,

Karthikeyan

This thread is closed