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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:05:31+00:00 2026-05-25T16:05:31+00:00

Years ago (.net 2005, C#) I used to make an AJAX call via javascript

  • 0

Years ago (.net 2005, C#) I used to make an AJAX call via javascript to an HTTPHandler (controller), and have it call it call business objects that returned XML (model). This XML was parsed through a generic routine using an XSLT (view) then returned as HTML using the Response.Write method where it was dynamically rendered on the master page using Javascript.

Using MVC2 I see how the controller and the model are the same but I can’t see how to use an Xslt file as the view and have a generic transformation process render my html in a clean fashion without the overhead of using an aspx/ascx with System.Web.UI.Webcontrols.Xml object. This seems neither generic nor lightweight. Is there a way to do this? Ideally I would love to write a generic View method where I would pass the view name and the xml and get the two merged via 1 single transformation pipeline.

Thanks,

  • 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-25T16:05:31+00:00Added an answer on May 25, 2026 at 4:05 pm

    You probably want to have a custom view rendering engine registered to do the same.. You could use the following links as reference:

    http://bradwilson.typepad.com/blog/2008/08/partial-renderi.html
    and
    http://www.singingeels.com/Articles/Creating_a_Custom_View_Engine_in_ASPNET_MVC.aspx

    Also there is an open source project out there that does the same for you.. here is the link

    http://mvccontrib.codeplex.com/Wiki/View.aspx?title=XSLT

    Also I want to add functional language style like XSLT makes flow control difficult..

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

Sidebar

Related Questions

Since beginning to use VB.NET some years ago I have become slowly familiar with
A couple years ago I wrote a C#.NET program that used Microsoft ACE and
i have a asp.net web application written about 2 years ago .It does not
A few years ago I used the Hibernate ORM for mapping database data to
I have created a site twoo years ago in php and now converting it
I have a contact DB that I created 3 years ago in MS ACCESS.
Some years ago I used to program in VB6, I really liked it because
Progress Version: 10.0B05.32 A few years ago, we used the Progress Proxy Generator to
I've had developed a website many years ago using .NET 1 and SQL 2000!
I inherited an ASP.NET 1.1 application that was written about 8 years ago, 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.