Progress bar to bootstrap carousel. Its a Carousel with indicators, controls and time bar. Pause on hover. Errors fixed.
Bugs fixed: progress bar 10% issue, now works perfect; changing slide more than 1 time;
| // Copyright (c) Microsoft Corporation. All rights reserved. | |
| // Licensed under the MIT License. | |
| using System; | |
| using System.IO; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace ConsoleApp1 | |
| { |
| using System; | |
| using Telerik.Sitefinity.News.Model; | |
| using Telerik.Sitefinity.Services; | |
| namespace Telerik.Sitefinity.Documentation.CodeSnippets.DevGuide.HowTo.ContentLocationsAPI | |
| { | |
| public partial class ContentLocationsAPI | |
| { | |
| public static string GetItemDefaultLocationById(Guid itemId, string itemProvider = null) | |
| { |
| using Telerik.Sitefinity.News.Model; | |
| using Telerik.Sitefinity.Services; | |
| namespace Telerik.Sitefinity.Documentation.CodeSnippets.DevGuide.HowTo.ContentLocationsAPI | |
| { | |
| public partial class ContentLocationsAPI | |
| { | |
| public static string GetItemDefaultLocation(NewsItem item) | |
| { | |
| //first we need to get an instance of the location service |