Microsoft
Software
Hardware
Network
Question : Why am I getting this compile error?
my aspx page
EnableViewState="False" Text="Email event notices to registered attendees"
ValidationGroup="EventRegA
ttendee" Width="269px" OnClick="EmailRegAttendeeN
otices()"/
>
--------------------------
----------
----------
----------
----------
----------
----------
my aspx inline code
--------------------------
--
==========================
==========
==========
======
Compile error?
==========================
==========
==========
=========
Error 20 Argument not specified for parameter 'e' of 'Protected Sub EmailRegAttendeeNotices(se
nder As Object, e As System.EventArgs)'. C:\Documents and Settings\Dennis West\Local Settings\Temp\VWDWebCache\
cmaanorcal
events.com
\DesktopMo
dules\i2In
tegration - Events\user\Register.ascx 100
Error 22 Argument not specified for parameter 'e' of 'Protected Sub EmailRegAttendeeNotices(se
nder As Object, e As System.EventArgs)'. C:\Documents and Settings\Dennis West\Local Settings\Temp\VWDWebCache\
cmaanorcal
events.com
\DesktopMo
dules\i2In
tegration - Events\user\Register.ascx 100
Error 21 Argument not specified for parameter 'sender' of 'Protected Sub EmailRegAttendeeNotices(se
nder As Object, e As System.EventArgs)'. C:\Documents and Settings\Dennis West\Local Settings\Temp\VWDWebCache\
cmaanorcal
events.com
\DesktopMo
dules\i2In
tegration - Events\user\Register.ascx 100
Error 23 Argument not specified for parameter 'sender' of 'Protected Sub EmailRegAttendeeNotices(se
nder As Object, e As System.EventArgs)'. C:\Documents and Settings\Dennis West\Local Settings\Temp\VWDWebCache\
cmaanorcal
events.com
\DesktopMo
dules\i2In
tegration - Events\user\Register.ascx 100
==========================
==========
==========
==========
=
Answer : Why am I getting this compile error?
you should add Handles btn.click I guess
Protected Sub EmailRegAttendeeNotices_Cl
ick(ByVal sender As Object, ByVal e As EventArgs)
-->
Protected Sub EmailRegAttendeeNotices_Cl
ick(ByVal sender As Object, ByVal e As EventArgs) handles Button1.click
Random Solutions
SQL - Find records in one table not in another
Does CMap support multi-threading?
Expected user-defined type, not project
Togglelink
SBS 2008 Can't connect to my RWW from outside my network
How do I disable File Download Security warning dialog box when trying to download a file from Internet Explorer
Need to gain access to secured folder that has access denied permission problems
Out of Office assistant on an additional mailbox
Create object leaving instance of Excel running in task manager.
Unable to copy detached files - even with "full control" permissions on remote server