P
Pattabi
Hi!!!!!!!
I have aspx page which uses ascx(usercontrol) in it.
The ascx in turn contains a textbox and a button. if i click
the button, javascript code get executed to open another popup window,
in that code i am passing the form name , control name of the text
box. After few operations are performed in that popup window, when i
try to close the popup window, i am setting the value of the texbox in
ascx from the popup window using javascript
it's giving me the error as
window.open.document.forms["abc"].txtbox.value is null or not an
object,
From the above error, I think the reference is lost to the form.
It works fine when I am not using any ascx(usercontrol) in my aspx
page and opening directly popup window from the aspx page.
Can someone help me out in this!!!!!!!!!!!!!!!!!
thanks
dharani
I have aspx page which uses ascx(usercontrol) in it.
The ascx in turn contains a textbox and a button. if i click
the button, javascript code get executed to open another popup window,
in that code i am passing the form name , control name of the text
box. After few operations are performed in that popup window, when i
try to close the popup window, i am setting the value of the texbox in
ascx from the popup window using javascript
window.opener.document.forms[ said:"].value = "<%= strSelectedDate %>";
it's giving me the error as
window.open.document.forms["abc"].txtbox.value is null or not an
object,
From the above error, I think the reference is lost to the form.
It works fine when I am not using any ascx(usercontrol) in my aspx
page and opening directly popup window from the aspx page.
Can someone help me out in this!!!!!!!!!!!!!!!!!
thanks
dharani