Click here to Skip to main content
15,912,504 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF Control Template Documentation Pin
Pete O'Hanlon24-Apr-17 20:31
mvePete O'Hanlon24-Apr-17 20:31 
QuestionComboBox Control Template Problem Pin
Kevin Marois19-Apr-17 12:13
professionalKevin Marois19-Apr-17 12:13 
AnswerRe: ComboBox Control Template Problem Pin
Pete O'Hanlon19-Apr-17 21:42
mvePete O'Hanlon19-Apr-17 21:42 
GeneralRe: ComboBox Control Template Problem Pin
Kevin Marois20-Apr-17 4:38
professionalKevin Marois20-Apr-17 4:38 
QuestionWPF Enum DP - The default value type does not match the type of the property Pin
Kevin Marois18-Apr-17 7:21
professionalKevin Marois18-Apr-17 7:21 
AnswerRe: WPF Enum DP - The default value type does not match the type of the property Pin
Pete O'Hanlon19-Apr-17 23:34
mvePete O'Hanlon19-Apr-17 23:34 
QuestionTimeline Thumb Style Pin
Kevin Marois18-Apr-17 6:19
professionalKevin Marois18-Apr-17 6:19 
QuestionInterpret an Error Pin
Mycroft Holmes28-Mar-17 22:31
professionalMycroft Holmes28-Mar-17 22:31 
AnswerRe: Interpret an Error - Resolved Pin
Mycroft Holmes28-Mar-17 22:51
professionalMycroft Holmes28-Mar-17 22:51 
QuestionBinding Delay Pin
Mycroft Holmes20-Mar-17 17:14
professionalMycroft Holmes20-Mar-17 17:14 
QuestionFormating DataGrid cell depending on content of multiple cells Pin
kilauea-de5-Mar-17 9:17
kilauea-de5-Mar-17 9:17 
AnswerRe: Formating DataGrid cell depending on content of multiple cells Pin
Richard Deeming5-Mar-17 23:57
mveRichard Deeming5-Mar-17 23:57 
GeneralRe: Formating DataGrid cell depending on content of multiple cells Pin
kilauea-de15-Mar-17 2:54
kilauea-de15-Mar-17 2:54 
QuestionHow can I set my SQL stored procedure variables through WPF textboxs? Pin
Magerager3-Mar-17 4:03
Magerager3-Mar-17 4:03 
AnswerRe: How can I set my SQL stored procedure variables through WPF textboxs? Pin
Richard Deeming3-Mar-17 4:25
mveRichard Deeming3-Mar-17 4:25 
GeneralRe: How can I set my SQL stored procedure variables through WPF textboxs? Pin
Magerager3-Mar-17 12:29
Magerager3-Mar-17 12:29 
QuestionJavaScript Error - Internet Explorer - Object doesn't support property or method 'indexOf' Pin
Kevin Marois2-Mar-17 10:35
professionalKevin Marois2-Mar-17 10:35 
SuggestionRe: JavaScript Error - Internet Explorer - Object doesn't support property or method 'indexOf' Pin
Richard Deeming2-Mar-17 10:49
mveRichard Deeming2-Mar-17 10:49 
GeneralRe: JavaScript Error - Internet Explorer - Object doesn't support property or method 'indexOf' Pin
Kevin Marois2-Mar-17 10:51
professionalKevin Marois2-Mar-17 10:51 
GeneralRe: JavaScript Error - Internet Explorer - Object doesn't support property or method 'indexOf' Pin
Kevin Marois2-Mar-17 10:52
professionalKevin Marois2-Mar-17 10:52 
GeneralRe: JavaScript Error - Internet Explorer - Object doesn't support property or method 'indexOf' Pin
Richard Deeming3-Mar-17 2:32
mveRichard Deeming3-Mar-17 2:32 
QuestionJQuery Not Found Pin
Kevin Marois2-Mar-17 8:25
professionalKevin Marois2-Mar-17 8:25 
See my previous posting

When I run my app I get the exception
"jQuery was not found. Please ensure jQuery is referenced before the SignalR client JavaScript file."

This occurs at the top of the SignalR proxy file:

jquery.signalR-2.2.1.js
if (typeof ($) !== "function") {
     // no jQuery!
     throw new Error(resources.nojQuery);
 }

In my view I have:
<body>

<pre>
<!--Reference the jQuery library. -->
<script src="Scripts/jquery-1.10.2.min.js" "></script>

<!--Reference the SignalR library. -->
<script src="/Scripts/jquery.signalR-2.2.1.js"></script>

<!--Reference the autogenerated SignalR hub script. -->
<script src="/signalr/hubs"></script>

<script type="text/javascript">
    $(function () {

        var proxy = $.connection.DashboardHub;

        proxy.client.NotifyAllClientsOfChanges = function () {

            var searchUrl = "Home/GetData";

            $.ajax({
                url: searchUrl,
                type: "POST",
                success: function (data) {
                    $("#divData").html(data);
                }
            });
        };
    });





So JQuery IS being referenced first... unless the word 'reference' means something else here.

What am I doing wrong?

Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: JQuery Not Found Pin
Sander Rossel2-Mar-17 8:37
professionalSander Rossel2-Mar-17 8:37 
GeneralRe: JQuery Not Found Pin
Kevin Marois2-Mar-17 10:02
professionalKevin Marois2-Mar-17 10:02 
GeneralRe: JQuery Not Found Pin
Sander Rossel2-Mar-17 10:16
professionalSander Rossel2-Mar-17 10:16 

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.