PDA

View Full Version : [CLOSED] Add ascx control from code behind.



MarcA
Dec 27, 2013, 1:17 PM

Daniil
Dec 30, 2013, 4:27 AM
Hi @MarcA,

Please replace

editMode.Controls.Add(userControl);
with

editMode.ContentControls.Add(userControl);

MarcA
Dec 30, 2013, 12:09 PM
Thank you, that solved my problem.

Marc