Drag image inside container
I have a following question
Lets say we have a Panel and inside that panel a Image control on ASP.NET
Panel siz is 200x200px
Image size is 400'x400
is'it possible with asp.net ajax to move picture inside panel with mouse?
like google maps for example :)
Re: Drag image inside container
There are probably many ways this could be done. One quick and dirty way to
do this is to add a button on the form which deletes the picture In the
click event for the button ( server side code behind ). Add this button as a
trigger to your update panel.
<asynchronouspostback controlid='myButton' ..... >
On the pre-render event for the button add the following
As I say, there are more ways than one to do this, but this is quick way.
"Meelis Lilbok" <firstname.lastname@example.org> wrote in message
> I have a following question
> Lets say we have a Panel and inside that panel a Image control on ASP.NET
> web site.
> Panel siz is 200x200px
> Image size is 400'x400
> is'it possible with asp.net ajax to move picture inside panel with mouse?
> like google maps for example :)
|All times are GMT. The time now is 09:25 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.