diff --git a/ej2-asp-core-mvc/datepicker/EJ2_ASP.MVC/timezone-behavior.md b/ej2-asp-core-mvc/datepicker/EJ2_ASP.MVC/timezone-behavior.md index 6af628bff1..51d6078b84 100644 --- a/ej2-asp-core-mvc/datepicker/EJ2_ASP.MVC/timezone-behavior.md +++ b/ej2-asp-core-mvc/datepicker/EJ2_ASP.MVC/timezone-behavior.md @@ -26,15 +26,10 @@ The `serverTimezoneOffset` property allows you to specify the server's time zone N> The `serverTimezoneOffset` property is applicable **only for pre-bound values** (i.e., values set during initialization or data binding). It does **not affect** values selected by the user during runtime. -{% if page.publishingplatform == "aspnet-core" %} - -{% tabs %} -{% include code-snippet/datepicker/timezone-cs1/tagHelper %} -{% endtabs %} - -{% elsif page.publishingplatform == "aspnet-mvc" %} +The following example demonstrates how to configure the serverTimezoneOffset property {% tabs %} +{% highlight cshtml tabtitle="CSHTML" %} {% include code-snippet/datepicker/timezone-cs1/razor %} -{% endtabs %} -{% endif %} \ No newline at end of file +{% endhighlight %} +{% endtabs %} \ No newline at end of file diff --git a/ej2-asp-core-mvc/datepicker/EJ2_ASP.NETCORE/timezone-behavior.md b/ej2-asp-core-mvc/datepicker/EJ2_ASP.NETCORE/timezone-behavior.md index 361bfa7193..59d74e8696 100644 --- a/ej2-asp-core-mvc/datepicker/EJ2_ASP.NETCORE/timezone-behavior.md +++ b/ej2-asp-core-mvc/datepicker/EJ2_ASP.NETCORE/timezone-behavior.md @@ -26,15 +26,10 @@ The `serverTimezoneOffset` property allows you to specify the server's time zone N> The `serverTimezoneOffset` property is applicable **only for pre-bound values** (i.e., values set during initialization or data binding). It does **not affect** values selected by the user during runtime. -{% if page.publishingplatform == "aspnet-core" %} +The following example demonstrates how to configure the serverTimezoneOffset property {% tabs %} +{% highlight cshtml tabtitle="CSHTML" %} {% include code-snippet/datepicker/timezone-cs1/tagHelper %} +{% endhighlight %} {% endtabs %} - -{% elsif page.publishingplatform == "aspnet-mvc" %} - -{% tabs %} -{% include code-snippet/datepicker/timezone-cs1/razor %} -{% endtabs %} -{% endif %} diff --git a/ej2-asp-core-mvc/datetimepicker/EJ2_ASP.MVC/timezone-behavior.md b/ej2-asp-core-mvc/datetimepicker/EJ2_ASP.MVC/timezone-behavior.md index 6cc3d1c61e..f89a699b60 100644 --- a/ej2-asp-core-mvc/datetimepicker/EJ2_ASP.MVC/timezone-behavior.md +++ b/ej2-asp-core-mvc/datetimepicker/EJ2_ASP.MVC/timezone-behavior.md @@ -26,15 +26,10 @@ The `serverTimezoneOffset` property allows you to specify the server's time zone N> The `serverTimezoneOffset` property is applicable **only for pre-bound values** (i.e., values set during initialization or data binding). It does **not affect** values selected by the user during runtime. -{% if page.publishingplatform == "aspnet-core" %} - -{% tabs %} -{% include code-snippet/datetimepicker/timezone-cs1/tagHelper %} -{% endtabs %} - -{% elsif page.publishingplatform == "aspnet-mvc" %} +The following example demonstrates how to configure the serverTimezoneOffset property {% tabs %} +{% highlight cshtml tabtitle="CSHTML" %} {% include code-snippet/datetimepicker/timezone-cs1/razor %} -{% endtabs %} -{% endif %} +{% endhighlight %} +{% endtabs %} \ No newline at end of file diff --git a/ej2-asp-core-mvc/datetimepicker/EJ2_ASP.NETCORE/timezone-behavior.md b/ej2-asp-core-mvc/datetimepicker/EJ2_ASP.NETCORE/timezone-behavior.md index 828c29913e..c41cf8cf1b 100644 --- a/ej2-asp-core-mvc/datetimepicker/EJ2_ASP.NETCORE/timezone-behavior.md +++ b/ej2-asp-core-mvc/datetimepicker/EJ2_ASP.NETCORE/timezone-behavior.md @@ -26,15 +26,10 @@ The `serverTimezoneOffset` property allows you to specify the server's time zone N> The `serverTimezoneOffset` property is applicable **only for pre-bound values** (i.e., values set during initialization or data binding). It does **not affect** values selected by the user during runtime. -{% if page.publishingplatform == "aspnet-core" %} +The following example demonstrates how to configure the serverTimezoneOffset property {% tabs %} +{% highlight cshtml tabtitle="CSHTML" %} {% include code-snippet/datetimepicker/timezone-cs1/tagHelper %} -{% endtabs %} - -{% elsif page.publishingplatform == "aspnet-mvc" %} - -{% tabs %} -{% include code-snippet/datetimepicker/timezone-cs1/razor %} -{% endtabs %} -{% endif %} \ No newline at end of file +{% endhighlight %} +{% endtabs %} \ No newline at end of file