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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:48:05+00:00 2026-05-13T08:48:05+00:00

I am developing an asp.net mvc web application that makes much use of jquery

  • 0

I am developing an asp.net mvc web application that makes much use of jquery and the progressive enhancement principle.

I have a requirement for a complex control that needs access to .net code in order to function (using reflection across numerous classes). The choices were to duplicate this code in javascript (auto-generate if possible), or use silverlight. I am going with the silverlight option (at least for V1).

The pre-silverlight version of my control starts life as some simple html elements that are modified by jquery into the richer version. However the examples I’ve seen of silverlight controls all call back to the server once the page has loaded to get their data. Or, if this data is simple, it uses the initParams parameter.

My initialisation data is much more complicated that I think initParams can work with and I don’t want to call back to the server as I already have this data.

So what are my best options?

  • 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-13T08:48:06+00:00Added an answer on May 13, 2026 at 8:48 am

    You can put whatever you want into initParams. It is just a string, but if you have a complex object you want to pass to the silverlight control then you can serialize the object into a string, whack it into initParams, and then deserialize it within the silverlight control.

    Alternatively, you do know that you can communicate from javascript into managed code in the silverlight control (the functions have to be marked with the ScriptableMember attribute)?

    Not to mention that you shouldn’t be concerned with calls from the silverlight control back to a WCF or asmx webservice – in my experience the calls are very fast unless you are transferring large quantities of data.

    • 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 MVC Web Application that I am developing. I have TeamCity
I am developing an ASP.Net MVC 3 Web application using Razor Views. I have
I'm developing a web application using ASP .NET MVC 1.0 and jQuery (including the
For the web application (ASP.NET MVC) I'm currently developing, we have the following architecture
Im developing a web application in asp.net mvc (c#) that has a form and
I am developing an ASP.Net MVC 3 web application. I have a ViewModel public
Just a general question, I'm developing an ASP.NET MVC 3 web application that reads
I am developing an ASP.Net MVC 3 Web application with Entity Framework 4.1 and
I am developing an ASP.Net MVC 3 Web application using Entity Framework 4.1 and
I am developing an ASP.Net MVC 3 Web application using Entity Framework 4.1, however,

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.