Click here to Skip to main content
15,887,812 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Beginner to Visual Studio Pin
Member 87616673-Jun-14 7:32
Member 87616673-Jun-14 7:32 
GeneralRe: Beginner to Visual Studio Pin
Richard Deeming3-Jun-14 7:49
mveRichard Deeming3-Jun-14 7:49 
GeneralRe: Beginner to Visual Studio Pin
Member 87616673-Jun-14 8:12
Member 87616673-Jun-14 8:12 
QuestionHttpApplicationState Pin
jkirkerx2-Jun-14 13:17
professionaljkirkerx2-Jun-14 13:17 
Answer[SOLVED] Pin
jkirkerx2-Jun-14 13:26
professionaljkirkerx2-Jun-14 13:26 
SuggestionRe: [SOLVED] Pin
thatraja3-Jun-14 21:13
professionalthatraja3-Jun-14 21:13 
GeneralRe: [SOLVED] Pin
jkirkerx4-Jun-14 5:52
professionaljkirkerx4-Jun-14 5:52 
QuestionMicrosoftAjax.js broken in Windows 8.1? Pin
Richard Deeming2-Jun-14 8:49
mveRichard Deeming2-Jun-14 8:49 
Did someone break the .NET 3.5 version of MicrosoftAjax.js on Windows 8.1 update 1, or is it just my PC?

Handlers added via Sys.Application.add_init work fine on the server (Windows 2008 R2), but never fire on my new PC. (Tested in Firefox 29.1)

The only difference I can find is the MicrosoftAjax.js file:

Server:
FileVersion: 3.5.30729.5458
JavaScript
function Sys$_Application$initialize() {
    /// <summary locid="M:J#Sys.Application.initialize" />
    if (arguments.length !== 0) throw Error.parameterCount();
    if(!this._initialized && !this._initializing) {
        this._initializing = true;
        window.setTimeout(Function.createDelegate(this, this._doInitialize), 0);
    }
}


Local:
FileVersion: 3.5.30729.7903
JavaScript
function Sys$_Application$initialize() {
    /// <summary locid="M:J#Sys.Application.initialize" />
    if (arguments.length !== 0) throw Error.parameterCount();
    if(!this._initialized && !this._initializing) {
        this._initializing = true;
        var check, er, app = this;
        function init() { if (!app._initialized) app._doInitialize(); }

        var onload = function() {
            Sys.UI.DomEvent.removeHandler(window, "load", onload);
            init();
        }
        Sys.UI.DomEvent.addHandler(window, "load", onload);
        if (document.addEventListener) {
            try {
                document.addEventListener("DOMContentLoaded", check = function() {
                    document.removeEventListener("DOMContentLoaded", check, false);
                    init();
                }, false);
            }
            catch (er) { }
        }
        else if (document.attachEvent) {
            if ((window == window.top) && document.documentElement.doScroll) {
                var timeout, el = document.createElement("div");
                check = function() {
                    try {
                        el.doScroll("left");
                    }
                    catch (er) {
                        timeout = window.setTimeout(check, 0);
                        return;
                    }
                    el = null;
                    init();
                }
                check();
            }
            else {
                document.attachEvent("onreadystatechange", check = function() {
                    if (document.readyState === "complete") {
                        document.detachEvent("onreadystatechange", check);
                        init();
                    }
                });
            }
        }
    }
}


Yes, I know WebForms is no longer "cool", and I should have rewritten everything in the latest bleeding-edge pre-alpha CTP version of whatever was the last framework to come out of Redmond, but some of us have work to do! Poke tongue | ;-P



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


QuestionDirect Print Pin
Dana_Wahab1-Jun-14 23:58
Dana_Wahab1-Jun-14 23:58 
AnswerRe: Direct Print Pin
Kornfeld Eliyahu Peter2-Jun-14 0:42
professionalKornfeld Eliyahu Peter2-Jun-14 0:42 
QuestionI have problem with my nested control in datalist Pin
marjan_198630-May-14 22:09
marjan_198630-May-14 22:09 
AnswerRe: I have problem with my nested control in datalist Pin
DamithSL31-May-14 4:32
professionalDamithSL31-May-14 4:32 
QuestionBackUp... Pin
Kamran Ilyas30-May-14 21:46
Kamran Ilyas30-May-14 21:46 
AnswerRe: BackUp... Pin
Richard MacCutchan30-May-14 22:15
mveRichard MacCutchan30-May-14 22:15 
AnswerRe: BackUp... Pin
ZurdoDev2-Jun-14 9:47
professionalZurdoDev2-Jun-14 9:47 
Questionbus status active after mentioned Departure time Pin
rinku baruah30-May-14 18:55
rinku baruah30-May-14 18:55 
QuestionRe: bus status active after mentioned Departure time Pin
Richard MacCutchan30-May-14 22:12
mveRichard MacCutchan30-May-14 22:12 
AnswerRe: bus status active after mentioned Departure time Pin
rinku baruah1-Jun-14 18:57
rinku baruah1-Jun-14 18:57 
GeneralRe: bus status active after mentioned Departure time Pin
Mycroft Holmes1-Jun-14 19:37
professionalMycroft Holmes1-Jun-14 19:37 
QuestionHow to create metadata compatible with the Microsoft.AspNet.Scaffolding.core.Metadata.MetadataModel class Pin
John Papachristos23-May-14 14:29
John Papachristos23-May-14 14:29 
Questionrow increase by 1 Pin
byka22-May-14 8:12
byka22-May-14 8:12 
AnswerRe: row increase by 1 Pin
Kornfeld Eliyahu Peter22-May-14 8:58
professionalKornfeld Eliyahu Peter22-May-14 8:58 
AnswerRe: row increase by 1 Pin
Saravanan Ayyappan22-May-14 21:48
professionalSaravanan Ayyappan22-May-14 21:48 
AnswerRe: row increase by 1 Pin
Rishita_varma22-May-14 23:58
Rishita_varma22-May-14 23:58 
QuestionSSRS 2005 in ASP.net Pin
berba21-May-14 19:58
berba21-May-14 19:58 

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.