Kendo MVC with MVC3

4 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    134 posts
    Member since:
    Sep 2007

    Posted 29 Oct 2012 Link to this post

    Hi,

    Can I use the Kendo MVC framework with a MVC3/razor project on visual studio 2010 Sp1? Also what database needs to be on SQL Server to make the localhost Kendo demos work.  It keeps failing out trying to connect. Is it looking for an advetureworks database?  where can I get one?

    I'm presently avoiding upgrading to Visual Studio 2012 cause I don't like the look of it and MS are still deciding if they;re going to skin all the icons.

    thanks

    Jonathan
  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 01 Nov 2012 Link to this post

    Hi Jonathan, 


    Please find the answers of your questions below:

    1. Can I use the Kendo MVC framework with a MVC3/razor project on visual studio 2010 Sp1?  - yes, MVC3/Razor and VisualStudio 2010 Sp1 are supported.
    2. Also what database needs to be on SQL Server to make the localhost Kendo demos work. - to be able to run the KendoUI for ASP.NET MVC offline demos you should have installed the SQLExpress server with instance name SQLEXPRESS. The database is included in the project.

    Kind Regards,
    Vladimir Iliev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Jonathan
    Jonathan avatar
    134 posts
    Member since:
    Sep 2007

    Posted 01 Nov 2012 Link to this post

    Hi Vladimir.

    Thanks for you answer.  I already have SQL Server 2008 R2 and SQL Server 2012 installed.  Is there a way to create the database without having to install the sqlexpress instance?  Also I noticed that installing the Kendo UI extensions manager causes Visual studio to crash when opening a project.  When I remove the kendo Extension manager or start is safe mode everything is good.  Will here be a patch for that soon?

    Cheers,

    Jonathan
  5. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 06 Nov 2012 Link to this post

    Hi Jonathan,


    Basically to change the SQL server instance where the database will be attached, you should edit the connection strings in the master Web.config file:

    <connectionStrings>
        <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"
          providerName="System.Data.SqlClient" />
        <add name="NorthwindConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Northwind.mdf;Integrated Security=True;User Instance=True"
          providerName="System.Data.SqlClient" />
      </connectionStrings>


    Kind Regards,
    Vladimir Iliev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
UI for ASP.NET MVC is VS 2017 Ready