Solved

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

Posted on 2011-03-07
2
299 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 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