Given that my application is a VB.Net application, I decided to create the Javascript I needed dynamically during the post back event of the child form.
I added the following code to my 'OK' button:
======================================================
Private Sub btnOK_Click(ByVal sender...
Hi Tracy,
Thank you for the suggestion. I tried it out as well as a few other variations but without any luck. Just excluding the '.value' at the end eliminates page errors but nothing gets updated on the parent window.
Again the statement that works is: window.opener.document.form2.t_1.value...
I have a child form that updates a parent form.
The field on the parent form is called "t_1".
I am using the following javascript to update its value:
opener.document.form2.t_1.value=TaskId;
This works fine the value of the variable TaskId is filled in fine. But what I really need is to replace...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.