[thelist] asp.net: using a form button as a link

David Travis dwork at macam.ac.il
Tue Oct 19 09:45:32 CDT 2004

Hi Casey,

You don't have to abandon HTML tags in favor of server controls. When you
need links simply use them. If the HREF's value is dynamic you can set the
anchor to run at server (runat="server") and than to set the HREF attribute
when the page loads or something.


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Casey Crookston
Sent: Monday, October 18, 2004 11:19 PM
To: thelist at lists.evolt.org
Subject: [thelist] asp.net: using a form button as a link

I've got a pdf file users may want to download.  How does one format a form
button to download the file?

<asp:button text="Download" onclick="??" runat="server"/>




* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 

More information about the thelist mailing list