| Author: Ritesh N. Jain 04 Sep 2008 | Member Level: Gold | Rating:   Points: 3 |
simply place above code/control on aspx page and add runat="server" tag in at so you can access that control using it's Name/ID
<input type="file" id="file1" name="file1" runat="server">
and in codebehind use file1.PostedFile.--- it's varioud property and methods as per your requirement
|
| Author: Ritesh N. Jain 04 Sep 2008 | Member Level: Gold | Rating:  Points: 2 |
<i> one html form that is not .aspx page simple html page and i have control in that html page and want to access that control from code behind
in that page i have one upload control </i>
If it's plain html file than how can you expect it to have code behind page?and why cant you place this control in aspx page it self,can you explain more what you are trying to achieve?
|