error with showModalDialog

L

Lessandro Sant'Ana

Hi,
I have problem with showModalDialog function
my code in Page1.aspx

btnCall.Attributes.Add("OnClick", "showModalDialog(Page2.aspx',
'window','dialogWidth:750px;dialogHeight:430px;help:no;scroll:no;status:no')
;");

in Page2.aspx exist 2 buttons, SAVE and
CANCEL(System.Web.UI.WebControls.Button). when I press any button ( the
buttons are no Codebehind ) open another window with Page2.aspx, as one was
javascript:window.open("Page2.aspx")

any idea?
 

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,773
Messages
2,569,594
Members
45,118
Latest member
LatishaWhy
Top