T
tshad
I have the following object that uploads files:
<input id="MyFile" style="width:100px" type="File"
onClick="UploadFile" runat="Server">
in my Repeater control. And it doesn't seem to work.
I need to save the file automatically when the file is uploaded. Normally,
you would have an Upload button to do this, but I need it to do it right
away.
I added the onClick property, but as soon as I put my mouse in the textbox,
I get a popup that says there is UploadFile is undefined. But it is there.
I assume that it thinks there is a Javascript procedure (which there isn't).
Is there a way to make this work correctly?
Thanks,
Tom
<input id="MyFile" style="width:100px" type="File"
onClick="UploadFile" runat="Server">
in my Repeater control. And it doesn't seem to work.
I need to save the file automatically when the file is uploaded. Normally,
you would have an Upload button to do this, but I need it to do it right
away.
I added the onClick property, but as soon as I put my mouse in the textbox,
I get a popup that says there is UploadFile is undefined. But it is there.
I assume that it thinks there is a Javascript procedure (which there isn't).
Is there a way to make this work correctly?
Thanks,
Tom