How do I get my serialized data into a label or text box or other control?

I just want to get the data that I serialized using jQuery into something that I can process. I've been unsuccessful so far.

jQuery & HTML
        $(document).ready(function () {
                // code to run when the order is updated
                update: function (event, ui) {
                    // get the order of the items in the list
                    var data = $(this).sortable('serialize');
                    // pass the data back to your server for processing

            $(function () {
                // this initializes the dialog (and uses some common options that I do)
                $("#dialog").dialog({ autoOpen: false, modal: true, show: "blind", hide: "blind" });

                // next add the onclick handler
                $("#contactUs").click(function () {
                    return false;
    <form id="form1" runat="server">
    <div runat="server" id="sortable"> </div>
    <div runat="server" id="data" class="data">
        <asp:Label ID="dataInnerHTML" runat="server" />
    <asp:Button ID="btnGetDivInnerHTML" runat="server" OnClick="btnGetDivInnerHTML_Click" />
    <a href="#" id="contactUs" runat="server">Contact Us</a>
    <div id="dialog" title="Contact form">
            appear now</p>

Open in new window

        protected void btnGetDivInnerHTML_Click(object sender, EventArgs e)
            string strInnerHTML = "";
            string[] strText = new string[5];

            //dataInnerHTML.Text = dataInnerHTML.Text + "_VICTORY";

            strText[0] = dataInnerHTML.Text;

Open in new window

Michael SterlingWeb Applications DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mihai StancescuSoftware Engineer Commented:

What type of data is serialized when passed to the server?

On the server you can deserialize the string data using new System.Web.Script.Serialization.JavaScriptSerializer().Deserialize<customclass>(dataInnerHTML.Text);

Hope this helps,
Michael SterlingWeb Applications DeveloperAuthor Commented:
@Mihai Stancescu: What is the "<customclass>" part of that call? What goes there?
Michael SterlingWeb Applications DeveloperAuthor Commented:
I was able to solve this with help elsewhere. See thread ID: 28640818. Thanks.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Michael SterlingWeb Applications DeveloperAuthor Commented:
I was able to solve this elsewhere. See thread ID: 28640818.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.