Hi all,
I've got a problem with the HtmlInputFile control. My form is dynamically created, adding different kind of controls to a placeholder. When running this code:
VB Code:
Dim loop1 As Integer Dim arr1() As String Dim coll As NameValueCollection ' Load Form variables into NameValueCollection variable. coll=Request.Form ' Get names of all forms into a string array. arr1 = coll.AllKeys For loop1 = 0 To arr1.GetUpperBound(0) Response.Write("Form: " & arr1(loop1) & "<br>") Next loop1
the HtmlInputFile control is not shown, while I've given it an ID (HtmlInputFile1.ID = "test", for example). Does anyone know why this control doesn't exist in the control collection?
Also in the resource viewer, in the arr1 array the fileuploadcontrol is not found... Any ideas?
Thanx in advance,
Marco




Reply With Quote