Click here to Skip to main content
15,868,141 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to use jcrop while uploading image Pin
Pete O'Hanlon31-May-16 21:20
subeditorPete O'Hanlon31-May-16 21:20 
GeneralRe: how to use jcrop while uploading image Pin
Member 125514181-Jun-16 1:01
Member 125514181-Jun-16 1:01 
GeneralRe: how to use jcrop while uploading image PinPopular
Pete O'Hanlon1-Jun-16 1:07
subeditorPete O'Hanlon1-Jun-16 1:07 
GeneralRe: how to use jcrop while uploading image Pin
Member 125514181-Jun-16 3:40
Member 125514181-Jun-16 3:40 
GeneralRe: how to use jcrop while uploading image Pin
Pete O'Hanlon1-Jun-16 5:31
subeditorPete O'Hanlon1-Jun-16 5:31 
GeneralRe: how to use jcrop while uploading image Pin
Member 125514181-Jun-16 20:35
Member 125514181-Jun-16 20:35 
GeneralRe: how to use jcrop while uploading image Pin
Pete O'Hanlon1-Jun-16 22:00
subeditorPete O'Hanlon1-Jun-16 22:00 
GeneralRe: how to use jcrop while uploading image Pin
Richard Deeming2-Jun-16 2:06
mveRichard Deeming2-Jun-16 2:06 
  1. This is nothing to do with C#;
  2. You're including both jquery.Jcrop.js and jquery.Jcrop.min.js - you only need one of those;
  3. You can't use app-relative paths (~/...) in a <script> tag;

If you're using WebForms:
HTML
<script src="<%= ResolveUrl("~/Scripts/jquery-1.10.2.min.js") %>"></script>
<script src="<%= ResolveUrl("~/Scripts/jquery.Jcrop.min.js") %>"></script>
<link href="<%= ResolveUrl("~/Content/jquery.Jcrop.min.css") %>" rel="stylesheet" />

If you're using MVC:
HTML
<script src="@Url.Content("~/Scripts/jquery-1.10.2.min.js")"></script>
<script src="@Url.Content("~/Scripts/jquery.Jcrop.min.js")"></script>
<link href="@Url.Content("~/Content/jquery.Jcrop.min.css")" rel="stylesheet" />




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: how to use jcrop while uploading image Pin
Member 125514182-Jun-16 2:14
Member 125514182-Jun-16 2:14 
GeneralRe: how to use jcrop while uploading image Pin
Richard MacCutchan31-May-16 21:24
mveRichard MacCutchan31-May-16 21:24 
Questionc# string.IsNullOrEmpty Pin
aspkiddy31-May-16 6:59
aspkiddy31-May-16 6:59 
AnswerRe: c# string.IsNullOrEmpty Pin
Eddy Vluggen31-May-16 19:40
professionalEddy Vluggen31-May-16 19:40 
GeneralRe: c# string.IsNullOrEmpty Pin
Bernhard Hiller31-May-16 23:55
Bernhard Hiller31-May-16 23:55 
GeneralRe: c# string.IsNullOrEmpty Pin
Eddy Vluggen1-Jun-16 0:04
professionalEddy Vluggen1-Jun-16 0:04 
GeneralRe: c# string.IsNullOrEmpty Pin
V.1-Jun-16 1:19
professionalV.1-Jun-16 1:19 
GeneralRe: c# string.IsNullOrEmpty Pin
Bernhard Hiller1-Jun-16 4:07
Bernhard Hiller1-Jun-16 4:07 
AnswerRe: c# string.IsNullOrEmpty Pin
V.31-May-16 20:09
professionalV.31-May-16 20:09 
GeneralRe: c# string.IsNullOrEmpty Pin
Richard Deeming1-Jun-16 1:30
mveRichard Deeming1-Jun-16 1:30 
GeneralRe: c# string.IsNullOrEmpty Pin
V.1-Jun-16 1:32
professionalV.1-Jun-16 1:32 
GeneralRe: c# string.IsNullOrEmpty Pin
aspkiddy1-Jun-16 2:50
aspkiddy1-Jun-16 2:50 
QuestionRe: c# string.IsNullOrEmpty Pin
Eddy Vluggen1-Jun-16 2:52
professionalEddy Vluggen1-Jun-16 2:52 
AnswerRe: c# string.IsNullOrEmpty Pin
aspkiddy1-Jun-16 3:05
aspkiddy1-Jun-16 3:05 
GeneralRe: c# string.IsNullOrEmpty Pin
Eddy Vluggen1-Jun-16 5:00
professionalEddy Vluggen1-Jun-16 5:00 
GeneralRe: c# string.IsNullOrEmpty Pin
V.1-Jun-16 2:52
professionalV.1-Jun-16 2:52 
AnswerRe: c# string.IsNullOrEmpty Pin
aspkiddy1-Jun-16 2:56
aspkiddy1-Jun-16 2:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.