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

Posted on 2011-03-07
Medium Priority
Last Modified: 2012-05-11
I am using a css button verbatim as instructed by this link

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?
Question by:JOHNFROG
LVL 12

Accepted Solution

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

Author Closing Comment

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

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Article by: Jorge
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…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

597 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