Hyperlink to fire event
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngbeta' list.


Peter Ahn www.ssw.com.au
-- This message, which was originally sent to "aspngdata", has been moved to "aspngbeta" mailing list by the List Master --

When I click hyperlink which is meant to fire A1_Click event, there is
an error "Object required line 0".=20

Does anyone have this problem before?=20

=20

ProjDetail.aspx:=20

<a href=3D"project.aspx" runat=3Dserver ID=3DA1 =
onserverclick=3D"A1_Click" >Go
Forward</a>=20

ProjDetail.vb:=20

Public Sub A1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)=20
response.Write("Test")=20
'Call function to save data=20
End Sub=20

Thanx=20

Peter=20

=20

Reply to this message...
 
    
Peter Ahn www.ssw.com.au
-- This message, which was originally sent to "aspngdata", has been moved to "aspngbeta" mailing list by the List Master --

When I click hyperlink which is meant to fire A1_Click event, there is
an error "Object required line 0".

Does anyone have this problem before?=20

ProjDetail.aspx:

<a href=3D"project.aspx" runat=3Dserver ID=3DA1 =
onserverclick=3D"A1_Click" >Go
Forward</a>

ProjDetail.vb:

Public Sub A1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
response.Write("Test")
    'Call function to save data
End Sub

Thanx

Peter

Reply to this message...
 
 
System.EventArgs
System.Object




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com