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 7013013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:19:52+00:00 2026-05-27T22:19:52+00:00

The website http://valums.com/ajax-upload/ says that: Sending additional params To add a parameter that will

  • 0

The website http://valums.com/ajax-upload/ says that:

Sending additional params

To add a parameter that will be passed as a query string with each upload use params option.

var uploader = new qq.FileUploader({
    element: document.getElementById('file-uploader'),
    action: '/server-side.upload',
    // additional data to send, name-value pairs
    params: {
        param1: 'value1',
        param2: 'value2'
    }
});

My question is: How do I should implement

public JsonResult UploadFile(string qqfile, ????)
{

}

correctly to pass ‘value1’ and ‘value2’?

Thank you!!!

  • 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-27T22:19:53+00:00Added an answer on May 27, 2026 at 10:19 pm

    You can use the model binder for that. Create a class with properties, where the names of the properties are equal to the params you send:

    public class UploadPostModel
    {
        public string param1 {get;set;}
        public string param2 {get;set;}
    }
    

    In the action, use the Postmodel. The default model-binder will automatically populate the class.

    public JsonResult UploadFile(string qqfile, UploadPostModel pm)
    {
        //use the values
    }
    

    ofcourse you could also put the qqfile in the Model.

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

Sidebar

Related Questions

I'm trying to use AjaxUpload with Python: http://valums.com/ajax-upload/ I would like to know how
I want to develop a anonymous chat website like http://omgele.com . I know that
I'm using acunetix to test my website. The problem is with this script http://boedesign.com/blog/2007/02/18/ajax-star-rating/
I'm making a theme that has inline CSS as a first website at http://flexibilitytheme.tumblr.com/
I have the ajax query var url = http://ISAServer.domain.com/WebSite; $.ajax({ url: url, success: function
I was creating a website http://tapasya.co.in and i found that this site has some
I run a social networking / blogging website ( http://www.obsidianportal.com ), and currently the
Example website is http://www.wikihow.com/Main-Page , check the Recent Changes heading on the right side.
I am creating URLs in my website as http://example.com/register/ http://example.com/login/ I am creating above
I'm trying to write some JavaScript for my website that will select all 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.