Hi, I have file upload control and upload button in my application asp:FileUpload ID="FileUpload1" runat="server" Width="250px" /> asp:Button runat="server" ID="btn_upload" Text="Upload" onclick="btn_upload_Click" i have included it in .aspx file when i browse any file using this control and click on upload button i got the connection timeout error. .this case is only with fileupload control,but if i dint browse any file and click on upload button then this error is not coming, click event of upload button(btn_upload_Click) gets fired but with Fileupload control after browsing any file click event of upload button not firing. .why this problem occurs..plz help
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
- How to dynamically load partial view Via jquery aj
相关文章
- asp.net HiddenField控件扩展问题
- asp.net HiddenField控件扩展问题
- Asp.Net网站无法写入错误日志,测试站点可以,正是站点不行
- asp.net mvc 重定向到vue hash字符串丢失
- FormsAuthenticationTicket expires too soon
- “Dynamic operations can only be performed in homog
- What is the best way to create a lock from a web a
- Add to htmlAttributes for custom ActionLink helper
please try after including this in your web.config file
<system.web> <httpRuntime executionTimeout="999999" maxRequestLength="2097151" /> </system.web>
In aspx file:
In code behind:
You can also refer to this link:
http://asp.net-tutorials.com/controls/file-upload-control/