Last post Mar 02, 2012 07:22 PM by DinoCultraro
Mar 02, 2012 03:58 AM|DinoCultraro|LINK
I have a issue, in a updatepanel, i have a image control that has a image loaded. i need a way to clear that image and then run server side function where i still have access to data from the current form.
Mar 02, 2012 04:09 AM|santosh.jagdale|LINK
try this one
var prm = Sys.WebForms.PageRequestManager.getInstance();
var c = 0;
function pageLoaded(sender, args)
var img = document.getElementById("Control");
img.src = img.src + "?" + c;
plz mark as ANSWER if it helps u
Mar 02, 2012 07:03 PM|DinoCultraro|LINK
sorry, im not a java person, trying to learn it as i go, so, can this be called from a button , or is this executed every time the page refreshed from the update panel?
Mar 02, 2012 07:22 PM|DinoCultraro|LINK
found my own answer thanks for the help. works great,\
for anyone who need to know, i created the following on the page load