Using popup window from control in DetailsView - problems assigning value to control
Posted on 2010-11-09
Form with ID="form1"
Details view with ID="dvRoute"
TextBox with ID="txtRouteDate"
My code is:
var ctl = "dvRoute_txtRouteDate";
window.opener.document.form1[ctl].value = dateValue;
This is not working - is there another way to do this or is my syntax wrong?