Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: =?iso-8859-1?Q?ASCX=20file=2E=20=2D=20How=20to=20include=20a=20Cancel=20Sub=20Procedure=2E?=


Message #1 by MICHAEL.ENGLISH@e... on Mon, 2 Jul 2001 12:08:30 +0100
Good Morning all,



I am hoping to take the following code from all my aspx files and central

ise

it in my ASCX file.  Can someone guide me along please?



The code is;



    Public Sub Cancel_Click(Sender as Object, E as EventArgs)

    	Page.Navigate("Somefile.aspx")

    End Sub



Basically I want to direct the user to the same file (Somefile.aspx) when



they click any Cancel button through my application.



Many thanks for your assistance in advance.



Michael










  Return to Index