Solved

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

Posted on 2011-03-07
2
306 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
FarWest earned 500 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

Independent Software Vendors: 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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

688 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