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:
01229483
Vues:
12
E.R,

>Yes, AutoPostBack is set to true on the drop-down list.
>
>Yes, the DetailsView is bound to an ObjectDataSource. The ObjectDataSource is using the drop-down list SelectedValue as a parameter passed to Patient.GetPatientById(int patientId) which retuns a List. I've stepped through the code to confirm that the correct PatientEntity is being added to the List
>
>Here's the SelectedIndexChanged eventhandler
> protected void ddlPatients_SelectedIndexChanged(object sender, EventArgs e)
> {
> ObjectDataSource1.DataBind();
> PatientDetailsView.DataBind();
>
> }

Did you set the UpdatePanel's UpdateMode to "Always"?

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