Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 73

For questions related to Sitecore using .NET Webforms. This tag is not meant for general .NET Webforms questions.

3 votes

Sitecore 8 Webforms - Calling RenderControl() on Sublayout returns null

While this is an example of rendering a Controller Rendering, I believe it will help you - the basic principles should be the same. Specifically I think, entering a RenderingContext is what you might …
Mark Cassidy's user avatar
  • 25.4k
4 votes

How to render a web form Sublayout in MVC layout?

You can mix and match MVC and WebForms in the same project, but only on a page-by-page basis. So either the page executes as Webforms (with Webforms components) or as MVC with MVC components. … One example here: https://horizontalintegration.blog/2015/09/15/mixing-sublayout-with-rendering-webforms-with-mvc-request/ …
Mark Cassidy's user avatar
  • 25.4k
1 vote

How can I get the datasource of a personalized sublayout (webforms)?

Webforms, it's been a while. var renderingReference = Sitecore.Context.Page.GetRenderingReference(this.Parent); var datasourcePath = renderingReference.Settings.DataSource; As I recall, this is how you … I didn't just pick this out of my personal memory space, I looked around a bit for a refresher ;-) Source: https://tangenttechnologies.ca/blog/sitecore-webforms-datasources-and-rendering-parameters/ …
Mark Cassidy's user avatar
  • 25.4k