R
Rob Meade
Hi all,
I've got some code here that builds a page dynamically, ie, added a table,
rows, cells, controls in the cells and so on...
Everything has gone fine until now, I need to add a 'File Input' box (ie,
the HTML <input type="file"> etc), I've got this:
Dim txtFile as HtmlInputFile
txtFile = New HtmlInputFile
txtFile.ID = "txtFile"
Its currently not even appearing on the page, so I tried to do this around
the opposite way, I added one via the IDE in VS, I changed its runat to
server, one thing I noticed here was that it had a 'class' property, but
when I try to access this via the code approach above, after I've typed
txtFile. the intellisense doesn't give me a 'class' option...wondering now
if maybe I'm getting confused with it all..
I basically want to add the file input control via code...if anyone can give
me some pointers I'd be grateful.
Regards
Rob
I've got some code here that builds a page dynamically, ie, added a table,
rows, cells, controls in the cells and so on...
Everything has gone fine until now, I need to add a 'File Input' box (ie,
the HTML <input type="file"> etc), I've got this:
Dim txtFile as HtmlInputFile
txtFile = New HtmlInputFile
txtFile.ID = "txtFile"
Its currently not even appearing on the page, so I tried to do this around
the opposite way, I added one via the IDE in VS, I changed its runat to
server, one thing I noticed here was that it had a 'class' property, but
when I try to access this via the code approach above, after I've typed
txtFile. the intellisense doesn't give me a 'class' option...wondering now
if maybe I'm getting confused with it all..
I basically want to add the file input control via code...if anyone can give
me some pointers I'd be grateful.
Regards
Rob