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

The Archive Base Latest Questions

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

I really like Spark, but we’ve already got a big investment in webforms based

  • 0

I really like Spark, but we’ve already got a big investment in webforms based views. I’d like to start using Spark without having to convert all my existing views up front.

The only problem I have with getting Spark working side by side with webforms is the master pages. Currenly I have spark layouts that are 1 for 1 duplicates of the master pages.

This amount of duplication isn’t acceptable. I’ve already been bitten by it several times.

Is there any way to get spark views to work within a webforms master? Or for a webforms view to work within a spark layout? Either would solve the duplication problem.

  • 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-13T13:00:27+00:00Added an answer on May 13, 2026 at 1:00 pm

    The way I’ve accomplished this was to move most of the content of my master page into partial views, and then have two master pages: Foo.Master, and Foo.Master.spark that both use the same Html.RenderPartial() calls. Both masters have the same named content areas. This lets me use either engine for a given view and makes the duplication as small as possible.

    An individual view engine is expected to handle both its master and view. The call to IViewEngine is:

    FindView(System.Web.Mvc.ControllerContext controllerContext, string viewName, string masterName, bool useCache)
    

    It does not render the master separate from the view.

    Spark uses this to compile the master into the view and other tricks with its multi-pass rendering.

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

Sidebar

Related Questions

I'd really like to handle this without monkey-patching but I haven't been able to
I'm using a spark combobox (which I really like). What I'd like to do
I really like DevX components, but they are pretty expensive, maybe anyone knows free
I really like Xml for saving data, but when does sqlite/database become the better
I really like how Consolas looks with ClearType enabled but unfortunately it makes everything
I really like the coding speed that VB.NET provides, but I don't like the
I really like the zx key combination in Vim (it folds everything but the
I really like IDEA's code formatting, but how do I get it to reformat
I really like the fact that Microsoft has taken a commitment to bring MVC
I really like the way gmail has the archive system implemented. I can archive

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.