V
Venkat Chellam
I am facing a very peculiar problem
I have a asp.net page with a grid loaded with some rows in the
database.
On each row, i have a editcommand column for editing the row.
When user click the edit button, i do some calcualtion and depending
on the results of calcalation, i need to show a modal dialog bos with
different page.
So what i am doing if i have to show the confimration dialog, i am
invoking a javascript which is as follows
function OnConfirm()
{
var winSettings = 'center:yes;resizable:no;help:no;status:no;dialogWidth:250px;dialogHeight:200px';
winArgs=null;
winArgs= window.showModalDialog("confirmation.aspx",window);
}
Now in the OnPageLoad event of confirmation.aspx, i am getting some
session values which i set before calling the javascript to show the
modal dialog and and using this session values to show in the
confirmation page. When i close the confirmation dialog, i am calling
another javescript which calls window.close. But i think it just
closed the client window but page is not unloaded from the memory.
If i select the next row and try to do the same thing, page load of
confirmation.aspx is not called, i still get the previous values and
don't get updated values because page_load of confirmation.aspx where
i am getting updated session variables is not getting invoked.
Its very urgent, i have a release on coming tuesday. Any help would be
appreciated
venky
I have a asp.net page with a grid loaded with some rows in the
database.
On each row, i have a editcommand column for editing the row.
When user click the edit button, i do some calcualtion and depending
on the results of calcalation, i need to show a modal dialog bos with
different page.
So what i am doing if i have to show the confimration dialog, i am
invoking a javascript which is as follows
function OnConfirm()
{
var winSettings = 'center:yes;resizable:no;help:no;status:no;dialogWidth:250px;dialogHeight:200px';
winArgs=null;
winArgs= window.showModalDialog("confirmation.aspx",window);
}
Now in the OnPageLoad event of confirmation.aspx, i am getting some
session values which i set before calling the javascript to show the
modal dialog and and using this session values to show in the
confirmation page. When i close the confirmation dialog, i am calling
another javescript which calls window.close. But i think it just
closed the client window but page is not unloaded from the memory.
If i select the next row and try to do the same thing, page load of
confirmation.aspx is not called, i still get the previous values and
don't get updated values because page_load of confirmation.aspx where
i am getting updated session variables is not getting invoked.
Its very urgent, i have a release on coming tuesday. Any help would be
appreciated
venky