This is a migrated thread and some comments may be shown as answers.

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

4 Answers 309 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 21 Mar 2014, 07:45 PM
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

4 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 24 Mar 2014, 10:07 AM
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.

 
0
John
Top achievements
Rank 1
answered on 24 Mar 2014, 02:29 PM
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







0
John
Top achievements
Rank 1
answered on 24 Mar 2014, 02:31 PM
The screen shot is attached here.
0
Sebastian
Telerik team
answered on 25 Mar 2014, 01:39 PM
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.

 
Tags
General Discussions
Asked by
John
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
John
Top achievements
Rank 1
Share this question
or