I
try
add control RadAsyncUpload from code behind
as
below, but doesn't work:
HtmlTable table =
new
HtmlTable();
for
(
int
i=0;i<10;i++)
{
HtmlTableRow row = new HtmlTableRow();
HtmlTableCell cell = new HtmlTableCell();
RadAsyncUpload radAU =
new
RadAsyncUpload();
radAU.ID =
"RadAsyncUpload"
+ i;
radAU.MultipleFileSelection = Telerik.Web.UI.AsyncUpload.MultipleFileSelection.Automatic;
radAU.TemporaryFolder = sTempPath;
radAU.TargetFolder = sTargetPath;
cell.Controls.Add(radAU);
}
divcontrol.Controls.Add(table);
//with divcontrol runat="server" in .aspx file
Help me, please! Thanks!