473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

make a link postback?

I want to put some interactivity on my form in the form of buttons that are
really links, I know i can do a query string in the link to process their
action based on the type of action specified in th query string, but is
there any way to do an ASP.NET style postback to the server through a link
to make it more clean? I just need a way to put a hyperlink on a page and
process the action i want from it when its clicked. thanks! (i dont want to
use a image for the button either, because im trying to use full CSS style
generation)
Nov 19 '05 #1
2 5712
Maybe you could use a LinkButton.

"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:Oi**************@TK2MSFTNGP14.phx.gbl...
I want to put some interactivity on my form in the form of buttons that are really links, I know i can do a query string in the link to process their
action based on the type of action specified in th query string, but is
there any way to do an ASP.NET style postback to the server through a link
to make it more clean? I just need a way to put a hyperlink on a page and
process the action i want from it when its clicked. thanks! (i dont want to use a image for the button either, because im trying to use full CSS style
generation)

Nov 19 '05 #2
ah thanks, for somereason overlooked that one.

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Maybe you could use a LinkButton.

"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:Oi**************@TK2MSFTNGP14.phx.gbl...
I want to put some interactivity on my form in the form of buttons that

are
really links, I know i can do a query string in the link to process their
action based on the type of action specified in th query string, but is
there any way to do an ASP.NET style postback to the server through a
link
to make it more clean? I just need a way to put a hyperlink on a page and
process the action i want from it when its clicked. thanks! (i dont want

to
use a image for the button either, because im trying to use full CSS
style
generation)


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Cathy | last post by:
Has anyone ever made a webform button run an onClick event that is a Javascript in the HTML code and then after running the script make it go into the code-behind? An HTML button will run the...
3
by: VIJAY KUMAR | last post by:
Hi pals, I am using 2 web forms (pages). In first page, i have Datagrid control and on second page i have a hyper link control to the first page and Add value to the data grid/Database. ...
3
by: martin | last post by:
Hi, I would like to place a normal link <a href=..> on my webpage and when it is clicked for the form to be posted back. I guess that I will have to have to link point to some javascript code...
1
by: Gopal Krish | last post by:
I'm have coded a simple menu (using link buttons as menu items) in a user control to be reused across many ASPX pages. In the page_load method I dynamically create the link buttons as follows ...
1
by: M | last post by:
It's possible to call a Page PostBack with a link (<a href='....'>link</a>)? I would like only to add to the QueryString a parameter (i.e. PageN=3 ) and then calling a PostBack Can I do...
7
by: kaburke | last post by:
Is there a way to make a page at the receiving end of a Server.Transfer think that the request is a Postback? (When I say "think it is a Postback," I mean I want the page to go through the ENTIRE...
2
by: Ivers | last post by:
My C# asp.net app (.NET 1.1) can generate an email whose body contains a link to the current page of the app. When the recipient of the email clicks the link (usually from Outlook), the app...
5
by: Amoril | last post by:
I've read quite a few different message on various boards and for some reason I'm still having trouble wrapping my head around this viewstate maintenance and trying to get these dynamically created...
6
by: SAL | last post by:
Hi, VS2005 post I'm opening a window using the following syntax: Protected Sub lbEstValue_Click(ByVal sender As Object, ByVal e As System.EventArgs)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.