[C#] création de checkbox dynamiques
Bonjour,
Je créé des control dynamique cependant, mestextbox garde leurs valeurs apres un postback mais pas mes checkbox.
Comment faire pour que cela fonctionne pour n'importe quel control ?
Mon code:
Code:
1 2 3 4 5 6 7
|
protected void Page_Load(object sender, EventArgs e)
{<div style="margin-left:40px">if (!IsPostBack)<div style="margin-left:40px">initPage();</div>createChampsDynamique();
if (!IsPostBack)<div style="margin-left:40px">initChampsDynamique();</div></div>} |