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

  • Home
  • SEARCH
  • 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 6819879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:21:31+00:00 2026-05-26T21:21:31+00:00

I am trying to figure out if I have something wrong with my architecture,

  • 0

I am trying to figure out if I have something wrong with my architecture, or if I am just in need of a quick fix.

I have the following on my page:

<div ID="UploadDashboardDecorationZone">
    <fieldset id="UploadDashboard">
        <legend>Upload Dashboard</legend>
        <telerik:RadUpload ID="UploadDashboardSelector" Runat="server" Width="235px" AllowedFileExtensions=".xml"  MaxFileInputsCount="1" ControlObjectsVisibility="None" />
    </fieldset>        
    <div class="BottomButton">
        <telerik:RadButton ID="SubmitUploadDashboardButton" Runat="Server" Text="Upload" OnClientClicked="CloseUploadDashboard" />  
    </div>
</div>

The user selects a file they wish to upload, then they press the SubmitUploadDashboardButton.

I then have the following server-side code:

protected void Page_Init(object sender, EventArgs e)
{
    if (Request.Files.Count > 0) HandleUploadedFile();
}

This all works great. The uploaded file is responded to and I see the changes on my page. The only problem is that I have left my page’s request HTTP Method as POST and not GET. This means that bad things will happen if the user refreshes the page.

Previously, I had used the following code-snippet to resolve this issue:

Page.Response.Redirect(Page.Request.Url.ToString(), true);

Unfortunately, this does not work for me anymore. I don’t want the flashing that happens with reloading the page (in addition to some code issues that arise with reloading).

What are my other options here? If I wrap UploadDashboardDecorationZone with an UpdatePanel, then Request.Files comes out as 0.

Is there a quick code-fix for this that is common? Or am I missing something deeper in my understanding of how the file upload process works?

Thanks.

  • 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-05-26T21:21:32+00:00Added an answer on May 26, 2026 at 9:21 pm

    I don’t know of a way to get around the “flash” when the page changes unless you do your calls using Ajax which doesn’t require the page to reload at all.

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

Sidebar

Related Questions

I'm trying to figure out if it is something wrong with me or the
I have spent almost 24hours trying to figure out what I'm doing wrong, but
I'm trying to do a simple update, but can't figure out somthing. I have
I'm trying to figure out how to have a short, one line conditional statement.
I have been trying to figure out a solution but nothing has really presented
I have been trying to figure out a way to tag several methods from
I have been trying to figure out why and how to use performSelector. I
I'm trying to figure out how I can have a comment header automatically added
I am trying to figure out an easy way to have a password protected
I'm trying to figure out what version of Crystal Reports I have. It's the

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.