Results 1 to 2 of 2

Thread: <asp:button> web server control

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Posts
    65

    <asp:button> web server control

    Hi,

    Could you please show me how to create a <input type="button"..> tag from a <asp:button ..... runat="server"> web server control? I used this web server control but it always generate a <input type="submit" ...>.

    And also Could you please tell me how to use javasrcript function (client-script) with a button web server control? How to use a history object to go back or go next in a ASP .NET page?

    Thanks in advances,

    Trung Luu

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Could you please show me how to create a <input type="button"..> tag from a <asp:button ..... runat="server"> web server control? I used this web server control but it always generate a <input type="submit" ...>.
    you dont. If you need a input type button, then you just use the regular html for it. an asp:button is for calling back server side functions so it HAS to submit.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width