All Posts


This post explains how to create a controller rendering and related items like layout, templates, presentation details in Sitecore MVC with a simple example.

4 years ago by Pranay

This error I came across while making an ajax call using jquery ajax function. After a long analysis I was able to figure it out, so thought of sharing with everyone.

4 years ago by Pranay


For email address validation there is Official Standard: RFC 5322 but the regex to match this standard is very complex and would not be suitable for implementation in our applications, but the below regex is the most appropriate to be used in our applications. I didn’t find a bug till now.


Rendering parameters can be used to pass parameters to sitecore presentation components. They are used to control the presentation of a dynamic component from page editor. In the example below, I will demonstrate on how to create a rendering parameters and how to use them in the presentation components. Also on how to change parameter values from the page editor.

4 years ago by Pranay

Yes, we can pass a sitecore populated view to a .net razor view in Sitecore with MVC. Here, I will go through a simple example on how to display social links to a website whose link name and its URL is provided at sitecore content item but needs to be rendered inside a razor view (.cshtml file).

4 years ago by Pranay

Problem: To create an MVC 'View' bound with a 'Model' but without creating any controller in Sitecore MVC 7.2.

4 years ago by Pranay

Here we upload the CSS files to sitecore media library and then read those CSS files in the code. This approach is suggested only when you want to allow a sitecore user to edit CSS classes. The same applies for javascript files too.

4 years ago by Pranay

By default sitecore provides an admin user with userid ‘Admin’ and password ‘b’. However additional users can be created in sitecore by following below steps.