error in creating popup

  • Thread starter Thread starter manas
  • Start date Start date
M

manas

hi,
I am using showDialogModal to create a popup...
the intial page is webform1.aspx and the popup page is error.aspx,

I have the <base target="_self"> in webform1.aspx
and the code i used is

submit1.Attributes.Add("onclick","window.showModalDialog('error.aspx','BaseWork','dialogWidth:400px;dialogHeight:300px;');");

The error is :

CS0117 :'ASP.error_aspx' does not contain a defination for 'webform1'

What does this mean...where should i define this ??

I would appreciacte your help,

Thanks

Manas
 
Back
Top