Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Html Helper missing RenderPartial #3705

Closed
mikes-gh opened this issue Dec 8, 2015 · 4 comments
Closed

Html Helper missing RenderPartial #3705

mikes-gh opened this issue Dec 8, 2015 · 4 comments
Assignees
Milestone

Comments

@mikes-gh
Copy link

mikes-gh commented Dec 8, 2015

Mvc/src/Microsoft.AspNet.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs

Does not contain RenderPartial.

I was upgrading my mvc5 project to mvc6 and came across this issue.

In the above file we have

Partial
PartialAsync
RenderPartialAsync

So I dont think its by design since if render methods were removed/depreciated I would also expect RenderPartialAsyc to be missing.

Even if we should be using a new methodology eg @await Html.PartialAsync ? its going to cause pain for upgraders. What is the official line. I am quite happy to find and replace but it seems unclear to me which way to go,

Thanks

Mike

@danroth27
Copy link
Member

@rynowak @dougbu Do you guys remember why we don't have RenderPartial anymore?

@pranavkm
Copy link
Contributor

pranavkm commented Dec 8, 2015

We have the synchronous version of other Html \ Razor APIs, there's no reason for this one to not exist.

@Eilon
Copy link
Member

Eilon commented Dec 15, 2015

Done?

@javiercn
Copy link
Member

@Eilon Yes, I just changed the tag

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants