Click here to Skip to main content
16,011,120 members
Home / Discussions / C#
   

C#

 
GeneralRe: A way to control graphic card driver? Pin
Heath Stewart4-Dec-03 9:37
protectorHeath Stewart4-Dec-03 9:37 
GeneralRe: A way to control graphic card driver? Pin
Radoslav Bielik4-Dec-03 9:46
Radoslav Bielik4-Dec-03 9:46 
GeneralRe: A way to control graphic card driver? Pin
Heath Stewart4-Dec-03 10:18
protectorHeath Stewart4-Dec-03 10:18 
GeneralRe: A way to control graphic card driver? Pin
Radoslav Bielik4-Dec-03 10:49
Radoslav Bielik4-Dec-03 10:49 
GeneralRe: A way to control graphic card driver? Pin
Noah Duke4-Dec-03 9:53
Noah Duke4-Dec-03 9:53 
GeneralRe: A way to control graphic card driver? Pin
Radoslav Bielik4-Dec-03 10:02
Radoslav Bielik4-Dec-03 10:02 
GeneralAccessing the Image of a System.Web.UI.WebControls.HyperLink Pin
mkushner4-Dec-03 8:17
mkushner4-Dec-03 8:17 
GeneralRe: Accessing the Image of a System.Web.UI.WebControls.HyperLink Pin
Heath Stewart4-Dec-03 9:31
protectorHeath Stewart4-Dec-03 9:31 
Extend HyperLink and add your own properties and / or events to do this, and then override Render to output your properties as HTML attribute for the IMG tag that is generated. There are several methods you can use to apply the styles and what-not for the control. It's all documented in the SDK documentation for WebControl.

Either that (easier), or output a script block (see Page.RegisterClientScriptBlock or Page.RegisterStartupScript - and you can get the Page in which the control is contained by using the control's Page property) that uses the ID to dynamically attach an event handler, although you have to then take the ClientID (as dictated by how the control is nested in one or more INamingContainer implementations, like the Page or a Panel). The first method would definitely be easier.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralProduct to automatically convert VB.Net projects to C# – Beta Testers wanted Pin
Roger L Jack4-Dec-03 7:00
Roger L Jack4-Dec-03 7:00 
GeneralRe: How to capture data from the local serial port through a Aspx page situated in a Web Server ?? Pin
Colin Angus Mackay4-Dec-03 6:18
Colin Angus Mackay4-Dec-03 6:18 
GeneralResources Pin
Guinness4Strength4-Dec-03 4:31
Guinness4Strength4-Dec-03 4:31 
GeneralRe: Resources Pin
Not Active4-Dec-03 4:38
mentorNot Active4-Dec-03 4:38 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 4:40
Guinness4Strength4-Dec-03 4:40 
GeneralRe: Resources Pin
Not Active4-Dec-03 5:04
mentorNot Active4-Dec-03 5:04 
GeneralRe: Resources Pin
Heath Stewart4-Dec-03 6:13
protectorHeath Stewart4-Dec-03 6:13 
GeneralRe: Resources Pin
Not Active4-Dec-03 6:26
mentorNot Active4-Dec-03 6:26 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 7:11
Guinness4Strength4-Dec-03 7:11 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 7:22
Guinness4Strength4-Dec-03 7:22 
GeneralRe: Resources Pin
Heath Stewart4-Dec-03 9:21
protectorHeath Stewart4-Dec-03 9:21 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 10:39
Guinness4Strength4-Dec-03 10:39 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 11:01
Guinness4Strength4-Dec-03 11:01 
GeneralRe: Resources Pin
Heath Stewart4-Dec-03 13:48
protectorHeath Stewart4-Dec-03 13:48 
GeneralRe: Resources Pin
Guinness4Strength5-Dec-03 4:16
Guinness4Strength5-Dec-03 4:16 
GeneralRe: Resources Pin
Not Active4-Dec-03 7:40
mentorNot Active4-Dec-03 7:40 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 7:58
Guinness4Strength4-Dec-03 7:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.