Modal Dialog

  • Thread starter Ganesh Ramamurthy
  • Start date
G

Ganesh Ramamurthy

Hi Experts,

I am having a serious problem now. I am using IE for developing my asp.net
application. My application need not run in Netscape. I have a peculiar
problem. I have an aspx page from which when the user clicks on the save
button, I am calling a javascript function which shows up a modal dialog
box. I want the user to do certain varifications before the save. Inside the
modal dialog, I have a datagrid which has a template column containing a
LinkButton. I have written code in the Oncommand event of the link button.
However, when the I click on the linkbutton, I get a new dialog box and I
get a client side error.

If I use a button insted, I dont get an error but the same page is opened in
another window. I cannot use a non modal dialog since I want to return some
values to the calling page. and proceed furthur from that page without user
intervention.

Has anybody faced such a problem. Please Help


Thanks in advance

Regards
Ganesh
 
E

Eliyahu Goldin

Ganesh,

Just put a line

<base target=_self>

in the <Head> section of the page shown in the modal window.

Eliyahu
 

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

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top