Sample source code for http://demos.telerik.com/kendo-ui/bootstrap/

5 posts, 0 answers
  1. John
    John avatar
    3 posts
    Member since:
    Feb 2014

    Posted 21 Mar 2014 Link to this post

    I am new to the Kendo UI, and I am trying to use Kendo UI with my ASP.NET MVC 5 project, and would like to incorporate different Bootstrap template into my page layout.

    I have seen the demo at the following URL:
    http://demos.telerik.com/kendo-ui/bootstrap/

    And, I am trying to find the source code for this demo to see if I can use it as a template in my ASP.NET MVC 5 project.  Does anyone know where can I find this sample source code?  

    Thank you very much.

    Best Regards,

    John Jiang
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 24 Mar 2014 Link to this post

    Hello John,

    For your convenience I am attaching the MVC source code of the Bootstrapper demo to this forum post. You can review the implementation for more details.

    Regards,
    Sebastian
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. John
    John avatar
    3 posts
    Member since:
    Feb 2014

    Posted 24 Mar 2014 in reply to Sebastian Link to this post

    Hi Sebastian,

    Thank you so much for the source code.

    I encountered the following compiler error while viewing the page after incorporated this cshtml file into the Kendo.Mvc.Example project:
    Compiler Error Message: CS0234: The type or namespace name 'Models' does not exist in the namespace 'Kendo' (are you missing an assembly reference?)

    And, I am unable to find the Kendo.Models name space in the Kendo.Mvc.dll file.

    Please advise.  Thank you very much.

    Best Regards,

    John Jiang







  5. John
    John avatar
    3 posts
    Member since:
    Feb 2014

    Posted 24 Mar 2014 in reply to John Link to this post

    The screen shot is attached here.
  6. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 25 Mar 2014 Link to this post

    Hi again John,

    I apologize for the omission in my previous response - you will actually need some additional resources (loaded in the head section of the page) + assembly to run the example. I pinned them in the attachment which is included in this message.

    You will also need to remove the following lines from the head section of the page:

    @if (ViewBag.Debug) {
            <script src="@Url.Content("~/content/shared/js/less.js")"></script>
            }
     
            <script src="@Url.Content("~/content/shared/js/examples.js")"></script>

    Kind regards,
    Sebastian
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
Back to Top
UI for ASP.NET MVC is VS 2017 Ready