Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbl Click
Message
Information générale
Forum:
ASP.NET
Catégorie:
Client-side développement
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01556330
Message ID:
01559208
Vues:
53
>>
>>As you can see, for the Add button I haven't changed the code yet and this is what I used. For the edit I changed using your suggestion and the close button no longer works and the Save/Cancel buttons now seems to bring the JSON results because it's trying to save some info.
>>
>
>I'll take your word on that. If the close isn't working then either the code is failing when you click on close (see via the debugger), or the event isn't getting hooked up for some reason. I tend to try to simplify the page as much as possible to reproduce the problem with the absolute minimum of code (and removing as many dependencies as I can). It's amazing how often I find the problem while I'm going that. After stripping the page down I'd probably start by making the .load() call a page that is empty and see if the close still works. If it doesn't, remove it completely. If it suddenly starts working, then something with .load() is causing the problem (possibly stomping on some HTML that the control is expecting in the page?)
>
>>Also, my grid works OK in IE 9, FireFor, Opera, but in Google Chrome is simply does not show up at all and I am not certain how to debug this problem.
>
>Set breakpoints and walk through the code, view the rendered HTML, watch the network traffic and compare that against the working version.

The grid started to work in Google Chrome, but the close button still doesn't work. I am trying to remove the page code now and see if the close button works or not without the controls on the form.

UPDATE. Even when no controls are shown, the close button does not work
@model CardNumbers.Objects.Client

@{
    ViewBag.Title = "Edit Client";
    Layout = "~/Views/Shared/_PopupLayout.cshtml";
}

@*@Html.Partial("_ClientForm", Model)*@

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    <script src="@Url.Content("~/Scripts/Clients.js")" type="text/javascript" ></script>
}
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform