Skip to Content
0
Former Member
Oct 14, 2008 at 05:01 AM

F4 help in MVC(within subcontroller)

18 Views

Hello,

F4 help is working fine if both the parent and popup are pages with flow logic.....In MVC model, i tried to get the F4 help within a sub controller. I am getting the popup but couldn't pass the value back to the parent view..

JavaScript code in popup window

-


function getData()

{

if (window.opener && !window.opener.closed)

window.opener.transf("<%= lv_blart %>");

window.close();

return true;

}

JavaScript code in parent view

-


function getDocTyp()

{

document.open('docTyp.htm',window,"height=400,width=215,resizable=0,menubar=0,toolbar=0,location=0,directories=0,scrollbars=0,status=0");

}

function transf(fval)

{

document.getElementById("blart").value = fval;

}

Please some help me to rectify this..

Thanx in advance...

Best regards,

Maya.