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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:13:51+00:00 2026-05-12T16:13:51+00:00

I never worked with Silverlight before, but I have the requirement to build a

  • 0

I never worked with Silverlight before, but I have the requirement to build a fairly dynamic/interactive form to fill out. That leaves me the choice between two technologies I have not much experience with: JavaScript/jQuery or Silverlight. (edit: The application is internal, I can safely assume Silverlight to be available)

At the end, I need to submit some data back to the server. I know that with a normal HTTP Form in ASP.net I can have a Button and an onClick Event – standard stuff. The JavaScript approach would include some DOM Manipulation to dynamically add/remove fields, but when I click on the button the current DOM gets served to my ASP.net Application and I process as normal. It is still a normal WebForms application.

But how would the interaction work with Silverlight? Can I have a Button in a Silverlight Application that essentially POSTs an HTTP Form? Or would I use a Web Service for this? It would be great if the Silverlight Application can get some data back from the server, so I guess it’s a web service then?

  • 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-12T16:13:51+00:00Added an answer on May 12, 2026 at 4:13 pm

    I suggest that you try out Silverlight to get a feel for how powerful that environment is. Personally I think that jQuery is nice, but you get a much more controlled and rich environment if you use Silverlight.

    1. Assuming you are using Visual Studio 2008 download Microsoft® Silverlight™ 3 Tools for Visual Studio 2008 SP1. This will enable you to create Silverlight projects in Visual Studio. You can also use Expression Blend to author Silverlight applications, but as long as you are comfortable writing XAML without a visual designer you might find Visual Studio a bit more mature from a developer standpoint.
    2. If you want to you can try Microsoft .NET RIA Services July 2009 Preview. It is a very powerful environment enabling your Silverlight application to seamlessly work with your data-model on your ASP.NET server. In particular there is very good integration with LINQ to SQL and the ADO.NET Entity Framework. However, if you are new to Silverlight you might find the learning curve a bit steep. You will have to load query operations in order to execute them asynchronously etc. Have a look at the Word document found at the download location to get you started.
    3. As others have suggested you can simply hide an HTML form in the web page hosting the Silverlight control and then use the HtmlPage object from within Silverlight to access the browser DOM to submit your form.
    4. If you want to do POST operations from within Silverlight without using a web service framework like .NET RIA Services or WCF you can use a WebClient or HttpWebRequest object. Silverlight 3 has two HTTP stacks and the default is to use the browser stack ensuring that browser cookies (e.g. forms authentication cookies) are used in your request.
    5. Your form has a complex interaction logic and I strongly suggest that you have a look at the MVVM pattern. In Silverlight you create a view-model containing all relevant data for the form. Relevant data not only include the values of the fields in the form but also information about which controls are enabled, selection information if that applies etc. You then data-bind the form (view) to the view-model and by implementing INotifyPropertyChanged in the view-model you get a complex interaction logic if not for free at least in a way that is reasonable easy to handle as a developer. The partial client-side classes generated for you in .NET RIA Services are particular good candidates for view-models making it straightforward to apply the MVVM pattern within that framework.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I might be an exception here but I have never worked on a team
For years I have exclusively worked with WPF and never touched Silverlight. Is there
I have never worked on programming languages before. I am learning C and unix
I've never worked with a language that didn't provide for some form of memory
I have never worked with web services and rails, and obviously this is something
So I've never worked with stored procedures and have not a whole lot of
Never used a cache like this before. The problem is that I want to
I never actually thought I'd run into speed-issues with python, but I have. I'm
Using CRM 4, I have an entity form that contains a tab with an
I've never worked on a professional project with a team, as I'm still in

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.