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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:18:13+00:00 2026-05-27T21:18:13+00:00

I have a user created button to send data from store to server side

  • 0

I have a user created button to send data from store to server side c# code.

    // send data through link
    function valideit() {
        var jsonData = Ext.encode(Ext.pluck(store.data.items, 'data'));
        Ext.Ajax.request({
            url: '/Contact/Validate', params: { data: jsonData },
            success: function (result, request) {
                Ext.MessageBox.alert('Success', 'Data return from the server: ' + result.responseText);
            },
            failure: function ( result, request) { 
                Ext.MessageBox.alert('Failed', 'Successfully posted form: '+result.date); 
            } 
        });
    }

And C#:

    [HttpPost]
    public JsonResult Validate(object data)
    {
        return Json(new
        {
            success = "This worked", failure = "Doesnt work"
        },JsonRequestBehavior.AllowGet);
    }

this is the data i get from “data”


data=%5B%7B%22%C3%9AtgefandiKennitala%22%3A%224911069990%22%2C%22%C3%9AtgefandiHeiti%22%3A%22Landsbanki%20Absolute%20Return%20Stra%22%2C%22Rekstrarf%C3%A9lagKennitala%22%3A%227005942549%22%2C%22Rekstrarf%C3%A9lagNafn%22%3A%22Landsvaki%20hf.%22%2C%22ISIN%22%3A%22IS0000016913%22%2C%22Au%C3%B0kenni%22%3A%22LARS%22%2C%22Tegundheiti%22%3A%22Hlutdeildarsk%C3%ADrteinioghlutir%22%2C%22Skr%C3%A1%C3%B0heiti%22%3A%22%C3%93skr%C3%A1%C3%B0%22%2C%22Me%C3%B0all%C3%ADft%C3%ADmi%22%3A%220%22%2C%22Fj%C3%B6ldi%22%3A2101%2C%22Gengi%22%3A0.860383%2C%22Gjaldmi%C3%B0ill%22%3A%22USD%22%2C%22GengiGjaldmi%C3%B0ils%22%3A%22117.59%22%2C%22B%C3%B3kf%C3%A6rtVer%C3%B0%22%3A%22212.53%22%2C%22Athugasemd%22%3A%22%22%7D%2C%7B%22%C3%9AtgefandiKennitala%22%3A%226105109810%22%2C%22%C3%9AtgefandiHeiti%22%3A%22LFESTI%20Borgart%C3%BAn%22%2C%22Rekstrarf%C3%A9lagKennitala%22%3A%22%22%2C%22Rekstrarf%C3%A9lagNafn%22%3A%22%22%2C%22ISIN%22%3A%22IS0000020105%22%2C%22Au%C3%B0kenni%22%3A%22LFEST1%2010%201%22%2C%22Tegundheiti%22%3A%22%C3%96nnurver%C3%B0br%C3%A9f%22%2C%22Skr%C3%A1%C3%B0heiti%22%3A%22Skr%C3%A1%C3%B0%22%2C%22Me%C3%B0all%C3%ADft%C3%ADmi%22%3A%2212.32%22%2C%22Fj%C3%B6ldi%22%3A984567%2C%22Gengi%22%3A1.06348%2C%22Gjaldmi%C3%B0ill%22%3A%22ISK%22%2C%22GengiGjaldmi%C3%B0ils%22%3A%221%22%2C%22B%C3%B3kf%C3%A6rtVer%C3%B0%22%3A%221047.07%22%2C%22Athugasemd%22%3A%22%22%7D%2C%7B%22%C3%9AtgefandiKennitala%22%3A%224603069490%22%2C%22%C3%9AtgefandiHeiti%22%3A%22Land


So how can i get this data on a usable format ???

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-27T21:18:14+00:00Added an answer on May 27, 2026 at 9:18 pm

    Use System.Web.HttpUtility.UrlDecode to change the data into an unescaped string and then use the Json.NET library to deserialize the JSON string into an c# object

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

Sidebar

Related Questions

i have created Array of Linkbutton and when user click on link button it
I have created one user named tuser with create database rights in SQL server
I have an AlertDialog that prompts user if they want to send data. What
i have just created a drum app. The user taps on the individual buttons
A lot of JavaScript libraries have user interface widgets. Usually they are created after
I have created a user control to handle adding comments to certain business entities,
I have created a user login page and am using Forms Authentication. Users are
I have created a user control (CheckedDirTree) that exposes a CheckedFolder property which in
I have a user control that I've created, however when I go to add
I have created a COM enabled .NET User Control and am wondering what is

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.