View Single Post
  #2 (permalink)  
Old April 4th, 2006, 08:23 PM
rodmcleay rodmcleay is offline
Friend of Wrox
Points: 2,376, Level: 20
Points: 2,376, Level: 20 Points: 2,376, Level: 20 Points: 2,376, Level: 20
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , Australia.
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Sure, handle the event on the client side so there is no need for postback
        FileUpload1.Attributes.Add("OnChange", "alert('Boo');" + Image1.UniqueID.Replace("$","_") + ".src=this.value;");


======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================
Reply With Quote