B
biju
Hai friends,
I am having a problem in my asp.net project.I have a form that has
some anthem dropdowns which is data binded.I am opening a new page as
popup and adding some data to the database.I wants the dropdown to
update the added values when the popup is closed.I cant use
<body onunload="opener.location.reload();"></body>
on child page because it destroys the values in the text boxes.
I can call a javascript function in the parent page like..
<body onunload="window.opener.UpdateCity()";></body>
and the function in parent page as
function UpdateCity()
{
document.getElementById('<%=ddlCity.ClientID%>').Databind();
}
But i cant get the databind to work.Can anyone help me...Is there
any other way to accomplish this..?
I am having a problem in my asp.net project.I have a form that has
some anthem dropdowns which is data binded.I am opening a new page as
popup and adding some data to the database.I wants the dropdown to
update the added values when the popup is closed.I cant use
<body onunload="opener.location.reload();"></body>
on child page because it destroys the values in the text boxes.
I can call a javascript function in the parent page like..
<body onunload="window.opener.UpdateCity()";></body>
and the function in parent page as
function UpdateCity()
{
document.getElementById('<%=ddlCity.ClientID%>').Databind();
}
But i cant get the databind to work.Can anyone help me...Is there
any other way to accomplish this..?