error in creating popup

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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

.



Relevant Pages

  • VBOkCancel coding
    ... a message box popup that tells the user that the field they just tabbed out ... or if they click the CANCEL button move on to the next field. ... Thanks in anticipation to who ever answers me. ... Prev by Date: ...
    (microsoft.public.access.forms)
  • Re: is it possible to Restrict Find & Replace to 1 column
    ... > a specified column ... > I need to do this in a Macro ie. popup a text box ... Prev by Date: ...
    (microsoft.public.excel.newusers)
  • Ad Flyins and Popups
    ... I get a small icon show up saying that a popup was allowed ... Regards ... Prev by Date: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Setting value of a text box on a report from VBA code
    ... I have a input box popup, but I can't get the value from the input box to ... "Margaret Bartley" wrote: ... >> input box to enter the day to be displayed, but I'm having trouble setting ... Prev by Date: ...
    (microsoft.public.access.reports)
  • Re: tsad.exe
    ... > always gets a popup that the program is not responding and i have to ... Mike Pawlak ... Prev by Date: ...
    (microsoft.public.windowsxp.help_and_support)