?
Solved

How do I make a css button call a code behind procedure?

Posted on 2011-03-07
2
Medium Priority
?
320 Views
Last Modified: 2012-05-11
I am using a css button verbatim as instructed by this link
http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html

Works great to redirect to another page but I really want to use these buttons to remain on the same page and fire off a code behind procedure.

How on earth can I achieve this?
0
Comment
Question by:JOHNFROG
2 Comments
 
LVL 12

Accepted Solution

by:
FarWest earned 2000 total points
ID: 35056181
try
add  runat="server" in the HTML tag, then its events will be shouwn to be used in the .vb code
0
 

Author Closing Comment

by:JOHNFROG
ID: 35057119
Awesome. I have struggled with this for so long.

and so simple. I just use the server click event. too easy
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question