G
Guest
Hi Guys,
I am creating dynamic controls in asp.net. I am having problems creating
dynamic Htmlinputfile controls, and even after being created I cannot view
it. Is there a way of creating such a control dynamically? If so which one is
it ? Ot I how can I create dynamic input file controls in asp.net: -
I got the following code to build the dynamic controls. All of them are
properly displayed except this input file control.
ControlInfo ci = PersistControl("lblPage" + i,
"Label",
1025 + i*27, 350,0, "");
Label lbl = (Label)CreateControl(ci);
lbl.Text = "Page " + i;
ci = PersistControl("txtPage" + i,
"HtmlInputFile", 1025 + i*27, 600,0, "");
HtmlInputFile input_file = (HtmlInputFile)CreateControl(ci);
Will await valuable feedback,
Thanks,
Irfan
I am creating dynamic controls in asp.net. I am having problems creating
dynamic Htmlinputfile controls, and even after being created I cannot view
it. Is there a way of creating such a control dynamically? If so which one is
it ? Ot I how can I create dynamic input file controls in asp.net: -
I got the following code to build the dynamic controls. All of them are
properly displayed except this input file control.
ControlInfo ci = PersistControl("lblPage" + i,
"Label",
1025 + i*27, 350,0, "");
Label lbl = (Label)CreateControl(ci);
lbl.Text = "Page " + i;
ci = PersistControl("txtPage" + i,
"HtmlInputFile", 1025 + i*27, 600,0, "");
HtmlInputFile input_file = (HtmlInputFile)CreateControl(ci);
Will await valuable feedback,
Thanks,
Irfan