adding webcontrol button attributes

Discussion in 'ASP .Net' started by =?Utf-8?B?YW5vb3A=?=, Jul 4, 2004.

  1. how can I call javascript function by adding button's attribute such as onclick in the code behind file as ".aspx.vb"

    I have written code as Draw_line.Attributes("Onclick")="javascript:

    where DrawLine is the name of the button
    =?Utf-8?B?YW5vb3A=?=, Jul 4, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?YW5vb3A=?=

    adding webcontrol button attributes

    =?Utf-8?B?YW5vb3A=?=, Jul 4, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    419
    Stefano Mostarda
    Jul 4, 2004
  2. P4trykx
    Replies:
    2
    Views:
    1,807
    bruce barker
    Jan 31, 2007
  3. Jørn A
    Replies:
    3
    Views:
    285
    Benyamin Maengkom
    May 5, 2004
  4. Esqueleto

    Adding WebControl using a Button....

    Esqueleto, Jun 25, 2006, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    108
    Alessandro Zifiglio
    Jun 26, 2006
  5. Steven

    Adding a WebControl to a WebControl

    Steven, Oct 13, 2008, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    115
    Steven
    Oct 13, 2008
Loading...

Share This Page