Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7776517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:54:18+00:00 2026-06-01T17:54:18+00:00

I have an ASP.NET 4.0 web application where users upload videos to the server.

  • 0

I have an ASP.NET 4.0 web application where users upload videos to the server. I have a FileUpload control and 2 DropDownLists.

The user first selects a video to be uploaded from the FileUploadcontrol after that s/he selects a category from DropDownList1 (category list). After the user selects a category, I fill the second DropDownList with subcategories.

When I select a file to upload, and select a category from the DropDownList, the page disconnects from the server after postback. If I do the same scenario without selecting a file to be uploaded, I succesfully fill the second combo.

Here is my code :

 <tr>
        <td style="text-align: left;" class="style9" colspan="2">
            <asp:Label ID="Label1" runat="server" Text="Video" Width="80px"></asp:Label>
            <asp:FileUpload ID="FileUploadVideo" runat="server" ViewStateMode="Enabled" />
        </td>
        <td style="text-align: left;" class="style4">
            <asp:Label ID="Label3" runat="server" Text="Category" Width="80px"></asp:Label>
            <br />
            <asp:DropDownList ID="cmbCategory" runat="server" AutoPostBack="True" OnSelectedIndexChanged="cmbCategory_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        <td style="text-align: right;">
            <asp:Label ID="Label6" runat="server" Text="Subcategory" Width="80px"></asp:Label>
            <br />
            <asp:DropDownList ID="cmbSubcategory" runat="server">
            </asp:DropDownList>
        </td>
    </tr>

Any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:54:19+00:00Added an answer on June 1, 2026 at 5:54 pm

    Since you’re uploading video, I imagine this is erroring out due to the file size. The default max file size for ASP.NET applications is 4MB. You can add something like this to the <system.web> section of your web.config to increase that deault:

    <system.web>
      <httpRuntime executionTimeout="240" maxRequestLength="20480" />
    </system.web>
    

    This allows, for instance, for a 20MB file to be uploaded.

    For more information check out this article: Large file uploads in ASP.NET

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET web application that has a fileupload control to allow users
We have created a web application, using ASP.NET, that allows users to upload documents
I have a ASP.NET web application that allows end users to upload a file.
I have a scenario where users of my ASP.NET web application submit testimonials consisting
I have a ASP.NET 3.5 web application and I would like to allow users
I have an 'access denied' problem on an ASP.NET web application, where the user
We have an asp.net application that allows users to upload files, the files are
I have a web application (ASP.NET C#) where I would like the users to
I have an asp.net web forms application. In this application, students upload assignments and
I have developed a web based application in ASP.NET and C# where users have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.