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 not deleted user 1000

For questions relating to ASP.NET MVC implementations. The ASP.NET MVC is a web application framework developed by Microsoft, which implements the model–view–controller pattern.

1 vote
Accepted

How to show three different Tabs rendering by using Sitecore in ASP.NET MVC

This doesn't really rely on the use of Sitecore MVC or using a Controller Rendering. …
Dylan Young's user avatar
  • 4,314
4 votes

How do I set up my Sitecore MVC Post form and receive a confirmation page

I think your main problem is that you have this: <form class="content-form"> @using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post)) { …
Dylan Young's user avatar
  • 4,314
1 vote

Items loaded by ajax call are not editable in experience editor

Another option you could do, is handle the experience editor interface differently than the rest of the page. You can get knowledge from the page by using the page mode detection methods, which can b …
Dylan Young's user avatar
  • 4,314
1 vote

Why can't I use MVC Experience Editor

So it sounds like you might be having a couple of issues. For the issue with weird mark up refer to this article: https://kb.sitecore.net/articles/286042 To sum that issue up, if you have jquery on …
Dylan Young's user avatar
  • 4,314
1 vote
Accepted

Handling query strings from external sources

You could probably place logic to handle this in a custom pipeline that runs before it resolves the item, which can parse the values of the Querystring and redirect to the appropriate page. An exampl …
Dylan Young's user avatar
  • 4,314
1 vote

Placeholders defined in MVC /Views/layout.cshtml vs. placeholders defined from templates => ...

The controls tab should show renderings (which are separate groupings of logic, which can related more to a partial view in .net MVC). …
Dylan Young's user avatar
  • 4,314
3 votes

Why is my Ajax url found when I test in preview mode, but not when I bring up the page in a ...

patch config, something like this: <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <pipelines> <initialize> <processor type="mvc.Pipelines.LoadRoutes,mvc … This is a helpful resource on the topic: https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/use_mvc_routing I have added the following to the RouteConfig.cs …
Dylan Young's user avatar
  • 4,314
8 votes
3 answers
6k views

How to Render Javascript per page or component?

So I have renderings that depend on specific CSS or specifically Javascript. Do you load the same Javascript on all pages even if the Javascript is for a specific page/rendering, or do you pull in th …
Dylan Young's user avatar
  • 4,314