create custom button asp.net
- From: csgraham74@xxxxxxxxxxx (Colin Graham)
- Date: 17 Apr 2005 11:03:29 -0700
Hi there,
I am working on a project at the minute and i have created a button
using the following code.
<asp:button id="Button1" onclick="upload" runat="server" Width="119px"
text="Upload"></asp:button>
this button calls and runs some code ie. sub upload - see below
Public Sub upload(ByVal s As Object, ByVal e As EventArgs)
code here .......
i have created my own button in fireworks and want to insert it in my
code an call this function but it does not work - code below
<INPUT id="btn_EditImage" type="image" src="Buttons/EditImage.gif"
onclick="upload" runat="server"></TD>
Can anyone please tell me what the problem is and how can i get round
this issue. i do not really understand the (ByVal s As Object, ByVal e
As EventArgs) in my sub routine can this be removed ???
.
- Follow-Ups:
- Re: create custom button asp.net
- From: Roger Helliwell
- Re: create custom button asp.net
- From: J
- Re: create custom button asp.net
- Prev by Date: What is wrong with this code to populate a DropDownList?
- Next by Date: Re: DataGrid's DataBind() error
- Previous by thread: What is wrong with this code to populate a DropDownList?
- Next by thread: Re: create custom button asp.net
- Index(es):
Loading