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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:23:21+00:00 2026-05-13T12:23:21+00:00

I got Application.spark and home.spark views. If layout has: <span><use content=view /></span> And home

  • 0

I got Application.spark and home.spark views.

If layout has:

<span><use content="view" /></span>

And home has:

#RenderPartial("partial")

And partial has:

<div>test</div>    

Then rendered output will be:

<div>test</div><span></span>

Any ideas what’s wrong?

Using this spark version with updated System.Web.Mvc assembly.


It seems that

#Html.RenderPartial(...)

Makes problems.


—— Test started: Assembly: Spark.Web.Mvc2.Tests.dll ——

TestCase ‘Spark.Web.Mvc.Tests.SparkViewFactoryTester.FuturesRenderActionCanRunThroughItsProcess’
not executed: Futures assembly Microsoft.Web.Mvc not referenced by ASP.NET MVC 2 preview build

TestCase ‘Spark.Web.Mvc.Tests.SparkViewFactoryTester.HtmlHelperWorksOnItsOwn’
failed:
Expected: “hello”
But was: <hello>
D:\Resources\CodeLibraries\Spark\subdigital-spark-b1ee7ee\src\Spark.Web.Mvc2.Tests\SparkViewFactoryTester.cs(245,0): at Spark.Web.Mvc.Tests.SparkViewFactoryTester.HtmlHelperWorksOnItsOwn()

TestCase ‘Spark.Web.Mvc.Tests.SparkViewFactoryTester.RenderPartialOrderCorrect’
failed:
Looking for

two

Expected: greater than or equal to 0
But was: -1
D:\Resources\CodeLibraries\Spark\subdigital-spark-b1ee7ee\src\Spark.Web.Mvc2.Tests\SparkViewFactoryTester.cs(155,0): at Spark.Web.Mvc.Tests.SparkViewFactoryTester.ContainsInOrder(String content, String[] values)
D:\Resources\CodeLibraries\Spark\subdigital-spark-b1ee7ee\src\Spark.Web.Mvc2.Tests\SparkViewFactoryTester.cs(347,0): at Spark.Web.Mvc.Tests.SparkViewFactoryTester.RenderPartialOrderCorrect()

68 passed, 2 failed, 1 skipped, took 67,59 seconds (NUnit 2.4).

This test fails

    [Test]
    public void RenderPartialOrderCorrect()
    {

        FindViewAndRender("renderpartial-ordercorrect", "ajax");
        //mocks.VerifyAll();

        var content = output.ToString();
        ContainsInOrder(content,
                        "<p>one</p>",
                        "<p>two</p>",
                        "<p>three</p>");
    }
  • 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-13T12:23:21+00:00Added an answer on May 13, 2026 at 12:23 pm

    Temporary adding viewContextWrapper seems like a solution.


    Yap… it’s cool now. Including intellisense.

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

Sidebar

Related Questions

I've got an application we use at our company. All of our Windows XP
I got a application where I use DateTime.MaxValue to indicate that a entry have
Got an application running on AppEngine. Has been running fine for 2 years. Checked
Got an application (C# WPF) that needs to call home and get updated stuff
I got a application that has to store a lot of sparse data. All
I've got application settings working just fine. However, I'd like to be able to
So I've got an application whose window behavior I would like to behave more
I've got an application that is very graphics intensive and built on DirectX and
I've got an application that's using string.compare(string,string) to sort some values. The thing I
I've got an application that just shipped. Since I wrote it, I've learned about

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.