Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding AJAX to MM Web Forms page?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01228928
Message ID:
01229465
Vues:
13
E.R.

>It looks like the documentation for MM 2.4 for adding AJAX was outdated.

I spent some time this morning updating the 2.4 documentation for ASP.NET AJAX and the updated Dev Guide is now availalbe on our web site.

>I then added a script manager and UpdatePanel to a MM Web Form page that contains a drop-down list that is repopulating a DetailsView on SelectedIndexChange (via ObjectDataSource).
>
>I moved the DetailsView into the UpdatePanel and added a trigger for the drop-down list.
>
>This hasn't worked and I also tried the basic example of adding a label and button and having the button updated the label with the current time. In the AJAX templated website I created I didn't see any other references or page markup for hooling up the Ajax.

Did you set the DropDownList's AutoPostBack property to true so it posts back when a new item is selected in the list?

Did you data bind the DetailsView to a business object?

Also, you shouldn't have to change the UpdatePanel's default UpdateMode--you should be able to leave it set to "Always".

Did you create a handler for the DropDown's SelectedIndexChanged event and put code in the handler that called a business object method to populate the DetailsView?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform