|
-
Dec 1st, 2005, 04:19 AM
#1
Thread Starter
Hyperactive Member
HtmlInputFile control question
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
-
Dec 2nd, 2005, 01:34 AM
#2
Thread Starter
Hyperactive Member
Re: HtmlInputFile control question
Nobody ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|