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:
01557586
Vues:
40
>>>>I think I have an idea of what may be wrong with validations, etc.
>>>>
>>>>I first tried returning View(client), but then it was returning the view with the menu, so I changed it to partial view. However, Partial view may not have all necessary scripts.
>>>>
>>>>Do you think this is what's going on in regards to validations? If so, what is the solution - non-partial view but with a different layout?
>>>>
>>>>Or is where a way to use the same Layout, but don't load the top section and bottom?
>>>>
>>>
>>>I usually create a layout named _PopupLayout.cshtml for these types of situations. It includes all the required scripts, but I remove almost everything else (header, footer, etc). I would fix this first before looking at anything else.
>>
>>I found this page http://www.devcurry.com/2012/07/aspnet-mvc-displaying-partial-views.html and another by the same author where he uses partial views and loads them slightly different. Do you think I should try his way or we end up with the same problems I have already?
>
>You will have problems with scripts missing using partials if the pop-up opens them in an inline frame (since inline frames are basically brand new web pages). As opposed to some libraries which just create a div that appears to "float" over the current page (since that's still in the same page as the rest of your content).
>
>I'd assume the [X] should close the form. No idea why it isn't working. Usually when some JS library doesn't appear to be working I'll open up the JS debugger and watch for any errors that occur when this appear to "no work". This includes taking a look at any network traffic failures where it requests some page but the page fails.
>
>I'd look at the API for this as well: http://api.jqueryui.com/dialog/

The dialog looks very nice, but I don't see how to use an url here.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform