Ouvrir ou fermer un CollapsiblePanel dans le code Behind

 01/01/2019 |   Admin |  C#


// Ouvrir le controlPanelExtender
this.cpe.Collapsed = false;
this.cpe.ClientState = "false";

// Fermer le controlPanelExtender
this.cpe.Collapsed = true;
this.cpe.ClientState = "true";