Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is wrong with ScriptManager?
Message
De
17/11/2014 18:52:19
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01611127
Message ID:
01611130
Vues:
33
>Hi,
>
>I have been having a problem with my ASP.NET web forms page unobtrusive validation NOT working on customer site. Works, however, for me in my VS 2012. Aside from the fact that validation does not work (that is, the requiredfield validation is ignored and empty fields do not stop from submitting the form) another manifestation is the following. When I run the page in IE 11 Developer Tools (DT) -> Network, ScriptResource.axd is NOT loading. That is, in the DT there are 3 lines with ScriptResource.axd?d..... that have Method GET but Result 404 (meaning not loaded, for whatever reasons).
>
>I found what is causing the problem on the customer site. The ASP.NET page has the following section:
>
>
>           <asp:ScriptManager ID="sm1" runat="server">
>                <Scripts>
>                    <asp:ScriptReference Name="jquery"/>
>                </Scripts>
>            </asp:ScriptManager>
>
>
>When I remove/delete the above section from the .aspx file the Validation works and the IE11 Developer Tools does not have the lines ScriptResource.axd.
>
>My question is, can you think of why removing the above section resolves the problem on customer site? What - if any - negative effects could be if I permanently remove this section?
>
>TIA.

Does this help: https://connect.microsoft.com/VisualStudio/feedback/details/748064/unobtrusive-validation-breaks-with-a-script-manager-on-the-page

Also, is their server fully patched? There have been updates to fix detection of IE versions when IE 10 and 11 were released. See http://stackoverflow.com/questions/17649604/javascript-functions-are-not-working-in-ie11/18651133#18651133

Is it working with other browsers?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform