Click here to Skip to main content
12,692,778 members (33,938 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET
code
Jquery Function


<link href="Styles/jquery.Jcrop.css" rel="stylesheet" type="text/css" />
   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
   <script type="text/javascript" src="Scripts/jquery.Jcrop.js"></script>
   <script type="text/javascript">
       jQuery(document).ready(function () {
           jQuery('#CustPhoto').Jcrop({
               onSelect: storeCoords
           });
       });

       function storeCoords(c) {
           jQuery('#X').val(c.x);
           jQuery('#Y').val(c.y);
           jQuery('#W').val(c.w);
           jQuery('#H').val(c.h);
       };

   </script>


Image Code


<td class="style11" rowspan="5">
                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                    <ContentTemplate>
                        <asp:Image ID="CustPhoto" runat="server" Width="16px" />
                      </ContentTemplate>
                    </asp:UpdatePanel>
                    </td>
Posted 27-Dec-12 1:21am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Sandeep Mewara 27-Dec-12 12:37pm
   
Good links. 5!
Vani Kulkarni 27-Dec-12 22:40pm
   
Thanks :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 27 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100