how to resize images in asp.net using javascript pls give the sample code.

Posted by Sekar.C under JavaScript on 5/17/2012 | Points: 10 | Views : 1688 | Status : [Member] | Replies : 1
Hi,
how to resize images in asp.net using javascript pls give the sample code.

Regards
Sekar.c

Regards
Sekar.c



Responses

Posted by: Ajay.Kalol on: 6/6/2012 [Member] Starter | Points: 25

Up
0
Down
Try this,

<script type="text/javascript">

function reSize() {

document.getElementById('<%= ImageID.ClientID %>').style.width = "100px";
document.getElementById('<%= ImageID.ClientID %>').style.height = "100px";
}
</script>


If you found your solution please Mark it as answer.

Ajay
ajaypatelfromsanthal.blogspot.in

Sekar.C, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response