showModalDialog- Page_load event

A

Amirallia

Hello

I have a datagrid, and a hyperlink for each row in my datagrid, i
create the link of the hyperlink in code in the DataGrid1_ItemDataBound
event.

SO the link is
:"javascript:calendar_window=window.showModalDialog('Calendar.aspx','toto','toolbar=0;
location=0; directories=0; menubar=0; resizable=0; help:No; status=0;
dialogHeight=500px; dialogWidth=550px;')"

So when i click on the link fro the firste, a modal window appears, and
the code in the Page_load event of the calendar.aspx page execute.
unitl here all is ok.

But when I click in a another link, the calendar.aspx window appears
but the code on the Page_load event is not executed

That's a problem!!!

Any idea? thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top