Click here to Skip to main content
15,893,381 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Simple activation email Pin
J4amieC24-Feb-09 0:04
J4amieC24-Feb-09 0:04 
GeneralRe: Simple activation email Pin
Abhijit Jana23-Feb-09 22:13
professionalAbhijit Jana23-Feb-09 22:13 
GeneralRe: Simple activation email Pin
Expert Coming23-Feb-09 22:17
Expert Coming23-Feb-09 22:17 
GeneralRe: Simple activation email Pin
J4amieC24-Feb-09 0:00
J4amieC24-Feb-09 0:00 
GeneralRe: Simple activation email Pin
J4amieC24-Feb-09 0:02
J4amieC24-Feb-09 0:02 
GeneralRe: Simple activation email Pin
Abhijit Jana24-Feb-09 0:42
professionalAbhijit Jana24-Feb-09 0:42 
QuestionLeftMouseUp / LeftMouseDown events for ASP.NET controls Pin
alvarog0123-Feb-09 21:46
alvarog0123-Feb-09 21:46 
AnswerRe: LeftMouseUp / LeftMouseDown events for ASP.NET controls Pin
Greg Chelstowski23-Feb-09 22:16
Greg Chelstowski23-Feb-09 22:16 
Well I would employ javascript to do that, actually, like this:
In your code behind, add this line(in Page_Load, or wherever):
ImageButton1.Attributes.Add("onmousedown", "OnMouseDownButton()");


On your aspx page (somewhere in the head tag, or in an .js file if you have one linked, add this:
function OnMouseDownButton()
 {
     document.getElementById('ImageButton1').src='yourotherimage.jpg';

 }


Remember to add the script tag over the actual script Wink | ;)
GeneralRe: LeftMouseUp / LeftMouseDown events for ASP.NET controls Pin
alvarog0123-Feb-09 23:20
alvarog0123-Feb-09 23:20 
GeneralRe: LeftMouseUp / LeftMouseDown events for ASP.NET controls Pin
Greg Chelstowski23-Feb-09 23:41
Greg Chelstowski23-Feb-09 23:41 
GeneralRe: LeftMouseUp / LeftMouseDown events for ASP.NET controls Pin
alvarog0124-Feb-09 0:30
alvarog0124-Feb-09 0:30 
Questiongetting postback in inside the updatepanel..., Pin
Member 387988123-Feb-09 21:44
Member 387988123-Feb-09 21:44 
Questionrecord search Pin
raizadasanju23-Feb-09 20:59
raizadasanju23-Feb-09 20:59 
AnswerRe: record search Pin
Abhijit Jana23-Feb-09 21:05
professionalAbhijit Jana23-Feb-09 21:05 
AnswerRe: record search Pin
Ashfield23-Feb-09 21:07
Ashfield23-Feb-09 21:07 
QuestionI am getting bad request count more Why??????????? Pin
Tarun Dudhatra23-Feb-09 20:22
Tarun Dudhatra23-Feb-09 20:22 
QuestionHow to Update the CheckBoxlist? Pin
Johndas23-Feb-09 19:52
Johndas23-Feb-09 19:52 
QuestionException Handling Mechanism Pin
Mogaambo23-Feb-09 19:14
Mogaambo23-Feb-09 19:14 
AnswerRe: Exception Handling Mechanism Pin
Expert Coming23-Feb-09 22:16
Expert Coming23-Feb-09 22:16 
QuestionVisual Studio is not working properly in Vista Pin
rahuladya23-Feb-09 18:26
rahuladya23-Feb-09 18:26 
AnswerRe: Visual Studio is not working properly in Vista Pin
Expert Coming23-Feb-09 18:51
Expert Coming23-Feb-09 18:51 
AnswerRe: Visual Studio is not working properly in Vista Pin
Kariem Soudy23-Feb-09 20:47
Kariem Soudy23-Feb-09 20:47 
GeneralRe: Visual Studio is not working properly in Vista Pin
rahuladya24-Feb-09 16:54
rahuladya24-Feb-09 16:54 
QuestionReport has no tables Pin
Girish48123-Feb-09 18:12
Girish48123-Feb-09 18:12 
QuestionPrevent user to do multiple logins with same credentials Pin
rushi_gavankar23-Feb-09 18:09
rushi_gavankar23-Feb-09 18:09 

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.