2012年3月28日水曜日

ResizableControlExtender does not resize image??

hi,

guys

ResizableControlExtender control does not resize the image.does this control not support the image control?

guide me.

thanks in advance.

Miss Sheetal,

Put your image control inside a panel and set the TargetControlID of ResizableControlExtender to the Panel's ID.


I've tried as u said,but it resizes panel not image!!!!!!!!! just check out this code:

<asp:Panel ID="panel1" BorderColor="black" BorderWidth="5" runat="server" Height="200">
<img id="img1" src="http://pics.10026.com/?src=images/untitled5.bmp" alt="sd" runat="server" />
</asp:Panel
<cc1:ResizableControlExtender ID="resiable" HandleCssClass="handleText" ResizableCssClass="resizingImage" HandleOffsetX="10" HandleOffsetY="20" runat="server" TargetControlID="panel1"></cc1:ResizableControlExtender>

<Script language="text/javascript">

.handleText
{
width:16px;
height:16px;
background-image:url(images/HandleGrip.png);
overflow:hidden;
cursor:se-resize;
}

.resizingImage
{
padding:0px;
border-style:solid;
border-width:3px;
border-color:#B4D35D;
}

</Script>


You have not specified the Client Side Javascripts that will actually resize the image. Watch thetutorial video on how to do that.


Thanks Buddy!!!!!!!!!!!!!

It Really helps me. Thanx for immediate reply.


Then please mark my previous post as the answer.

0 件のコメント:

コメントを投稿