Aspx page opened as a modal dialog

L

Lisa

I have an aspx page that has a checkboxlist control on it. There is
code in the selection changed event so that when you check the first
checkbox (Select All) it checks the reset of the checkboxes on the
page.

This page is opened by clicking on a link within a datagrid as a modal
dialog using the following code :

strScript = "window.showModalDialog('Dialog.aspx?Var1=" + strVar1+
"&Var2=" + strVar2 + "&var3=" + strvar3 + "&var4=" + strvar4 +
"&date=" + strDate + "&var5=r" + "&var6e=6', null,
'center:yes;resizable:no;dialogHeight:250px')"

dgDiagBooklets.Items(intCounter).Cells(11).Attributes.Add("onclick",
strScript)

This code will work when compiled and ran on my local pc, but it will
not work when I copy to our server.

Any suggestions as to why, or how I could do this differently?
 

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,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top