CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> .NET

 adding server onclick event to anchor control

Print topic Send  topic

Author Message
Posted: 02/16/2005, 4:11 AM

does somebody know, to add an onclick event to an anchor html the ccs properties window is only a before show event!!

Posts: 283
Posted: 03/01/2005, 10:28 PM

I haven't done this to an anchor tag but if you are trying to add some javascript to other controls in CCS you have to do it programmatically and not thru the extended HMTL properties

You need to do something like:
myctl.Attributes("onclick") = "alert('hello');"

Check the code in the aspx file and verify that the anchor tag has a runat="server"; then you can do the attributes command.
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.