HTML Help
HTML Help Central . com

» Online Users: 58

0 members and 58 guests
No Members online
Most users ever online was 695, 02-16-2011 at 07:01 AM.

» Site Navigation

 > FAQ

» Domains For Sale

Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2001
    Location
    BC, Canada
    Posts
    1,195

    ASPX Image Button Submit And Clear

    I have a submit button on a page in a form using aspx. I would like to have a submit button and a clear button, and i would like to use images (which i have made), but I do not know how to code aspx buttons to use images, I only know how to do that in regular html.

    The code i have for the submit button now is:

    <asp:Button Text="Submit" OnClick="OnSubmit" RunAt="server" />

    Does anyone know how I can use the same code but make it an image instead, and also does anyone know how to make a clear button in aspx?

    One more thing, I have a text box that requires a password, but normal encryption (type="password") doesn't work in aspx, does anyone know the code to make a text box encrypted in aspx?

    Thanks a lot.

    -UseTheMan
    in the sacred sands of Egypt...
    a secret, wisdom revealed...
    break the cryptic key of Taurus...
    and the seven signs of Nexus...
    draw the elysian lines of Horus...
    the open gate, beyond there...
    somewhere else await the reborn one...
    carried by immortal Gods...
    ancient power of distant forces...
    our heaven's passage through the stargate...
    Orion's eye...

  2. #2
    Join Date
    Jul 2001
    Location
    BC, Canada
    Posts
    1,195
    rather than

    <asp:Button Text="Submit OnClick="event" RunAt="server" />

    you go like this:

    <asp:ImageButton ImageUrl="image" OnClick="event" RunAt="server" />
    in the sacred sands of Egypt...
    a secret, wisdom revealed...
    break the cryptic key of Taurus...
    and the seven signs of Nexus...
    draw the elysian lines of Horus...
    the open gate, beyond there...
    somewhere else await the reborn one...
    carried by immortal Gods...
    ancient power of distant forces...
    our heaven's passage through the stargate...
    Orion's eye...

Similar Threads

  1. image used as a submit button
    By hameed in forum Javascript / AJAX / VBScript
    Replies: 1
    Last Post: 06-12-2006, 11:20 AM
  2. submit button/image - login script problem
    By Asparagus in forum Javascript / AJAX / VBScript
    Replies: 12
    Last Post: 10-29-2003, 08:00 AM
  3. Changing standard Window "Submit" button to an image
    By alphasisgraphic in forum HTML / XHTML / XML
    Replies: 2
    Last Post: 09-12-2002, 02:47 PM
  4. image submit button
    By justin in forum HTML / XHTML / XML
    Replies: 3
    Last Post: 10-14-2001, 03:52 PM
  5. creating a submit button using an image
    By KC in forum HTML / XHTML / XML
    Replies: 2
    Last Post: 07-27-2001, 10:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1