Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > adding webcontrol button attributes

Reply
Thread Tools

adding webcontrol button attributes

 
 
=?Utf-8?B?YW5vb3A=?=
Guest
Posts: n/a
 
      07-04-2004
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a WebControl to a WebControl Steven ASP .Net Web Controls 1 10-13-2008 09:37 PM
WebControl.Attributes.Add and custom attributes P4trykx ASP .Net 2 01-31-2007 04:33 PM
Adding WebControl using a Button.... Esqueleto ASP .Net Web Controls 3 06-26-2006 11:12 AM
adding webcontrol button attributes =?Utf-8?B?YW5vb3A=?= ASP .Net 1 07-04-2004 07:35 PM
Adding javascript client-side funtionality to a Button webcontrol Jørn A ASP .Net Datagrid Control 3 05-05-2004 01:46 PM



Advertisments